aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
2010-01-04move instcombine to its own library, it's past time.Chris Lattner
2010-01-04implement an instcombine xform needed by clang's codegenChris Lattner
2010-01-03pull my debug hooks out, I'm done with this xform for now.Chris Lattner
2010-01-03Small cleanups, refactor some duplicated code into a single method. NoNick Lewycky
2010-01-03generalize the previous transformation to handle indexing intoChris Lattner
2010-01-03Cleanup.Nick Lewycky
2010-01-02teach instcombine to optimize idioms like A[i]&42 == 0. ThisChris Lattner
2010-01-02Teach the table lookup optimization to generate range comparesChris Lattner
2010-01-02theoretically the negate we find could be in a different function, checkChris Lattner
2010-01-02use enums for the over/underdefined markers for clarity. SwitchChris Lattner
2010-01-02remove the random sampling framework, which is not maintained anymore.Chris Lattner
2010-01-02Fix logic error in previous commit. The != case needs to become an or, not anNick Lewycky
2010-01-02Optimize pointer comparison into the typesafe form, now that the backends willNick Lewycky
2010-01-02Generalize the previous xform to handle cases where exactlyChris Lattner
2010-01-02fix a miscompilation I introduced of cdecl with a late change.Chris Lattner
2010-01-02enhance the compare/load/index optimization to work on *any* loadChris Lattner
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