summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Transform memmove -> memcpy when the source is obviously constant memory.Chris Lattner2004-10-121-16/+33
* Reenable the transform, turning X/-10 < 1 into X > -10Chris Lattner2004-10-111-5/+5
* 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
* 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
* 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
* Changes For Bug 352Reid Spencer2004-09-011-2/+2
* Fix InstCombine/2004-08-10-BoolSetCC.ll, a bug that is miscompilingChris Lattner2004-08-111-22/+21
* Fix InstCombine/2004-08-09-RemInfLoop.llxChris Lattner2004-08-091-1/+1
* Stop using getValues().Alkis Evlogimenos2004-08-041-2/+2
* Fix a regression in InstCombine/xor.llChris Lattner2004-08-011-2/+2
* Fix De Morgan's name.Misha Brukman2004-07-301-2/+2
* Start using the PatternMatcher a bit.Chris Lattner2004-07-301-112/+88
* This change fixed a bug in the function visitMul. The prior versionRobert Bocchino2004-07-271-3/+3
* Make the create...() functions for some of these passes return a FunctionPass *.Brian Gaeke2004-07-271-1/+1
* * Further cleanup.Chris Lattner2004-07-211-9/+27
* Make cast-cast code a bit more defensiveChris Lattner2004-07-211-32/+42
* Remove special casing of pointers and treat them generically as integers ofChris Lattner2004-07-211-8/+5
* Implement Transforms/InstCombine/IntPtrCast.llChris Lattner2004-07-201-11/+16
* Implement InstCombine/GEPIdxCanon.llChris Lattner2004-07-201-1/+10
* Rewrite cast->cast elimination code completely based on the information weChris Lattner2004-07-201-43/+53
* Minor cleanup, no functionality changeChris Lattner2004-07-181-7/+2
* Delete a no-op loop.Reid Spencer2004-07-181-9/+0
OpenPOWER on IntegriCloud