| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Merge ConstantIntegral and ConstantBool into ConstantInt.
Remove ConstantIntegral and ConstantBool from LLVM.
llvm-svn: 33073
|
| |
|
|
| |
llvm-svn: 33071
|
| |
|
|
| |
llvm-svn: 33069
|
| |
|
|
|
|
| |
local and global values.
llvm-svn: 33068
|
| |
|
|
| |
llvm-svn: 33065
|
| |
|
|
| |
llvm-svn: 33063
|
| |
|
|
|
|
|
|
|
|
| |
Passes.
Robustify PMStack.push()
Add dump() routine to print PMStack.
llvm-svn: 33062
|
| |
|
|
|
|
|
|
| |
in getLocalSlot fires on many, many values. It broke nearly all of
the dejagnu tests. Simple changes to the assertion did not fix the
problem.
llvm-svn: 33054
|
| |
|
|
|
|
|
|
| |
getGlobalSlot.
No functionality change.
llvm-svn: 33053
|
| |
|
|
| |
llvm-svn: 33052
|
| |
|
|
| |
llvm-svn: 33038
|
| |
|
|
|
|
| |
never be inserted!
llvm-svn: 33037
|
| |
|
|
|
|
| |
values
llvm-svn: 33036
|
| |
|
|
|
|
| |
getOrCreateSlot no longer gets the slot, rename it to CreateSlot.
llvm-svn: 33035
|
| |
|
|
|
|
| |
into comparisons of two FunctionTypes. Make it so.
llvm-svn: 33020
|
| |
|
|
|
|
|
|
| |
Eventually, Top level pass managers will use this to keep track of
active pass managers. Eass pass will also learn how to find appropriate
manager from these managers stack.
llvm-svn: 33018
|
| |
|
|
| |
llvm-svn: 33016
|
| |
|
|
|
|
| |
to resolve PR1088, and to help PR411.
llvm-svn: 32988
|
| |
|
|
|
|
|
|
|
| |
Take an incremental step towards type plane elimination. This change
separates types from values in the symbol tables by finally making use
of the TypeSymbolTable class. This yields more natural interfaces for
dealing with types and unclutters the SymbolTable class.
llvm-svn: 32956
|
| |
|
|
|
|
| |
2) Rename AnalysisResolver_New as AnalysisResolver
llvm-svn: 32938
|
| |
|
|
| |
llvm-svn: 32928
|
| |
|
|
| |
llvm-svn: 32927
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. The @ sign is no longer necessary.
2. We now support "function attributes" as parameter attribute 0.
3. Instead of locating the return type attributes after the type of a
function result, they are now located after the function header's
closing paranthesis and before any alignment or section options.
4. The way has been prepared for a new "noreturn" function attribute but
there is no support for recognizing it in the lexer nor doing anything
with it if it does get set.
5. The FunctionType::getParamAttrsText method now has support for
returning multiple attributes. This required a change in its interface.
I'm unhappy that this change leads to 6 new shift/reduce conflicts, but
in each case bison's decision to choose the shift is correct so there
shouldn't be any damage from these conflicts.
llvm-svn: 32904
|
| |
|
|
| |
llvm-svn: 32865
|
| |
|
|
|
|
| |
const and remove the ugly mutator methods.
llvm-svn: 32860
|
| |
|
|
| |
llvm-svn: 32859
|
| |
|
|
|
|
| |
shift results.
llvm-svn: 32857
|
| |
|
|
| |
llvm-svn: 32856
|
| |
|
|
|
|
|
| |
The lookup of parameter attributes was offset by two because of the
additional operands in an invoke instruction.
llvm-svn: 32801
|
| |
|
|
| |
llvm-svn: 32798
|
| |
|
|
|
|
| |
index passed in was out of range for the number of parameter attributes set.
llvm-svn: 32794
|
| |
|
|
|
|
| |
Change signed integer type names to unsigned equivalents.
llvm-svn: 32780
|
| |
|
|
|
|
| |
Implement signless integer types and FunctionType parameter attributes.
llvm-svn: 32779
|
| |
|
|
|
|
|
| |
* Change integer type name from signed to signless
* Implement printing of FunctionType parameter attributes.
llvm-svn: 32778
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove all grammar conflicts from assembly parsing. This change involves:
1. Making the "type" keyword not a primitive type (removes several
reduce/reduce conflicts)
2. Being more specific about which linkage types are allowed for functions
and global variables. In particular "appending" can no longer be
specified for a function. A differentiation was made between the various
internal and external linkage types.
3. Introduced the "define" keyword which is now required when defining a
function. This disambiguates several cases where a named function return
type could get confused with the definition of a new type. Using the
keyword eliminates all shift/reduce conflicts and the remaining
reduce/reduce conflicts.
These changes are necessary to implement the function parameter attributes
that will be introduced soon. Adding the function parameter attributes in
the presence of the shift/reduce and reduce/reduce conflicts led to severe
ambiguities that caused the parser to report syntax errors that needed to
be resolved. This patch resolves them.
llvm-svn: 32770
|
| |
|
|
|
|
|
|
|
|
| |
1. Make the arguments const like the other ConstantFold* functions.
2. Clean up evaluateFCmpRelation so it makes sense for floating point.
3. Implement the use of evaluateFCmpRelation to fold floating point CEs
4. Shorten a variable name so more things fit on one line.
5. Fix various comments.
llvm-svn: 32759
|
| |
|
|
| |
llvm-svn: 32758
|
| |
|
|
| |
llvm-svn: 32752
|
| |
|
|
|
|
|
|
| |
This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.
llvm-svn: 32751
|
| |
|
|
| |
llvm-svn: 32748
|
| |
|
|
|
|
|
|
|
| |
pass managers. Otherwise, stale available analysis info, from the managers not
yet run, may cause pass manager to take wrong turn.
This fixes CBE test failures reported by nightly tester.
llvm-svn: 32726
|
| |
|
|
| |
llvm-svn: 32722
|
| |
|
|
|
|
| |
invoke-1.ll
llvm-svn: 32718
|
| |
|
|
|
|
|
|
| |
values regardless of the signedness of the constant's type, it is okay to
always make the AsmWriter.cpp print constant ints as signed values. The
AsmParser will automatically handle things like: uint -1 as a result.
llvm-svn: 32686
|
| |
|
|
|
|
| |
in place to handle this correctly.
llvm-svn: 32684
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
s/ModulePassManager/MPPassManager/g
s/FunctionPassManagerImpl_New/FunctionPassManagerImpl/g
s/PassManagerImpl_New/PassManagerImpl/g
Introduce FPPassManager to manage function passes and
BBPassManagers.
Now FunctionPassManagerImpl is an implementation class
used by externally visible FunctionPassManager to manage
FPPassManagers.
Module pass manager (MPPassManager) now manages FPPassManagers
and ModulePasses.
llvm-svn: 32679
|
| |
|
|
| |
llvm-svn: 32672
|
| |
|
|
|
|
|
| |
ConstRules. Remove the casting rules from ConstRules and subclasses. This
cleans up ConstantFolding significantly. Passes all tests.
llvm-svn: 32671
|
| |
|
|
|
|
|
| |
still check the validity of signed values an overload to isValueValidForType
was added to allow passing in an int64_t to check.
llvm-svn: 32663
|
| |
|
|
| |
llvm-svn: 32660
|