- Jun 15, 2007
-
-
Chris Lattner authored
AND vectors. llvm-svn: 37586
-
- May 24, 2007
-
-
Dan Gohman authored
llvm-svn: 37321
-
- Mar 19, 2007
-
-
Reid Spencer authored
negative number. This is needed to fix test/Assembler/2007-03-19-NegValue.ll llvm-svn: 35181
-
- Mar 08, 2007
-
-
Evan Cheng authored
llvm-svn: 35014
-
- Mar 01, 2007
-
-
Reid Spencer authored
redundant and more verbose than the ConstantInt(const APInt&) constructor. llvm-svn: 34792
-
- Feb 28, 2007
-
-
Reid Spencer authored
APInt. The implied type is the integer type that corresponds to the bit width of the APInt. llvm-svn: 34757
-
Reid Spencer authored
llvm-svn: 34702
-
- Feb 27, 2007
-
-
Reid Spencer authored
widths > 64 bits. llvm-svn: 34663
-
Chris Lattner authored
lib/Analysis/ConstantFolding. llvm-svn: 34653
-
Reid Spencer authored
Implement the first step towards arbitrary precision integer support in LLVM. The APInt class provides arbitrary precision arithmetic and value representation. This patch changes ConstantInt to use APInt as its value representation without supporting bit widths > 64 yet. That change will come after ConstantFolding handles bit widths > 64 bits. llvm-svn: 34647
-
- Feb 20, 2007
-
-
Evan Cheng authored
llvm-svn: 34457
-
Chris Lattner authored
and is more memory efficient. llvm-svn: 34446
-
Chris Lattner authored
heavy-weight ValueMap class. This reduces mem usage bc reading kc++ by 29K, even though it only creates 2955 constant ints! llvm-svn: 34445
-
Chris Lattner authored
llvm-svn: 34443
-
Chris Lattner authored
llvm-svn: 34441
-
Chris Lattner authored
llvm-svn: 34440
-
- Feb 19, 2007
-
-
Chris Lattner authored
llvm-svn: 34425
-
Evan Cheng authored
llvm-svn: 34423
-
Chris Lattner authored
llvm-svn: 34419
-
- Feb 15, 2007
-
-
Reid Spencer authored
Change use of "packed" term to "vector" in comments, strings, variable names, etc. llvm-svn: 34300
-
Reid Spencer authored
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293
-
- Feb 06, 2007
-
-
Reid Spencer authored
llvm-svn: 33942
-
- Feb 05, 2007
-
-
Reid Spencer authored
This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch addresses the necessary changes to deal with this and removes code no longer needed as a result. This completes the bulk of the changes for this PR. Some cleanup patches will follow. llvm-svn: 33918
-
- Feb 02, 2007
-
-
Reid Spencer authored
This feature is needed in order to support shifts of more than 255 bits on large integer types. This changes the syntax for llvm assembly to make shl, ashr and lshr instructions look like a binary operator: shl i32 %X, 1 instead of shl i32 %X, i8 1 Additionally, this should help a few passes perform additional optimizations. llvm-svn: 33776
-
- Jan 31, 2007
-
-
Chris Lattner authored
This allows us to eliminate many temporary vectors, and theirassociated malloc/free pairs. llvm-svn: 33692
-
- Jan 26, 2007
-
-
Reid Spencer authored
llvm-svn: 33520
-
- Jan 21, 2007
-
-
Reid Spencer authored
llvm-svn: 33417
-
Reid Spencer authored
Clean up handling of isFloatingPoint() and dealing with PackedType. Patch by Gordon Henriksen! llvm-svn: 33415
-
- Jan 19, 2007
-
-
Reid Spencer authored
This is the final patch for this PR. It implements some minor cleanup in the use of IntegerType, to wit: 1. Type::getIntegerTypeMask -> IntegerType::getBitMask 2. Type::Int*Ty changed to IntegerType* from Type* 3. ConstantInt::getType() returns IntegerType* now, not Type* This also fixes PR1120. Patch by Sheng Zhou. llvm-svn: 33370
-
- Jan 15, 2007
-
-
Chris Lattner authored
rename Type::getIntegralTypeMask to Type::getIntegerTypeMask. This makes naming much more consistent. For example, there are now no longer any instances of IntegerType that are not considered isInteger! :) llvm-svn: 33225
-
Chris Lattner authored
llvm-svn: 33213
-
- Jan 12, 2007
-
-
Jim Laskey authored
llvm-svn: 33146
-
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
-
- Jan 11, 2007
-
-
Reid Spencer authored
llvm-svn: 33076
-
Zhou Sheng authored
Merge ConstantIntegral and ConstantBool into ConstantInt. Remove ConstantIntegral and ConstantBool from LLVM. llvm-svn: 33073
-
- Jan 04, 2007
-
-
Chris Lattner authored
llvm-svn: 32856
-
- Dec 31, 2006
-
-
Reid Spencer authored
Change signed integer type names to unsigned equivalents. llvm-svn: 32780
-
- Dec 24, 2006
-
-
Reid Spencer authored
llvm-svn: 32758
-
- Dec 23, 2006
-
-
Reid Spencer authored
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
-