| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
thanks to contexts-on-types. More to come.
llvm-svn: 77011
|
| |
|
|
| |
llvm-svn: 76702
|
| |
|
|
| |
llvm-svn: 75528
|
| |
|
|
| |
llvm-svn: 75497
|
| |
|
|
|
|
|
|
|
| |
Constants.cpp and ConstantFold.cpp.
This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's
the only way I could figure out to make this process vaguely incremental.
llvm-svn: 75445
|
| |
|
|
| |
llvm-svn: 74878
|
| |
|
|
| |
llvm-svn: 74781
|
| |
|
|
|
|
| |
if it dangles.
llvm-svn: 68150
|
| |
|
|
|
|
|
|
|
| |
and was deleting Instructions without clearing the
corresponding map entry. This led to nondeterministic
behavior if the same address got allocated to another
Instruction within a short time.
llvm-svn: 67306
|
| |
|
|
|
|
| |
This is needed so debug info doesn't change codegen.
llvm-svn: 66235
|
| |
|
|
| |
llvm-svn: 59844
|
| |
|
|
| |
llvm-svn: 59841
|
| |
|
|
| |
llvm-svn: 55779
|
| |
|
|
| |
llvm-svn: 54979
|
| |
|
|
|
|
| |
Legacy interfaces will be in place for some time. (Merge from use-diet branch.)
llvm-svn: 51200
|
| |
|
|
|
|
|
| |
several things that were neither in an anonymous namespace nor static
but not intended to be global.
llvm-svn: 51017
|
| |
|
|
|
|
| |
adding <map> to many files that actually do need it.
llvm-svn: 48667
|
| |
|
|
| |
llvm-svn: 47251
|
| |
|
|
| |
llvm-svn: 47242
|
| |
|
|
|
|
| |
that is also a subtract. This implements PR2047 and Transforms/Reassociate/subtest2.ll
llvm-svn: 47241
|
| |
|
|
|
|
| |
functionality change.
llvm-svn: 47239
|
| |
|
|
| |
llvm-svn: 46514
|
| |
|
|
| |
llvm-svn: 45418
|
| |
|
|
| |
llvm-svn: 36873
|
| |
|
|
| |
llvm-svn: 36662
|
| |
|
|
|
|
|
| |
Due to darwin gcc bug, one version of darwin linker coalesces
static const int, which defauts PassID based pass identification.
llvm-svn: 36652
|
| |
|
|
| |
llvm-svn: 36632
|
| |
|
|
|
|
| |
Constant::isNullValue() in situations where it is possible.
llvm-svn: 34821
|
| |
|
|
|
|
| |
assert if the ConstantInt's value is large.
llvm-svn: 34814
|
| |
|
|
|
|
|
| |
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.
llvm-svn: 34293
|
| |
|
|
| |
llvm-svn: 34176
|
| |
|
|
|
|
|
| |
the Transforms library. This reduces debug library size by 132 KB, debug
binary size by 376 KB, and reduces link time for llvm tools slightly.
llvm-svn: 33939
|
| |
|
|
|
|
|
| |
Clean up handling of isFloatingPoint() and dealing with PackedType.
Patch by Gordon Henriksen!
llvm-svn: 33415
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
converted, we lose a static initializer. This also allows GCC to emit warnings
about unused statistics.
llvm-svn: 32690
|
| |
|
|
| |
llvm-svn: 32320
|
| |
|
|
|
|
| |
is 'unsigned'.
llvm-svn: 32279
|
| |
|
|
|
|
| |
passing false would make the asmprinter fail anyway.
llvm-svn: 32264
|
| |
|
|
|
|
| |
Replace the REM instruction with UREM, SREM and FREM.
llvm-svn: 31369
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 29925
|
| |
|
|
| |
llvm-svn: 28007
|
| |
|
|
|
|
|
|
| |
A*A*B + A*A*C --> A*(A*B+A*C) --> A*(A*(B+C))
This implements Reassociate/mul-factor3.ll
llvm-svn: 26757
|
| |
|
|
| |
llvm-svn: 26755
|
| |
|
|
|
|
|
| |
(x<<1)+(y<<1) -> (X+Y)<<1. This implements
Transforms/Reassociate/shift-factor.ll
llvm-svn: 26753
|
| |
|
|
|
|
| |
Testcase here: Transforms/Reassociate/mulfactor.ll
llvm-svn: 26524
|
| |
|
|
| |
llvm-svn: 25514
|