|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| 
| 
| 
| | Merge ConstantIntegral and ConstantBool into ConstantInt.
Remove ConstantIntegral and ConstantBool from LLVM.
llvm-svn: 33073 | 
| | 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| | llvm-svn: 31561 | 
| | 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| 
| 
| | given it's opcode, typeand operands.
llvm-svn: 28517 | 
| | 
| 
| 
| 
| 
| | array scopes possibly accessing valid memory in outer subscripts.
llvm-svn: 28478 | 
| | 
| 
| 
| 
| 
| | This implements Transforms/InstCombine/2006-05-10-InvalidIndexUndef.ll
llvm-svn: 28450 | 
| | 
| 
| 
| | llvm-svn: 27513 | 
| | 
| 
| 
| | llvm-svn: 27344 | 
| | 
| 
| 
| | llvm-svn: 26673 | 
| | 
| 
| 
| 
| 
| | packed types correctly.
llvm-svn: 25470 | 
| | 
| 
| 
| | llvm-svn: 25407 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| | llvm-svn: 25309 | 
| | 
| 
| 
| | llvm-svn: 25295 | 
| | 
| 
| 
| | llvm-svn: 25181 | 
| | 
| 
| 
| | llvm-svn: 24044 | 
| | 
| 
| 
| 
| 
| 
| 
| | into the LLVMAnalysis library.
This allows LLVMTranform and LLVMTransformUtils to be archives and linked
with LLVMAnalysis.a, which provides any missing definitions.
llvm-svn: 24036 | 
| | 
| 
| 
| | llvm-svn: 23487 | 
| | 
| 
| 
| 
| 
| | pass.
llvm-svn: 23444 | 
| | 
| 
| 
| 
| 
| 
| 
| | BasicBlock's removePredecessor routine.  This requires shuffling around
the definition and implementation of hasContantValue from Utils.h,cpp into
Instructions.h,cpp
llvm-svn: 22664 | 
| | 
| 
| 
| | llvm-svn: 22523 | 
| | 
| 
| 
| | llvm-svn: 22263 | 
| | 
| 
| 
| | llvm-svn: 21719 | 
| | 
| 
| 
| 
| 
| | are moved to simplify-libcalls pass.
llvm-svn: 21614 | 
| | 
| 
| 
| 
| 
| 
| 
| | sinh, cosh, etc.
* Make the name comparisons for the fp libcalls a little more efficient by
  switching on the first character of the name before doing comparisons.
llvm-svn: 21611 | 
| | 
| 
| 
| | llvm-svn: 21427 | 
| | 
| 
| 
| 
| 
| | to think that PHI[4, undef] == 4.
llvm-svn: 17096 | 
| | 
| 
| 
| 
| 
| 
| 
| | Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137 | 
| | 
| 
| 
| | llvm-svn: 14340 | 
| | 
| 
| 
| 
| 
| | breaking the build on sparc is not acceptable.
llvm-svn: 14277 | 
| | 
| 
| 
| | llvm-svn: 14206 | 
| | 
| 
| 
| 
| 
| | PR371
llvm-svn: 14203 | 
| | 
| 
| 
| | llvm-svn: 14192 | 
| | 
| 
| 
| | llvm-svn: 14186 | 
| | 
| 
| 
| 
| 
| 
| 
| | is write an autoconf macro that checks whether __isnan or isnan actually works
**using the C++ compiler after #include <cmath>**, instead of doing it the easy
way with AC_CHECK_FUNCS().
llvm-svn: 14171 | 
| | 
| 
| 
| | llvm-svn: 14168 | 
| | 
| 
| 
| | llvm-svn: 14150 | 
| | 
| 
| 
| | llvm-svn: 13823 | 
| | 
| 
| 
| 
| 
| 
| 
| | Add support for acos/asin/atan.  188.ammp contains three calls to acos with
constant arguments.  Constant folding it allows elimination of those 3 calls
and three FP divisions of the results.
llvm-svn: 13821 | 
| | 
| 
| 
| | llvm-svn: 13091 | 
| | 
| 
| 
| | llvm-svn: 13011 | 
| | 
| 
| 
| 
| 
| | Debian.)
llvm-svn: 12986 | 
| | 
| 
| 
| | llvm-svn: 12919 | 
| | 
| 
| 
| | llvm-svn: 12319 | 
| | 
| 
| 
| | llvm-svn: 10799 | 
| | 
| 
| 
| | llvm-svn: 10792 |