aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/Reassociate.cpp
Commit message (Expand)AuthorAgeFilesLines
* theoretically the negate we find could be in a different function, checkChris Lattner2010-01-021-0/+4
* When factoring multiply expressions across adds, factor both Chris Lattner2010-01-011-21/+49
* clean up some comments.Chris Lattner2010-01-011-13/+13
* switch from std::map to DenseMap for rank data structures.Chris Lattner2010-01-011-13/+13
* reuse negates where possible instead of always creating them from scratch.Chris Lattner2009-12-311-1/+30
* we don't need a smallptrset to detect duplicates, the values areChris Lattner2009-12-311-27/+27
* make reassociate more careful about not leaving around dead mul'sChris Lattner2009-12-311-1/+7
* remove debugChris Lattner2009-12-311-1/+1
* teach reassociate to factor x+x+x -> x*3. While I'm at it,Chris Lattner2009-12-311-22/+70
* change reassociate to use SmallVector for its key datastructuresChris Lattner2009-12-311-15/+18
* change an if to an assert, fix comment.Chris Lattner2009-12-311-4/+4
* move the rest of the add optimization code out to OptimizeAdd,Chris Lattner2009-12-311-93/+94
* factor statistic updating better.Chris Lattner2009-12-311-19/+9
* simple fix for an incorrect factoring which causes aChris Lattner2009-12-311-0/+7
* factor code out into helper functions.Chris Lattner2009-12-311-88/+109
* switch some std::vector's to smallvector. Reduce nesting.Chris Lattner2009-12-311-54/+57
* use more modern datastructures.Chris Lattner2009-12-311-4/+5
* clean up -debug output.Chris Lattner2009-12-311-3/+4
* Remove LLVMContext from reassociate. It was threaded through every function butNick Lewycky2009-11-141-22/+14
* Make changes to rev 84292 as requested by Chris Lattner.Victor Hernandez2009-10-211-2/+0
* Remove MallocInst from LLVM Instructions.Victor Hernandez2009-10-171-1/+1
* Autoupgrade malloc insts to malloc calls.Victor Hernandez2009-10-171-1/+2
* calls are already unmovable, malloc doesn't need a special case.Chris Lattner2009-09-271-2/+1
* Enhance transform passes so that they apply the same tranforms to malloc call...Victor Hernandez2009-09-181-1/+2
* eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861Chris Lattner2009-09-021-3/+2
* remove the std::ostream version of module and type printing.Chris Lattner2009-08-231-3/+3
* eliminate the "Value" printing methods that print to a std::ostream.Chris Lattner2009-08-231-13/+14
* Fix debug output to include a newline after printing a Value, nowDan Gohman2009-08-171-7/+7
* Remove a bunch more now-unnecessary Context arguments.Dan Gohman2009-08-121-1/+1
* Move a few more APIs back to 2.5 forms. The only remaining ones left to chan...Owen Anderson2009-07-311-7/+5
* Move more code back to 2.5 APIs.Owen Anderson2009-07-301-3/+3
* Move ConstantExpr to 2.5 API.Owen Anderson2009-07-291-2/+2
* Revert the ConstantInt constructors back to their 2.5 forms where possible, t...Owen Anderson2009-07-241-1/+1
* Get rid of the Pass+Context magic.Owen Anderson2009-07-221-17/+22
* These don't really need contexts either.Owen Anderson2009-07-131-6/+6
* Move more functionality over to LLVMContext.Owen Anderson2009-07-131-2/+2
* Begin the painful process of tearing apart the rat'ss nest that is Constants....Owen Anderson2009-07-131-15/+15
* "LLVMContext* " --> "LLVMContext *"Owen Anderson2009-07-061-2/+2
* Even more passes being LLVMContext'd.Owen Anderson2009-07-031-17/+23
* Make the key of ValueRankMap an AssertingVH, so that we die violentlyChris Lattner2009-03-311-6/+7
* This pass keeps a map of Instructions to Rank numbers,Dale Johannesen2009-03-191-8/+14
* Don't assign rank numbers to debug intrinsic "calls".Dale Johannesen2009-03-061-1/+3
* Fix build failure.Devang Patel2008-11-211-1/+1
* Silence unused variable warnings.Devang Patel2008-11-211-0/+3
* Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman2008-09-041-1/+1
* don't use the result of WriteAsOperandChris Lattner2008-08-191-4/+5
* API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. Legac...Gabor Greif2008-05-161-7/+7
* Clean up the use of static and anonymous namespaces. This turned upDan Gohman2008-05-131-4/+4
* Don't include <map> in Pass.h, which doesn't need it. This requiresDan Gohman2008-03-211-0/+1
* simplify some code, BreakUpSubtract always returns nonnull now.Chris Lattner2008-02-181-4/+2