aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar
Commit message (Expand)AuthorAgeFilesLines
* Turn store -> null/undef into the LLVM unreachable instruction! This simpleChris Lattner2004-10-181-0/+27
* Turn things with obviously undefined semantics into 'store -> null'Chris Lattner2004-10-181-26/+34
* My friend the invoke instruction does not dominate all basic blocks if itChris Lattner2004-10-181-1/+2
* Getting ADCE to interact well with unreachable instructions seems like a nont...Chris Lattner2004-10-171-2/+3
* Remove printout, realize that instructions in the entry block dominate allChris Lattner2004-10-171-6/+6
* hasConstantValue will soon return instructions that don't dominate the PHI node,Chris Lattner2004-10-171-4/+18
* Fix a type violationChris Lattner2004-10-161-1/+1
* Kill the bogon that slipped into my buffer before I committed.Chris Lattner2004-10-161-1/+1
* Implement InstCombine/getelementptr.ll:test9, which is the source of manyChris Lattner2004-10-161-0/+18
* Optimize instructions involving undef values. For example X+undef == undef.Chris Lattner2004-10-161-27/+125
* Handle undef values as undefined on the constant latticeChris Lattner2004-10-161-3/+6
* Add noteChris Lattner2004-10-161-0/+1
* Update to reflect changes in Makefile rules.Reid Spencer2004-10-131-4/+2
* Transform memmove -> memcpy when the source is obviously constant memory.Chris Lattner2004-10-121-16/+33
* Fix a REALLY obscure bug in my previous checkin, which was splicing the ENDChris Lattner2004-10-121-1/+1
* Handle a common case more carefully. In particular, instead of transformingChris Lattner2004-10-111-4/+33
* Reenable the transform, turning X/-10 < 1 into X > -10Chris Lattner2004-10-111-5/+5
* Initial version of automake Makefile.am file.Reid Spencer2004-10-101-0/+50
* Use DEBUG instead of DebugFlag directly, as DebugFlag does not respectChris Lattner2004-10-091-5/+3
* Implement sub.ll:test17, -X/C -> X/-CChris Lattner2004-10-091-0/+5
* Temporarily disable a buggy transformation until it can be fixed. This fixesChris Lattner2004-10-081-0/+5
* Instcombine (X & FF00) + xx00 -> (X+xx00) & FF00, implementing and.ll:test27Chris Lattner2004-10-081-0/+25
* Little patch to turn (shl (add X, 123), 4) -> (add (shl X, 4), 123 << 4)Chris Lattner2004-10-081-0/+3
* Instcombine: -(X sdiv C) -> (X sdiv -C), tested by sub.ll:test16Chris Lattner2004-10-061-0/+8
* Reduce code growth implied by the tail duplication pass by not duplicatingChris Lattner2004-10-061-0/+75
* Hrm, debugging printouts do not need to be in hereChris Lattner2004-09-291-2/+0
* * Pull range optimization code out into new InsertRangeTest function.Chris Lattner2004-09-291-80/+219
* Fold binary expressions and casts into PHI nodes that have all constant inputs.Chris Lattner2004-09-291-1/+86
* Hrm, really, all tests passed without this, but it is scary to think how...Chris Lattner2004-09-291-2/+2
* Remove debugging printoutChris Lattner2004-09-291-1/+38
* Fold (X setcc C1) | (X setcc C2)Chris Lattner2004-09-281-1/+102
* Fold (and (setcc X, C1), (setcc X, C2))Chris Lattner2004-09-281-20/+121
* Implement X / C1 / C2 foldingChris Lattner2004-09-281-8/+54
* shl is always zero extending, so always use a zero extending shift right.Chris Lattner2004-09-281-5/+12
* Fix two bugs: one where a condition was mistakenly swapped, and anotherChris Lattner2004-09-271-14/+11
* Fold: (setcc (shr X, ShAmt), CI), where 'cc' is eq or ne. This xformChris Lattner2004-09-271-0/+45
* Implement shift-and combinations, implementing InstCombine/and.ll:test19-21Chris Lattner2004-09-241-7/+44
* Move LHSI->hasOneUse() into the arms of the conditional, reindenting code.Chris Lattner2004-09-231-71/+72
* Implement Transforms/InstCombine/and.ll:test18, a case that occurs 20 timesChris Lattner2004-09-231-0/+45
* Implement select.ll:test16: fold load (select C, X, null) -> load XChris Lattner2004-09-231-0/+14
* Do not fold (X + C1 != C2) if there are other users of the add. DoingChris Lattner2004-09-211-2/+3
* Fix potential miscompilations: InstCombine/2004-09-20-BadLoadCombine*.llxChris Lattner2004-09-201-7/+19
* Fix loop condition so that we don't decrement off the beginning of theAlkis Evlogimenos2004-09-201-5/+5
* Prototype these functions more accuratelyChris Lattner2004-09-2010-11/+13
* Make isSafeToLoadUnconditionally a bit smarter, implementing PR362 andChris Lattner2004-09-191-6/+28
* Make instruction combining a bit more aggressive in the face of volatileChris Lattner2004-09-191-3/+60
* Convert code to compile with vc7.1.Reid Spencer2004-09-156-13/+18
* Fix a bug in the previous checkin that broke 255.vortexChris Lattner2004-09-151-1/+1
* Make sure to update alias analysis information as we transform the function.Chris Lattner2004-09-151-21/+57
* Remove a long-dead pass. Actually, this pass was never used at all.Chris Lattner2004-09-141-182/+0