- Jan 12, 2007
-
-
Chris Lattner authored
llvm-svn: 33123
-
Devang Patel authored
llvm-svn: 33121
-
Reid Spencer authored
llvm-svn: 33117
-
Reid Spencer authored
llvm-svn: 33116
-
Reid Spencer authored
llvm-svn: 33115
-
Evan Cheng authored
llvm-svn: 33114
-
Reid Spencer authored
Implement the arbitrary bit-width integer feature. The feature allows integers of any bitwidth (up to 64) to be defined instead of just 1, 8, 16, 32, and 64 bit integers. This change does several things: 1. Introduces a new Derived Type, IntegerType, to represent the number of bits in an integer. The Type classes SubclassData field is used to store the number of bits. This allows 2^23 bits in an integer type. 2. Removes the five integer Type::TypeID values for the 1, 8, 16, 32 and 64-bit integers. These are replaced with just IntegerType which is not a primitive any more. 3. Adjust the rest of LLVM to account for this change. Note that while this incremental change lays the foundation for arbitrary bit-width integers, LLVM has not yet been converted to actually deal with them in any significant way. Most optimization passes, for example, will still only deal with the byte-width integer types. Future increments will rectify this situation. llvm-svn: 33113
-
Reid Spencer authored
recommended that getBoolValue be replaced with getZExtValue and that get(bool) be replaced by get(const Type*, uint64_t). This implements those changes. llvm-svn: 33110
-
Evan Cheng authored
llvm-svn: 33105
-
Nick Lewycky authored
instruction. Doesn't work the other way though (can't recover bits that have been truncated). llvm-svn: 33104
-
Nick Lewycky authored
llvm-svn: 33096
-
- Jan 11, 2007
-
-
Devang Patel authored
a pass manager for itself. There is some opportunity to remove some dead code from PassManager.cpp. llvm-svn: 33087
-
Devang Patel authored
llvm-svn: 33078
-
Reid Spencer authored
llvm-svn: 33076
-
Zhou Sheng authored
llvm-svn: 33075
-
Zhou Sheng authored
Merge ConstantIntegral and ConstantBool into ConstantInt. Remove ConstantIntegral and ConstantBool from LLVM. llvm-svn: 33073
-
Zhou Sheng authored
llvm-svn: 33072
-
Reid Spencer authored
llvm-svn: 33071
-
Chris Lattner authored
llvm-svn: 33069
-
Chris Lattner authored
local and global values. llvm-svn: 33068
-
Nick Lewycky authored
is so that it can be called from inside a debugger. llvm-svn: 33067
-
Nick Lewycky authored
Please do not enable, there is still some known miscompile problem. llvm-svn: 33066
-
Devang Patel authored
llvm-svn: 33065
-
Reid Spencer authored
or not. This allows DynamicLibrary.cpp to compile on Darwin. llvm-svn: 33064
-
Reid Spencer authored
llvm-svn: 33063
-
Devang Patel authored
Passes. Robustify PMStack.push() Add dump() routine to print PMStack. llvm-svn: 33062
-
- Jan 10, 2007
-
-
Reid Spencer authored
a bit of a hack but it lets some of the llvm-test programs run. llvm-svn: 33058
-
Reid Spencer authored
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
-
Chris Lattner authored
No functionality change. llvm-svn: 33053
-
Chris Lattner authored
llvm-svn: 33052
-
Reid Spencer authored
llvm-svn: 33051
-
Reid Spencer authored
in the bytecode writer library. This helps with debugging. llvm-svn: 33050
-
Chris Lattner authored
llvm-svn: 33043
-
- Jan 09, 2007
-
-
Reid Spencer authored
Invert the "isSigned" logic in calls to printType and printPrimitiveType. We want variables to be declared unsigned by default so that signless operators like + and - perform the unsigned operation that LLVM expects by default. Parameters with the sext attribute will be declared signed and signed instructions will case operand values to signed regardless of the type of the variable. This passes all tests and fixes PR1099. llvm-svn: 33039
-
Chris Lattner authored
llvm-svn: 33038
-
Chris Lattner authored
never be inserted! llvm-svn: 33037
-
Chris Lattner authored
values llvm-svn: 33036
-
Chris Lattner authored
getOrCreateSlot no longer gets the slot, rename it to CreateSlot. llvm-svn: 33035
-
Reid Spencer authored
Partial fix for this PR. Default function parameters to signed integer, just like everything else in CBE. The bug was caused by incorrectly introducing parameter attributes feature by choosing "signed" parameter if the SExtAttribute was specified. Howeer, if no attribute is specified, this causes it to become unsigned which is incorrect. Reversing the logic so that signedness is detected by "not ZExtAttribute" set fixes the issue. This fixes 197.parser but there is more to do. Any comparison and possibly other operators involving arguments may need to correctly cast the parameter before its use, depending on the sign of the operator. llvm-svn: 33034
-
Evan Cheng authored
llvm-svn: 33026
-