summaryrefslogtreecommitdiffstats
path: root/lib/Analysis/InstructionSimplify.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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