| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in building maximal expressions before simplifying them. In particular, i
cases like this:
X-(A+B+X)
the code would consider A+B+X to be a maximal expression (not understanding
that the single use '-' would be turned into a + later), simplify it (a noop)
then later get simplified again.
Each of these simplify steps is where the cost of reassociation comes from,
so this patch should speed up the already fast pass a bit.
Thanks to Dan for noticing this!
llvm-svn: 23214
|
|
|
|
|
|
| |
to where we need it when converting -(A+B+C) -> -A + -B + -C.
llvm-svn: 23213
|
|
|
|
|
|
| |
Ops vector out of range
llvm-svn: 23211
|
|
|
|
| |
llvm-svn: 23019
|
|
|
|
|
|
| |
easier to understand? :)
llvm-svn: 22706
|
|
|
|
| |
llvm-svn: 22523
|
|
|
|
| |
llvm-svn: 21839
|
|
|
|
| |
llvm-svn: 21788
|
|
|
|
| |
llvm-svn: 21786
|
|
|
|
| |
llvm-svn: 21785
|
|
|
|
|
|
|
|
| |
This makes reassociate realize that loads should be treated as unmovable, and
gives distinct ranks to distinct values defined in the same basic block, allowing
reassociate to do its thing.
llvm-svn: 21783
|
|
|
|
| |
llvm-svn: 21781
|
|
|
|
| |
llvm-svn: 21780
|
|
|
|
| |
llvm-svn: 21778
|
|
|
|
| |
llvm-svn: 21772
|