aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine
AgeCommit message (Expand)Author
2011-01-29Call SimplifyFDivInst() in InstCombiner::visitFDiv().Frits van Bommel
2011-01-29Move InstCombine's knowledge of fdiv to SimplifyInstruction().Frits van Bommel
2011-01-28My auto-simplifier noticed that ((X/Y)*Y)/Y occurs several times in SPECDuncan Sands
2011-01-28Fold select + select where both selects are on the same condition.Nick Lewycky
2011-01-23Null initialize a few variables flagged byTed Kremenek
2011-01-21Just because we have determined that an (fcmp | fcmp) is true for A < B,Owen Anderson
2011-01-21fix PR9013, an infinite loop in instcombine.Chris Lattner
2011-01-21update obsolete comment.Chris Lattner
2011-01-21Don't try to pull vector bitcasts that change the number of elements throughNick Lewycky
2011-01-20At -O123 the early-cse pass is run before instcombine has run. According to myDuncan Sands
2011-01-16remove a dead check, this was needed before we had an explicit veto on uses o...Chris Lattner
2011-01-16enhance FoldOpIntoPhi in instcombine to try harder when a phi hasChris Lattner
2011-01-16remove the AllowAggressive argument to FoldOpIntoPhi. It is forced to false ...Chris Lattner
2011-01-16more cleanups: use the IR builder.Chris Lattner
2011-01-16tidy up code.Chris Lattner
2011-01-15implement an instcombine xform that canonicalizes casts outside of and-with-c...Chris Lattner
2011-01-15one more instcombine variant that is needed to work with future changes,Chris Lattner
2011-01-15fix typoChris Lattner
2011-01-15Catch ~x < cst just like ~x < ~y, we currently handle this throughChris Lattner
2011-01-15reduce indentationChris Lattner
2011-01-14Move some shift transforms out of instcombine and into InstructionSimplify.Duncan Sands
2011-01-11Remove dead variable, const-ref-ize an APInt.Owen Anderson
2011-01-11Fix a random missed optimization by making InstCombine more aggressive when d...Owen Anderson
2011-01-10Teach instcombine about the rest of the SSE and SSE2 conversionChandler Carruth
2011-01-09Instcombine: Fix pattern where the sext did not dominate the icmp using itTobias Grosser
2011-01-08Fix a bug in r123034 (trying to sext/zext non-integers) and clean up a little.Frits van Bommel
2011-01-07InstCombine: Match min/max hidden by sext/zextTobias Grosser
2011-01-07Some whitespace fixesTobias Grosser
2011-01-07Revert 122959, it needs more thought. Add it back to README.txt with addition...Benjamin Kramer
2011-01-06InstCombine: Turn _chk functions into the "unsafe" variant if length and max ...Benjamin Kramer
2011-01-06InstCombine: If we call llvm.objectsize on a malloc call we can replace it wi...Benjamin Kramer
2011-01-06InstCombine: Teach llvm.objectsize folding to look through GEPs.Benjamin Kramer
2010-12-25don't lose TD infoChris Lattner
2010-12-25Move getOrEnforceKnownAlignment out of instcombine into Transforms/Utils.Chris Lattner
2010-12-23When determining if we can fold (x >> C1) << C2, the bits that we need to ver...Owen Anderson
2010-12-22InstCombine: creating selects from -1 and 0 is fine, they combine into a sext...Benjamin Kramer
2010-12-22Add a generic expansion transform: A op (B op' C) -> (A op B) op' (A op C)Duncan Sands
2010-12-22Add some statistics, good for understanding how much more powerfulDuncan Sands
2010-12-21Pull a few more simplifications out of instcombine (there are stillDuncan Sands
2010-12-20Add a check missing from my last commit and avoid a potential overflow situat...Benjamin Kramer
2010-12-20Reduce indentation.Benjamin Kramer
2010-12-20Teach InstCombine to merge (icmp ult (X + CA), C1) | (icmp eq X, C2) into (ic...Benjamin Kramer
2010-12-20fix PR8807 by making transformConstExprCastCall aware of byval arguments.Chris Lattner
2010-12-20various cleanups for transformConstExprCastCallChris Lattner
2010-12-20Avoid dropping the address space when InstCombine optimizes memsetMon P Wang
2010-12-19fix an oversight caught by Frits!Chris Lattner
2010-12-19move a transformation to a more logical place, simplifying it.Chris Lattner
2010-12-19recognize an unsigned add with overflow idiom into uadd.Chris Lattner
2010-12-19optimize uadd(x, cst) into a comparison when the normal Chris Lattner
2010-12-19use IC.ReplaceInstUsesWith instead of a raw RAUW so that uses ofChris Lattner