- Feb 24, 2007
-
-
Chris Lattner authored
llvm-svn: 34552
-
- Feb 15, 2007
-
-
Reid Spencer authored
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293
-
- Feb 14, 2007
-
-
Chris Lattner authored
While preparing http://llvm.org/PR1198 I noticed several asserts protecting unprepared code from i128 types that weren't actually failing when they should because they were written as assert("foo") instead of something like assert(0 && "foo"). This patch fixes all the cases that a quick grep found. llvm-svn: 34267
-
Chris Lattner authored
Patch by Scott Michel. llvm-svn: 34266
-
- Feb 13, 2007
-
-
Chris Lattner authored
llvm-svn: 34223
-
- Feb 10, 2007
-
-
Chris Lattner authored
llvm-svn: 34163
-
Chris Lattner authored
llvm-svn: 34156
-
- Feb 08, 2007
-
-
Reid Spencer authored
Compute BitMask correctly. Patch by Leo (wenwenti@hotmail.com). llvm-svn: 34026
-
- Feb 05, 2007
-
-
Reid Spencer authored
Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) llvm-svn: 33922
-
- 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 30, 2007
-
-
Reid Spencer authored
confusion with external linkage types. llvm-svn: 33663
-
- Jan 29, 2007
-
-
Reid Spencer authored
llvm-svn: 33620
-
Reid Spencer authored
llvm-svn: 33619
-
- Jan 26, 2007
-
-
Reid Spencer authored
The Module::setEndianness and Module::setPointerSize methods have been removed. Instead you can get/set the DataLayout. Adjust thise accordingly. llvm-svn: 33530
-
- Jan 23, 2007
-
-
Anton Korobeynikov authored
llvm-svn: 33461
-
- Jan 21, 2007
-
-
Reid Spencer authored
Clean up handling of isFloatingPoint() and dealing with PackedType. Patch by Gordon Henriksen! llvm-svn: 33415
-
- Jan 20, 2007
-
-
Chris Lattner authored
these alignment amounts to align scalars when we can. Patch by Scott Michel! llvm-svn: 33409
-
Chris Lattner authored
that disassembleBuffer will be called even if NDEBUG, but the result will be ignored. llvm-svn: 33408
-
Reid Spencer authored
a small inline function to sign extend a uint64_t value based on its type's bitwidth. This function is then used in both executeSExtInst and the various executeICMP_S** functions. llvm-svn: 33403
-
Reid Spencer authored
This patch fixes test/Integer/2007-01-17-TruncSext.ll llvm-svn: 33394
-
- 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
-
Andrew Lenharth authored
llvm-svn: 33367
-
Anton Korobeynikov authored
llvm-svn: 33358
-
- Jan 18, 2007
-
-
Reid Spencer authored
not to overflow 64-bits and end up with a 0 mask. This caused i64 values to always be stored as 0 with lots of consequential damage to nightly test. llvm-svn: 33335
-
Reid Spencer authored
computations do not overflow the intended bit width. llvm-svn: 33326
-
Reid Spencer authored
bit width. llvm-svn: 33325
-
Reid Spencer authored
sufficient to get llvm-test/SingleSource/UnitTests/Integer/general-test.ll working with lli in interpreter mode. llvm-svn: 33321
-
Reid Spencer authored
1. Fix logic for executeGEP. Only 32-bit and 64-bit integer types are acceptable as indices. 2. Ensure that all integer cast operations truncate their result to the integer size of the operand. llvm-svn: 33318
-
Reid Spencer authored
llvm-svn: 33317
-
- 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: 33222
-
- Jan 12, 2007
-
-
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
-
- Dec 31, 2006
-
-
Reid Spencer authored
Convert signed integer types to signless ones. llvm-svn: 32787
-
- 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
-
- Dec 19, 2006
-
-
Chris Lattner authored
llvm-svn: 32702
-
Chris Lattner authored
llvm-svn: 32700
-
- Dec 17, 2006
-
-
Chris Lattner authored
llvm-svn: 32644
-