aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2011-02-11Make LoopUnswitch preserve ScalarEvolution by just forgetting everything aboutCameron Zwarich
2011-02-11LoopInstSimplify preserves ScalarEvolution.Cameron Zwarich
2011-02-10If we can't avoid running loop-simplify twice for now, at least avoid runningCameron Zwarich
2011-02-10Rename 'loopsimplify' to 'loop-simplify'.Cameron Zwarich
2011-02-10implement the first part of PR8882: when lowering an inboundsChris Lattner
2011-02-10Enhance a bunch of transformations in instcombine to start generatingChris Lattner
2011-02-10Enhance the "compare with shift" and "compare with div" Chris Lattner
2011-02-10more cleanups, notably bitcast isn't used for "signed to unsigned type Chris Lattner
2011-02-10A bunch of cleanups and simplifications using the new PatternMatch predicatesChris Lattner
2011-02-10teach SimplifyDemandedBits that exact shifts demand the bits they Chris Lattner
2011-02-10Revert this in an attempt to bring the builders back.Eric Christopher
2011-02-10Turn this pass ordering:Cameron Zwarich
2011-02-09Teach instsimplify some tricks about exact/nuw/nsw shifts.Chris Lattner
2011-02-09Rework InstrTypes.h so to reduce the repetition around the NSW/NUW/ExactChris Lattner
2011-02-09When removing a function from the function set and adding it to deferred, weNick Lewycky
2011-02-08Don't split any loop backedges, including backedges of loops other thanDan Gohman
2011-02-07SimplifyCFG: Track the number of used icmps when turning a icmp chain into a ...Benjamin Kramer
2011-02-06enhance vmcore to know that udiv's can be exact, and add a trivialChris Lattner
2011-02-06Simplify away redundant test, and document what's going on.Nick Lewycky
2011-02-06Remove specialized comparison of InlineAsm objects. They're uniqued on creationNick Lewycky
2011-02-03SimplifyCFG: Also transform switches that represent a range comparison but ar...Benjamin Kramer
2011-02-02SimplifyCFG: Turn switches into sub+icmp+branch if possible.Benjamin Kramer
2011-02-02Remove wasteful caching. This isn't needed for correctness because any functionNick Lewycky
2011-02-02Conservatively, clear optional flags, such as nsw, when performingDan Gohman
2011-02-02Fix reassociate to clear optional flags, such as nsw.Dan Gohman
2011-01-30Recognize and simplifyAnders Carlsson
2011-01-29Unbreak the MSVC build.Francois Pichet
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-29Add a test for TCE return duplication.Evan Cheng
2011-01-29Re-apply r124518 with fix. Watch out for invalidated iterator.Evan Cheng
2011-01-29Revert r124518. It broke Linux self-host.Evan Cheng
2011-01-29Re-commit r124462 with fixes. Tail recursion elim will now dup ret into uncon...Evan Cheng
2011-01-29Implementation of path profiling.Andrew Trick
2011-01-28My auto-simplifier noticed that ((X/Y)*Y)/Y occurs several times in SPECDuncan Sands
2011-01-28Rename functions to follow coding standard. Also rejiggers comments. NoNick Lewycky
2011-01-28Add a doxygen comment for this class.Nick Lewycky
2011-01-28Reorder for readability. (Chris, is this what you meant?)Nick Lewycky
2011-01-28Revert r124462. There are a few big regressions that I need to fix first.Evan Cheng
2011-01-28Reduce the number of functions we look at in the first pass, and preallocateNick Lewycky
2011-01-28Fold select + select where both selects are on the same condition.Nick Lewycky
2011-01-28- Stop simplifycfg from duplicating "ret" instructions into unconditionalEvan Cheng
2011-01-27Unbreak the build.Benjamin Kramer
2011-01-27Expound upon this comparison!Nick Lewycky
2011-01-27Use dyn_cast instead of isa+cast.Nick Lewycky
2011-01-27Fix surprising missed optimization in mergefunc where we forgot to considerNick Lewycky
2011-01-26Fix PR9039, a use-after-free in reassociate. The issue was that theDuncan Sands
2011-01-26AttrListPtr has an overloaded operator== which does this for us, we should useNick Lewycky
2011-01-26Teach mergefunc that intptr_t is the same width as a pointer. We still can'tNick Lewycky
2011-01-26There are no vectors of pointer or arrays, so we don't need to check vectorNick Lewycky