aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Scalar/Reassociate.cpp
AgeCommit message (Expand)AuthorFilesLines
2011-07-15start using the new helper methods a bit.Chris Lattner1-1/+1
2011-04-28Preserve line number information.Devang Patel1-0/+7
2011-04-12Fix reassociate to use a worklist instead of recursing when newDan Gohman1-59/+67
2011-03-10RecursivelyDeleteTriviallyDeadInstructions only needs aDan Gohman1-3/+2
2011-03-10Fix reassociate to postpone certain instruction deletions untilDan Gohman1-3/+11
2011-02-17fix PR9215, preventing -reassociate from clearing nsw/nuw whenChris Lattner1-3/+4
2011-02-02Fix reassociate to clear optional flags, such as nsw.Dan Gohman1-0/+16
2011-01-26Fix PR9039, a use-after-free in reassociate. The issue was that theDuncan Sands1-4/+11
2010-10-19Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson1-1/+3
2010-10-07Now with fewer extraneous semicolons!Owen Anderson1-1/+1
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson1-1/+1
2010-08-06Revert r110396 to fix buildbots.Owen Anderson1-1/+1
2010-08-05Don't use PassInfo* as a type identifier for passes. Instead, use the addres...Owen Anderson1-1/+1
2010-07-21Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson1-1/+2
2010-07-12cache dereferenced iteratorsGabor Greif1-2/+3
2010-03-05fix a nice subtle reassociate bug which would only occurChris Lattner1-5/+21
2010-02-16There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands1-1/+1
2010-02-15Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands1-3/+3
2010-02-10Fix "the the" and similar typos.Dan Gohman1-2/+2
2010-02-04Do not reassociate expressions with i1 type. SimplifyCFG converts someBob Wilson1-0/+9
2010-01-09only factor from expressions whose uses are empty and whoseChris Lattner1-0/+5
2010-01-08Suppress an unused variable warning when assertions are off;Duncan Sands1-2/+3
2010-01-05fix an infinite loop in reassociate building emacs.Chris Lattner1-0/+4
2010-01-05Change errs() to dbgs().David Greene1-15/+15
2010-01-02theoretically the negate we find could be in a different function, checkChris Lattner1-0/+4
2010-01-01When factoring multiply expressions across adds, factor both Chris Lattner1-21/+49
2010-01-01clean up some comments.Chris Lattner1-13/+13
2010-01-01switch from std::map to DenseMap for rank data structures.Chris Lattner1-13/+13
2009-12-31reuse negates where possible instead of always creating them from scratch.Chris Lattner1-1/+30
2009-12-31we don't need a smallptrset to detect duplicates, the values areChris Lattner1-27/+27
2009-12-31make reassociate more careful about not leaving around dead mul'sChris Lattner1-1/+7
2009-12-31remove debugChris Lattner1-1/+1
2009-12-31teach reassociate to factor x+x+x -> x*3. While I'm at it,Chris Lattner1-22/+70
2009-12-31change reassociate to use SmallVector for its key datastructuresChris Lattner1-15/+18
2009-12-31change an if to an assert, fix comment.Chris Lattner1-4/+4
2009-12-31move the rest of the add optimization code out to OptimizeAdd,Chris Lattner1-93/+94
2009-12-31factor statistic updating better.Chris Lattner1-19/+9
2009-12-31simple fix for an incorrect factoring which causes aChris Lattner1-0/+7
2009-12-31factor code out into helper functions.Chris Lattner1-88/+109
2009-12-31switch some std::vector's to smallvector. Reduce nesting.Chris Lattner1-54/+57
2009-12-31use more modern datastructures.Chris Lattner1-4/+5
2009-12-31clean up -debug output.Chris Lattner1-3/+4
2009-11-14Remove LLVMContext from reassociate. It was threaded through every function butNick Lewycky1-22/+14
2009-10-21Make changes to rev 84292 as requested by Chris Lattner.Victor Hernandez1-2/+0
2009-10-17Remove MallocInst from LLVM Instructions.Victor Hernandez1-1/+1
2009-10-17Autoupgrade malloc insts to malloc calls.Victor Hernandez1-1/+2
2009-09-27calls are already unmovable, malloc doesn't need a special case.Chris Lattner1-2/+1
2009-09-18Enhance transform passes so that they apply the same tranforms to malloc call...Victor Hernandez1-1/+2
2009-09-02eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861Chris Lattner1-3/+2
2009-08-23remove the std::ostream version of module and type printing.Chris Lattner1-3/+3