- Feb 13, 2007
-
-
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
-
- Dec 18, 2006
-
-
Reid Spencer authored
removed. All casting is now explicit and not inferred by VMCore. llvm-svn: 32655
-
- Dec 12, 2006
-
-
Reid Spencer authored
integer and floating point cast creation. createIntegerCast generates ZExt/SExt, BitCast or Trunc. createFPCast generates FPExt, Bitcast, or FPTrunc. llvm-svn: 32456
-
- Dec 07, 2006
-
-
Reid Spencer authored
as the right type. Use this to shorten some code. llvm-svn: 32300
-
- Dec 06, 2006
-
-
Chris Lattner authored
stack-space issue in the ppc bootstrap. llvm-svn: 32244
-
- Dec 05, 2006
-
-
Reid Spencer authored
llvm-svn: 32212
-
- Dec 04, 2006
-
-
Reid Spencer authored
expressions. These will get used to reduce clutter as we replace various calls to createInferredCast and getCast. llvm-svn: 32191
-
Reid Spencer authored
CastInst and ConstantExpr that allow the signedness to be explicitly passed in and reliance on signedness removed from getCastOpcode. These are temporary measures useful during the conversion of inferred casts. llvm-svn: 32164
-
- Dec 02, 2006
-
-
Jeff Cohen authored
llvm-svn: 32113
-
- Nov 27, 2006
-
-
Reid Spencer authored
The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the exception of 175.vpr which fails only on a slight floating point output difference. llvm-svn: 31931
-
- Nov 20, 2006
-
-
Reid Spencer authored
First in a series of patches to convert SetCondInst into ICmpInst and FCmpInst using only two opcodes and having the instructions contain their predicate value. Nothing uses these classes yet. More patches to follow. llvm-svn: 31867
-
- Nov 08, 2006
-
-
Reid Spencer authored
This patch converts the old SHR instruction into two instructions, AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not dependent on the sign of their operands. llvm-svn: 31542
-
- Nov 02, 2006
-
-
Reid Spencer authored
Replace the REM instruction with UREM, SREM and FREM. llvm-svn: 31369
-
- Oct 26, 2006
-
-
Reid Spencer authored
Make necessary changes to support DIV -> [SUF]Div. This changes llvm to have three division instructions: signed, unsigned, floating point. The bytecode and assembler are bacwards compatible, however. llvm-svn: 31195
-
- Oct 20, 2006
-
-
Reid Spencer authored
This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
-
- Oct 05, 2006
-
-
Chris Lattner authored
llvm-svn: 30750
-
- Sep 18, 2006
-
-
Chris Lattner authored
llvm-svn: 30452
-
- Sep 17, 2006
-
-
Chris Lattner authored
llvm-svn: 30445
-
- Jun 21, 2006
-
-
Chris Lattner authored
vtables for (e.g.) Instruction from being emitted into every .o file. llvm-svn: 28898
-
- May 14, 2006
-
-
Chris Lattner authored
llvm-svn: 28287
-
- May 10, 2006
-
-
Chris Lattner authored
llvm-svn: 28210
-
- May 03, 2006
-
-
Chris Lattner authored
the prototype of the called function. llvm-svn: 28070
-
- Apr 15, 2006
-
-
Chris Lattner authored
llvm-svn: 27713
-
- Apr 08, 2006
-
-
Chris Lattner authored
check validity when instructions are created. llvm-svn: 27523
-