aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
2010-01-02enhance the previous optimization to work with fcmp in additionChris Lattner
2010-01-02Teach instcombine to fold compares of loads from constantChris Lattner
2010-01-02remove the instcombine transformations that are inserting nastyChris Lattner
2010-01-01add a simple instcombine xform, simplify another one to use hasAllZeroIndices()Chris Lattner
2010-01-01generalize the pointer difference optimization to handleChris Lattner
2010-01-01teach instcombine to optimize pointer difference idioms involving constantChris Lattner
2010-01-01use 'match' to simplify some code.Chris Lattner
2010-01-01implement the transform requested in PR5284Chris Lattner
2010-01-01add missing line.Chris Lattner
2010-01-01add a few trivial instcombines for llvm.powi.Chris Lattner
2010-01-01When factoring multiply expressions across adds, factor both Chris Lattner
2010-01-01clean up some comments.Chris Lattner
2010-01-01switch from std::map to DenseMap for rank data structures.Chris Lattner
2009-12-31reuse negates where possible instead of always creating them from scratch.Chris Lattner
2009-12-31we don't need a smallptrset to detect duplicates, the values areChris Lattner
2009-12-31make reassociate more careful about not leaving around dead mul'sChris Lattner
2009-12-31remove debugChris Lattner
2009-12-31teach reassociate to factor x+x+x -> x*3. While I'm at it,Chris Lattner
2009-12-31change reassociate to use SmallVector for its key datastructuresChris Lattner
2009-12-31change an if to an assert, fix comment.Chris Lattner
2009-12-31move the rest of the add optimization code out to OptimizeAdd,Chris Lattner
2009-12-31factor statistic updating better.Chris Lattner
2009-12-31simple fix for an incorrect factoring which causes aChris Lattner
2009-12-31factor code out into helper functions.Chris Lattner
2009-12-31switch some std::vector's to smallvector. Reduce nesting.Chris Lattner
2009-12-31use more modern datastructures.Chris Lattner
2009-12-31clean up -debug output.Chris Lattner
2009-12-28split code that doesn't need to be templated out of IRBuilder into a newChris Lattner
2009-12-28Metadata.h doesn't need to include ValueHandle.h anymore.Chris Lattner
2009-12-24move an optimization for memcmp out of simplifylibcalls and into Chris Lattner
2009-12-23reorder to follow a normal fall-through style, no functionality change.Chris Lattner
2009-12-23Remove dump routine and the associated Debug.h from a header. Patch upDavid Greene
2009-12-23Update objectsize intrinsic and associated dependencies. FixEric Christopher
2009-12-22Fix the Convert to scalar to not insert dead loads in the store case. TheChris Lattner
2009-12-22fix some fixme's by using twinesChris Lattner
2009-12-22Generalize SROA to allow the first index of a GEP to be non-zero. Add aBob Wilson
2009-12-22Implement PR5795 by merging duplicated return blocks. This could go furtherChris Lattner
2009-12-22The phi translated pointer can be computed when returning a partially cached ...Chris Lattner
2009-12-22Whitespace fixes.Eric Christopher
2009-12-21Add suggested parentheses.Daniel Dunbar
2009-12-21Add a fastpath to Load GVN to special case when we have exactly one dominatingChris Lattner
2009-12-21refactor some code out to a new helper method.Chris Lattner
2009-12-21Remove special-case SROA optimization of variable indexes to one-element andBob Wilson
2009-12-21give instcombine some helper functions for matching MIN and MAX, andChris Lattner
2009-12-21enhance x-(-A) -> x+A to preserve NUW/NSW.Chris Lattner
2009-12-21Optimize all cases of "icmp (X+Cst), X" to something simpler. This triggersChris Lattner
2009-12-19fix PR5827 by disabling the phi slicing transformation in a caseChris Lattner
2009-12-19Update my SROA changes in response to review.Bob Wilson
2009-12-18Reapply 91459 with a simple fix for the problem that broke the x86_64-darwinBob Wilson
2009-12-18Optimize icmp of null and select of two constants even if the select hasEli Friedman