aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
Commit message (Expand)AuthorAgeFilesLines
* only factor from expressions whose uses are empty and whoseChris Lattner2010-01-091-0/+5
* Fix nondeterministic behavior.Julien Lerouge2010-01-091-6/+7
* Remove unnecessary dyn_cast and add a comment. Part of a WIP.Eric Christopher2010-01-081-4/+4
* mplement a theoretical fixme.Chris Lattner2010-01-081-3/+7
* rename CanEvaluateInDifferentType -> CanEvaluateTruncated and Chris Lattner2010-01-081-71/+28
* teach instcombine to delete sign extending shift pairs (sra(shl X, C), C) whenChris Lattner2010-01-081-4/+15
* Suppress an unused variable warning when assertions are off;Duncan Sands2010-01-081-2/+3
* tidy up some stuff duncan pointed out.Chris Lattner2010-01-081-2/+3
* teach ComputeNumSignBits to look through PHI nodes.Chris Lattner2010-01-071-3/+0
* Enhance instcombine to reason more strongly about promoting computationChris Lattner2010-01-071-51/+144
* Use a do-while loop instead of while + boolean.Benjamin Kramer2010-01-071-6/+4
* Be less stingy as to how many selects and phi nodes weDuncan Sands2010-01-071-2/+2
* handle ConstantVector while I'm in here.Chris Lattner2010-01-071-0/+3
* fix a globalopt crash on 'bullet' (handling evaluation of a storeChris Lattner2010-01-071-16/+20
* Move the object size intrinsic optimization to inst-combine and makeEric Christopher2010-01-062-24/+12
* Fix a README item: have functionattrs look through selects andDuncan Sands2010-01-061-10/+41
* Formatting.Mikhail Glushenkov2010-01-061-2/+2
* Partially address a README by having functionattrs consider calls toDuncan Sands2010-01-061-0/+15
* tweaks suggested by DuncanChris Lattner2010-01-061-7/+7
* Teach instcombine's sext elimination logic to be more aggressive.Chris Lattner2010-01-061-18/+168
* simplify this code.Chris Lattner2010-01-051-109/+66
* make this a static function instead of a method.Chris Lattner2010-01-052-6/+5
* more rearrangement and cleanup, fix my test failure.Chris Lattner2010-01-051-118/+104
* cleanupChris Lattner2010-01-051-18/+15
* remove two trunc xforms that are subsumed by EvaluateInDifferentType.Chris Lattner2010-01-051-36/+0
* just remove this xform which is subsumed by others.Chris Lattner2010-01-051-26/+1
* move a trunc-specific transform out of commonIntCastTransforms into visitTrunc.Chris Lattner2010-01-051-32/+34
* Move remaining stuff to the isInteger predicate.Benjamin Kramer2010-01-055-17/+13
* move a zext specific xform out of commonIntCastTransforms into visitZExt and ...Chris Lattner2010-01-051-10/+9
* move a trunc-specific xform out of commonIntCastTransforms into visitTruncChris Lattner2010-01-051-16/+25
* reduce indentationChris Lattner2010-01-051-15/+18
* Convert a ton of simple integer type equality tests to the new predicate.Benjamin Kramer2010-01-058-16/+15
* optimize comparisons against cttz/ctlz/ctpop, patch by Alastair Lynn!Chris Lattner2010-01-051-1/+23
* Nick Lewycky pointed out that this code makes changes unconditionally.Dan Gohman2010-01-051-1/+2
* Set Changed properly after calling DeleteDeadPHIs.Dan Gohman2010-01-052-2/+2
* Use do+while instead of while for loops which obviously have aDan Gohman2010-01-0512-29/+23
* Fix indentation.Dan Gohman2010-01-051-1/+1
* Make RecursivelyDeleteTriviallyDeadInstructions,Dan Gohman2010-01-052-9/+17
* Add newline at EOF.Benjamin Kramer2010-01-051-1/+1
* Avoid going through the LLVMContext for type equality where it's safe to dere...Benjamin Kramer2010-01-0511-14/+13
* prune some #includes.Chris Lattner2010-01-051-8/+1
* split and/or/xor out into one overly-large (2000LOC) file. However, I thinkChris Lattner2010-01-053-1963/+1978
* missed file with previous commit.Chris Lattner2010-01-051-418/+0
* split instcombine of shifts out to its own file.Chris Lattner2010-01-052-0/+437
* eliminate getBitCastOperand and simplify some over-complex inbounds stuff.Chris Lattner2010-01-051-46/+22
* split call handling out to InstCombineCalls.cppChris Lattner2010-01-053-1110/+1133
* optimize cttz and ctlz when we can prove something about the Chris Lattner2010-01-051-1/+34
* this inline function moved to addsubChris Lattner2010-01-051-24/+0
* split add/sub out to its own file. Eliminate use ofChris Lattner2010-01-053-695/+749
* all the places we use hasOneUse() we know are instructions, so inlineChris Lattner2010-01-051-12/+9