- Jan 15, 2007
-
-
Chris Lattner authored
llvm-svn: 33218
-
- Jan 14, 2007
-
-
Chris Lattner authored
NANs. This fixes PR1111 and Transforms/InstCombine/2007-01-14-FcmpSelf.ll llvm-svn: 33208
-
Chris Lattner authored
of PR1107 llvm-svn: 33185
-
- Jan 13, 2007
-
-
Reid Spencer authored
llvm-svn: 33184
-
Nick Lewycky authored
that properties were being applied where they didn't belong. Fixes crash in new MiBench testcase. Also mark debugging code as such in #ifdef. llvm-svn: 33177
-
Chris Lattner authored
llvm-svn: 33175
-
Chris Lattner authored
llvm-svn: 33164
-
- Jan 12, 2007
-
-
Chris Lattner authored
llvm-svn: 33150
-
Chris Lattner authored
llvm-svn: 33132
-
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
-
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
-
-
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
-
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
-
- Jan 08, 2007
-
-
Jeff Cohen authored
llvm-svn: 33021
-
Reid Spencer authored
This patch converts getPrimitiveSize to getPrimitiveSizeInBits where it is appropriate to do so (comparison of integer primitive types). llvm-svn: 33012
-
Reid Spencer authored
Enable complex addressing modes on 64-bit platforms involving two induction variables by keeping a size and scale in 64-bits not 32. Patch by Dan Gohman. llvm-svn: 33011
-
- Jan 07, 2007
-
-
Chris Lattner authored
llvm-svn: 32980
-
Chris Lattner authored
llvm-svn: 32971
-
- Jan 06, 2007
-
-
Chris Lattner authored
llvm-svn: 32959
-
Chris Lattner authored
is only called on integers. llvm-svn: 32949
-
Chris Lattner authored
types of the same size llvm-svn: 32948
-
Chris Lattner authored
relational pointer comparisons with casts. llvm-svn: 32947
-
Chris Lattner authored
llvm-svn: 32946
-
- Jan 05, 2007
-
-
Chris Lattner authored
undef operands. llvm-svn: 32899
-
Chris Lattner authored
llvm-svn: 32893
-
Chris Lattner authored
llvm-svn: 32890
-
- Jan 04, 2007
-
-
Reid Spencer authored
llvm-svn: 32866
-
Chris Lattner authored
llvm-svn: 32858
-
- Jan 03, 2007
-
-
Jim Laskey authored
llvm-svn: 32827
-
- Dec 31, 2006
-
-
Reid Spencer authored
llvm-svn: 32803
-
Reid Spencer authored
This patch replaces signed integer types with signless ones: 1. [US]Byte -> Int8 2. [U]Short -> Int16 3. [U]Int -> Int32 4. [U]Long -> Int64. 5. Removal of isSigned, isUnsigned, getSignedVersion, getUnsignedVersion and other methods related to signedness. In a few places this warranted identifying the signedness information from other sources. llvm-svn: 32785
-
- Dec 24, 2006
-
-
Reid Spencer authored
Fix this by ensuring that a bitcast is inserted to do sign switching. This is only temporarily needed as the merging of signed and unsigned is next on the SignlessTypes plate. llvm-svn: 32757
-
- Dec 23, 2006
-
-
Reid Spencer authored
correctly and emit "may be used uninitialized" warnings. llvm-svn: 32756
-
Reid Spencer authored
Don't allow CmpInst instances to be processed in FoldSelectOpOp because you can't easily swap their operands. llvm-svn: 32753
-