aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2010-01-04silence a bogus 'might be used uninit' warning from GCC.Chris Lattner
2010-01-04move some more cast-related stuffChris Lattner
2010-01-0480-col violations, trailing whitespace.Mikhail Glushenkov
2010-01-04move the [Can]EvaluateInDifferentType functions out to InstCombineCasts.cppChris Lattner
2010-01-04split 943 lines of instcombine out to a new InstCombineCasts.cppChris Lattner
2010-01-04split instcombine of compares (visit[FI]Cmp) out toChris Lattner
2010-01-04update cmakefileChris Lattner
2010-01-04move the 'SimplifyDemandedFoo' methods out to their own file, cutting 1K line...Chris Lattner
2010-01-04split the instcombine class definition out to a header shared Chris Lattner
2010-01-04remove a ton of unneeded LLVMContext stuff.Chris Lattner
2010-01-04move InstCombineWorklist out to its own header.Chris Lattner
2010-01-04forgot to svn add these.Chris Lattner
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