aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
2004-11-14This optimization makes MANY phi nodes that all have the same incoming value.Chris Lattner
2004-11-14Implement instcombine/phi.ll:test6 - pulling operations through PHI nodes.Chris Lattner
2004-11-14Transform this:Chris Lattner
2004-11-14Teach SROA how to promote an array index that is variable, if the dimensionChris Lattner
2004-11-14Rearrange some code, no functionality changes.Chris Lattner
2004-11-13Simplify handling of shifts to be the same as we do for adds. Add supportChris Lattner
2004-11-13Fold:Chris Lattner
2004-11-07This is V9 specific, move it there.Chris Lattner
2004-11-05Fix some warnings on VC++Chris Lattner
2004-11-02* Rearrange code slightlyChris Lattner
2004-11-01Speed up the tail duplication pass on the testcase below from 68.2s to 1.23s:Chris Lattner
2004-10-27Change Library Names Not To Conflict With Others When InstalledReid Spencer
2004-10-27Convert 'struct' to 'class' in various places to adhere to the coding standardsChris Lattner
2004-10-27Hrm, this code was severely botched. As it turns out, this patch:Chris Lattner
2004-10-27Initialize with the correct constant typeChris Lattner
2004-10-25Fix compatibility with MSVC, patch by Morten OfstadChris Lattner
2004-10-22Fix a bug Nate noticed, where we miscompiled a simple testcaseChris Lattner
2004-10-22We won't use automakeReid Spencer
2004-10-19Hrm, some people complain when the compiler cheerfully tells them what it'sChris Lattner
2004-10-18Initial automake generated Makefile templateReid Spencer
2004-10-18Initial implementation of the strength reduction for GEP instructions inNate Begeman
2004-10-18Correction to allow compilation with Visual C++.Reid Spencer
2004-10-18Turn store -> null/undef into the LLVM unreachable instruction! This simpleChris Lattner
2004-10-18Turn things with obviously undefined semantics into 'store -> null'Chris Lattner
2004-10-18My friend the invoke instruction does not dominate all basic blocks if itChris Lattner
2004-10-17Getting ADCE to interact well with unreachable instructions seems like a nont...Chris Lattner
2004-10-17Remove printout, realize that instructions in the entry block dominate allChris Lattner
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