- Aug 24, 2007
-
-
Chris Lattner authored
This eliminates a conditional on that path, and ensures ICmpInst/FCmpInst both have an out-of-line virtual method to home the class. llvm-svn: 41371
-
- Aug 01, 2007
-
-
David Greene authored
New CallInst interface to address GLIBCXX_DEBUG errors caused by indexing an empty std::vector. Updates to all clients. llvm-svn: 40660
-
- Jul 18, 2007
-
-
Dan Gohman authored
end of a BasicBlock and have an alignment parameter. llvm-svn: 40016
-
- Jun 15, 2007
-
-
Chris Lattner authored
llvm-svn: 37585
-
- May 11, 2007
-
-
Dan Gohman authored
llvm-svn: 36995
-
- Apr 27, 2007
-
-
Chris Lattner authored
llvm-svn: 36515
-
- Apr 22, 2007
-
-
Christopher Lamb authored
llvm-svn: 36349
-
Reid Spencer authored
Add reference counting to ParamAttrsList and make use of it in Function, CallInst and InvokeInst classes. llvm-svn: 36346
-
Reid Spencer authored
Make ParamAttrsList objects unique. You can no longer directly create or destroy them but instead must go through the ParamAttrsList::get() interface. llvm-svn: 36327
-
- Apr 21, 2007
-
-
Reid Spencer authored
llvm-svn: 36309
-
Christopher Lamb authored
add support for alignment attributes on load/store instructions llvm-svn: 36301
-
- Apr 14, 2007
-
-
Chris Lattner authored
Writing it twice in the same day was too much for me. llvm-svn: 35978
-
- Apr 11, 2007
-
-
Reid Spencer authored
not retain that name. Not noticed because AsmParser always sets name after construction. However, llvm2cpp noticed. llvm-svn: 35903
-
- Apr 09, 2007
-
-
Reid Spencer authored
* Add ParamAttrs to InvokeInst class too. * Make sure all initializes of ParamAttrs in CallInst and InvokeInst are 0 * Destruct the ParamAttrs in Call/Invoke destructors to avoid memory leaks. This will change when ParamAttrsList is uniquified but needs to be correct until then. llvm-svn: 35824
-
Reid Spencer authored
* Add ParamAttrList pointers to Function and CallInst. * Move the implementation of ParamAttrList from Type.cpp to Function.cpp llvm-svn: 35818
-
- Mar 22, 2007
-
-
Dan Gohman authored
llvm-svn: 35265
-
- Mar 01, 2007
-
-
Reid Spencer authored
functional change with this patch. llvm-svn: 34806
-
- Feb 28, 2007
-
-
Reid Spencer authored
from a predicate and an APInt. This is removed from ConstantRange class so that ConstantRange doesn't have to depend on lib/VMCore. llvm-svn: 34760
-
- Feb 24, 2007
-
-
Chris Lattner authored
solve a crash in -instcombine -debug that was hit while investigating PR1217 llvm-svn: 34544
-
- 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 13, 2007
-
-
Chris Lattner authored
This speeds up bcreading by 1.5%. llvm-svn: 34233
-
Chris Lattner authored
llvm-svn: 34228
-
Chris Lattner authored
llvm-svn: 34214
-
Chris Lattner authored
llvm-svn: 34213
-
- 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
-
- Feb 01, 2007
-
-
Chris Lattner authored
llvm-svn: 33747
-
- Jan 31, 2007
-
-
Reid Spencer authored
GEP constructors. llvm-svn: 33726
-
Chris Lattner authored
llvm-svn: 33708
-
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: 33519
-
- Jan 21, 2007
-
-
Reid Spencer authored
Clean up handling of isFloatingPoint() and dealing with PackedType. Patch by Gordon Henriksen! llvm-svn: 33415
-
- Jan 17, 2007
-
-
Reid Spencer authored
Expose the previously hidden checkCast function as CastInst::castIsValid. llvm-svn: 33282
-
- 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: 33223
-
- 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
-
- 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
Change signed integer type names to unsigned equivalents. llvm-svn: 32780
-
- 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
-