aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
2004-10-17hasConstantValue will soon return instructions that don't dominate the PHI node,Chris Lattner
2004-10-16Fix a type violationChris Lattner
2004-10-16Kill the bogon that slipped into my buffer before I committed.Chris Lattner
2004-10-16Implement InstCombine/getelementptr.ll:test9, which is the source of manyChris Lattner
2004-10-16Optimize instructions involving undef values. For example X+undef == undef.Chris Lattner
2004-10-16Handle undef values as undefined on the constant latticeChris Lattner
2004-10-16Add noteChris Lattner
2004-10-13Update to reflect changes in Makefile rules.Reid Spencer
2004-10-12Transform memmove -> memcpy when the source is obviously constant memory.Chris Lattner
2004-10-12Fix a REALLY obscure bug in my previous checkin, which was splicing the ENDChris Lattner
2004-10-11Handle a common case more carefully. In particular, instead of transformingChris Lattner
2004-10-11Reenable the transform, turning X/-10 < 1 into X > -10Chris Lattner
2004-10-10Initial version of automake Makefile.am file.Reid Spencer
2004-10-09Use DEBUG instead of DebugFlag directly, as DebugFlag does not respectChris Lattner
2004-10-09Implement sub.ll:test17, -X/C -> X/-CChris Lattner
2004-10-08Temporarily disable a buggy transformation until it can be fixed. This fixesChris Lattner
2004-10-08Instcombine (X & FF00) + xx00 -> (X+xx00) & FF00, implementing and.ll:test27Chris Lattner
2004-10-08Little patch to turn (shl (add X, 123), 4) -> (add (shl X, 4), 123 << 4)Chris Lattner
2004-10-06Instcombine: -(X sdiv C) -> (X sdiv -C), tested by sub.ll:test16Chris Lattner
2004-10-06Reduce code growth implied by the tail duplication pass by not duplicatingChris Lattner
2004-09-29Hrm, debugging printouts do not need to be in hereChris Lattner
2004-09-29* Pull range optimization code out into new InsertRangeTest function.Chris Lattner
2004-09-29Fold binary expressions and casts into PHI nodes that have all constant inputs.Chris Lattner
2004-09-29Hrm, really, all tests passed without this, but it is scary to think how...Chris Lattner
2004-09-29Remove debugging printoutChris Lattner
2004-09-28Fold (X setcc C1) | (X setcc C2)Chris Lattner
2004-09-28Fold (and (setcc X, C1), (setcc X, C2))Chris Lattner
2004-09-28Implement X / C1 / C2 foldingChris Lattner
2004-09-28shl is always zero extending, so always use a zero extending shift right.Chris Lattner
2004-09-27Fix two bugs: one where a condition was mistakenly swapped, and anotherChris Lattner
2004-09-27Fold: (setcc (shr X, ShAmt), CI), where 'cc' is eq or ne. This xformChris Lattner
2004-09-24Implement shift-and combinations, implementing InstCombine/and.ll:test19-21Chris Lattner
2004-09-23Move LHSI->hasOneUse() into the arms of the conditional, reindenting code.Chris Lattner
2004-09-23Implement Transforms/InstCombine/and.ll:test18, a case that occurs 20 timesChris Lattner
2004-09-23Implement select.ll:test16: fold load (select C, X, null) -> load XChris Lattner
2004-09-21Do not fold (X + C1 != C2) if there are other users of the add. DoingChris Lattner
2004-09-20Fix potential miscompilations: InstCombine/2004-09-20-BadLoadCombine*.llxChris Lattner
2004-09-20Fix loop condition so that we don't decrement off the beginning of theAlkis Evlogimenos
2004-09-20Prototype these functions more accuratelyChris Lattner
2004-09-19Make isSafeToLoadUnconditionally a bit smarter, implementing PR362 andChris Lattner
2004-09-19Make instruction combining a bit more aggressive in the face of volatileChris Lattner
2004-09-15Convert code to compile with vc7.1.Reid Spencer
2004-09-15Fix a bug in the previous checkin that broke 255.vortexChris Lattner
2004-09-15Make sure to update alias analysis information as we transform the function.Chris Lattner
2004-09-14Remove a long-dead pass. Actually, this pass was never used at all.Chris Lattner
2004-09-03Fixes to make LLVM compile with vc7.1.Alkis Evlogimenos
2004-09-01Changes For Bug 352Reid Spencer
2004-08-21Initial checkin of a pass to lower packed operations to scalars operations.Reid Spencer
2004-08-11Fix InstCombine/2004-08-10-BoolSetCC.ll, a bug that is miscompilingChris Lattner
2004-08-09Fix InstCombine/2004-08-09-RemInfLoop.llxChris Lattner