- Mar 01, 2007
-
-
Jim Laskey authored
llvm-svn: 34802
-
- Feb 28, 2007
-
-
Jim Laskey authored
llvm-svn: 34751
-
- Feb 22, 2007
-
-
Jim Laskey authored
llvm-svn: 34502
-
Jim Laskey authored
llvm-svn: 34494
-
- Feb 21, 2007
-
-
Jim Laskey authored
llvm-svn: 34481
-
- Feb 13, 2007
-
-
Chris Lattner authored
llvm-svn: 34223
-
- Feb 06, 2007
-
-
Chris Lattner authored
1. Memset takes an i32 for the value to set, not i8. This was causing GCC to ICE all over the place (PR1183). 2. memcpy/memmove were not properly zext/trunc'ing the size in some cases. llvm-svn: 33970
-
Chris Lattner authored
llvm-svn: 33957
-
- Feb 02, 2007
-
-
Reid Spencer authored
llvm-svn: 33784
-
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
functions like memcpy, memmove and memset. Ensure only one prototype is used for these functions and that it matches the system definition by using the appropriate type for the size argument. llvm-svn: 33618
-
- Jan 28, 2007
-
-
Reid Spencer authored
Force memcpy to be the 32-bit variant. Since this is only used with CBE and lli which both target 32-bit machines, this should be okay. llvm-svn: 33608
-
- 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 07, 2007
-
-
Chris Lattner authored
llvm-svn: 32994
-
Chris Lattner authored
Change the interface to Module::getOrInsertFunction to be easier to use,to resolve PR1088, and to help PR411. This simplifies many clients also llvm-svn: 32989
-
- Dec 31, 2006
-
-
Reid Spencer authored
Three changes: 1. Convert signed integer types to signless versions. 2. Implement the @sext and @zext parameter attributes. Previously the type of an function parameter was used to determine whether it should be sign extended or zero extended before the call. This information is now communicated via the function type's parameter attributes. 3. The interface to LowerCallTo had to be changed in order to accommodate the parameter attribute information. Although it would have been convenient to pass in the FunctionType itself, there isn't always one present in the caller. Consequently, a signedness indication for the result type and for each parameter was provided for in the interface to this method. All implementations were changed to make the adjustment necessary. llvm-svn: 32788
-
- 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 21, 2006
-
-
Reid Spencer authored
llvm-svn: 32731
-
- Dec 18, 2006
-
-
Reid Spencer authored
creation. These changes are still temporary but at least this pushes knowledge of signedness out closer to where it can be determined properly and allows signedness to be removed from VMCore. llvm-svn: 32654
-
- Dec 12, 2006
-
-
Chris Lattner authored
llvm-svn: 32472
-
Reid Spencer authored
llvm-svn: 32460
-
- Dec 07, 2006
-
-
Bill Wendling authored
now cerr, cout, and NullStream resp. llvm-svn: 32298
-
- Nov 28, 2006
-
-
Bill Wendling authored
llvm-svn: 31954
-
- 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 15, 2006
-
-
Chris Lattner authored
CBE and interpreter. llvm-svn: 31755
-
- 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
-
- 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
-
- Mar 23, 2006
-
-
Jim Laskey authored
llvm-svn: 26988
-
- Mar 13, 2006
-
-
Jim Laskey authored
llvm-svn: 26729
-
- Mar 09, 2006
-
-
Chris Lattner authored
llvm-svn: 26659
-
- Mar 03, 2006
-
-
Chris Lattner authored
PR709, and paving the way for future progress. llvm-svn: 26476
-
- Jan 16, 2006
-
-
Reid Spencer authored
This patch is an incremental step towards supporting a flat symbol table. It de-overloads the intrinsic functions by providing type-specific intrinsics and arranging for automatically upgrading from the old overloaded name to the new non-overloaded name. Specifically: llvm.isunordered -> llvm.isunordered.f32, llvm.isunordered.f64 llvm.sqrt -> llvm.sqrt.f32, llvm.sqrt.f64 llvm.ctpop -> llvm.ctpop.i8, llvm.ctpop.i16, llvm.ctpop.i32, llvm.ctpop.i64 llvm.ctlz -> llvm.ctlz.i8, llvm.ctlz.i16, llvm.ctlz.i32, llvm.ctlz.i64 llvm.cttz -> llvm.cttz.i8, llvm.cttz.i16, llvm.cttz.i32, llvm.cttz.i64 New code should not use the overloaded intrinsic names. Warnings will be emitted if they are used. llvm-svn: 25366
-
Nate Begeman authored
llvm-svn: 25355
-
- Jan 13, 2006
-
-
Chris Lattner authored
used by the C backend. llvm-svn: 25267
-
- Nov 11, 2005
-
-
Andrew Lenharth authored
llvm-svn: 24300
-
- Oct 23, 2005
-
-
Jeff Cohen authored
pointer marking the end of the list, the zero *must* be cast to the pointer type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will not extend the zero to 64 bits, thus allowing the upper 32 bits to be random junk. The new END_WITH_NULL macro may be used to annotate a such a function so that GCC (version 4 or newer) will detect the use of un-casted zero at compile time. llvm-svn: 23888
-
- Jul 27, 2005
-
-
Jeff Cohen authored
llvm-svn: 22523
-
- May 11, 2005
-
-
Chris Lattner authored
with the CBE llvm-svn: 21875
-