aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/Reassociate.cpp
AgeCommit message (Expand)Author
2010-03-05fix a nice subtle reassociate bug which would only occurChris Lattner
2010-02-16There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands
2010-02-15Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands
2010-02-10Fix "the the" and similar typos.Dan Gohman
2010-02-04Do not reassociate expressions with i1 type. SimplifyCFG converts someBob Wilson
2010-01-09only factor from expressions whose uses are empty and whoseChris Lattner
2010-01-08Suppress an unused variable warning when assertions are off;Duncan Sands
2010-01-05fix an infinite loop in reassociate building emacs.Chris Lattner
2010-01-05Change errs() to dbgs().David Greene
2010-01-02theoretically the negate we find could be in a different function, checkChris 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-11-14Remove LLVMContext from reassociate. It was threaded through every function butNick Lewycky
2009-10-21Make changes to rev 84292 as requested by Chris Lattner.Victor Hernandez
2009-10-17Remove MallocInst from LLVM Instructions.Victor Hernandez
2009-10-17Autoupgrade malloc insts to malloc calls.Victor Hernandez
2009-09-27calls are already unmovable, malloc doesn't need a special case.Chris Lattner
2009-09-18Enhance transform passes so that they apply the same tranforms to malloc call...Victor Hernandez
2009-09-02eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861Chris Lattner
2009-08-23remove the std::ostream version of module and type printing.Chris Lattner
2009-08-23eliminate the "Value" printing methods that print to a std::ostream.Chris Lattner
2009-08-17Fix debug output to include a newline after printing a Value, nowDan Gohman
2009-08-12Remove a bunch more now-unnecessary Context arguments.Dan Gohman
2009-07-31Move a few more APIs back to 2.5 forms. The only remaining ones left to chan...Owen Anderson
2009-07-30Move more code back to 2.5 APIs.Owen Anderson
2009-07-29Move ConstantExpr to 2.5 API.Owen Anderson
2009-07-24Revert the ConstantInt constructors back to their 2.5 forms where possible, t...Owen Anderson
2009-07-22Get rid of the Pass+Context magic.Owen Anderson
2009-07-13These don't really need contexts either.Owen Anderson
2009-07-13Move more functionality over to LLVMContext.Owen Anderson
2009-07-13Begin the painful process of tearing apart the rat'ss nest that is Constants....Owen Anderson
2009-07-06"LLVMContext* " --> "LLVMContext *"Owen Anderson
2009-07-03Even more passes being LLVMContext'd.Owen Anderson
2009-03-31Make the key of ValueRankMap an AssertingVH, so that we die violentlyChris Lattner
2009-03-19This pass keeps a map of Instructions to Rank numbers,Dale Johannesen