aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/InstructionSimplify.cpp
Commit message (Expand)AuthorAgeFilesLines
* Move Sub simplifications and additional Add simplifications out ofDuncan Sands2010-12-151-10/+67
* If we detect that the instruction we are simplifying is unreachable, arrange forDuncan Sands2010-12-151-3/+3
* Add some dead stores to pacify my least favorite GCC warning: may beChandler Carruth2010-11-291-3/+3
* Expand a little on the description of what InstructionSimplify does.Duncan Sands2010-11-231-2/+4
* If a GEP index simply advances by multiples of a type of zero size,Duncan Sands2010-11-221-1/+1
* Move the "gep undef" -> "undef" transform from instcombine toDuncan Sands2010-11-221-4/+11
* Add a rather pointless InstructionSimplify transform, inspired by recent cons...Duncan Sands2010-11-211-2/+10
* Remove threading of Xor over selects and phis, with an explanationDuncan Sands2010-11-191-13/+18
* Move some those Xor simplifications which don't require creating newDuncan Sands2010-11-171-30/+78
* Previously SimplifyInstruction could report that an instructionDuncan Sands2010-11-171-15/+31
* Fix a layering violation: hasConstantValue, which is part of the PHINodeDuncan Sands2010-11-171-3/+37
* In which I discover the existence of loops. Threading an operationDuncan Sands2010-11-161-60/+102
* Teach InstructionSimplify the trick of skipping incoming phiDuncan Sands2010-11-151-4/+9
* If dom tree information is available, make it possible to passDuncan Sands2010-11-141-5/+7
* Teach InstructionSimplify about phi nodes. I chose to have it simplyDuncan Sands2010-11-141-0/+2
* Strip trailing whitespace.Duncan Sands2010-11-141-50/+49
* Reduce the maximum recursion depth, 5 seems pointlessly too much.Duncan Sands2010-11-101-1/+1
* Teach InstructionSimplify how to look through PHI nodes. Since PHIDuncan Sands2010-11-101-32/+163
* Simplify binary operations where one operand is a select instruction.Duncan Sands2010-11-101-28/+113
* Factorize code, no functionality change.Duncan Sands2010-11-091-34/+31
* Add simplification of floating point comparisons with the resultDuncan Sands2010-11-071-0/+20
* Fix a README item: when doing a comparison with the resultDuncan Sands2010-11-071-2/+21
* Revert r114097, adding back in the assertion against replacing an Instruction...Owen Anderson2010-09-161-24/+11
* Fix PR8161, in which an unreachable loop causes recursive instruction simplif...Owen Anderson2010-09-161-11/+24
* Teach InstructionSimplify to fold (A & B) & A -> A & B and (A | B) | A -> A | B.Benjamin Kramer2010-09-101-0/+20
* Fix PR7647, handling the case when 'To' ends up being Chris Lattner2010-07-151-14/+34
* Revert r108401; it breaks bootstrap :(Eli Friedman2010-07-151-3/+1
* Add AssertingVH which makes PR7647 break consistently.Eli Friedman2010-07-151-1/+3
* move some select simplifications out out instcombine intoChris Lattner2010-04-201-0/+32
* fix incorrect folding of icmp with undef, PR6481.Chris Lattner2010-03-031-4/+3
* Constant-fold certain comparisons with infinity and negative infinity.Dan Gohman2010-02-221-0/+26
* factor some logic out of instcombine into a new SimplifyAddInst method.Chris Lattner2009-11-271-6/+35
* factor some instcombine simplifications for getelementptr out to a new Chris Lattner2009-11-271-0/+32
* move some generally useful functions out of jump threadingChris Lattner2009-11-101-0/+35
* I misread the parens, not so redundant after all.Chris Lattner2009-11-101-4/+4
* remove some redundant parens.Chris Lattner2009-11-101-4/+4
* add a new SimplifyInstruction API, which is like ConstantFoldInstruction, Chris Lattner2009-11-101-0/+20
* factor simplification logic for AND and OR out to InstSimplify from instcombine.Chris Lattner2009-11-101-24/+149
* pull a bunch of logic out of instcombine into instsimplify for compare Chris Lattner2009-11-091-5/+93
* rename SimplifyCompare -> SimplifyCmpInst and split it into Chris Lattner2009-11-091-10/+35
* fix ConstantFoldCompareInstOperands to take the LHS/RHS asChris Lattner2009-11-091-4/+2
* stub out a new libanalysis "instruction simplify" interface thatChris Lattner2009-11-091-0/+57