aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/Reassociate.cpp
AgeCommit message (Expand)Author
2012-07-26Stop reassociate from looking through expressions of arbitrary complexity. ThisDuncan Sands
2012-07-24Clean whitespaces.Nadav Rotem
2012-07-23Suppress a warning.Nadav Rotem
2012-06-29Rework this to clarify where the removal of nodes from the queue isDuncan Sands
2012-06-29Fix a reassociate crash on sozefx when compiling with dragonegg+gcc-4.7 due toDuncan Sands
2012-06-29Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.hChandler Carruth
2012-06-27Some reassociate optimizations create new instructions, which they insert justDuncan Sands
2012-06-24Remove a dangling reference to a deleted instruction. Fixes PR13185!Nick Lewycky
2012-06-15Fix issues (infinite loop and/or crash) with self-referential instructions, forDuncan Sands
2012-06-13It is possible for several constants which aren't individually absorbing toDuncan Sands
2012-06-13When linearizing a multiplication, return at once if we see a factor of zero,Duncan Sands
2012-06-12Use DenseMap as SmallMap workaround rather than std::map, at Chandler's request.Duncan Sands
2012-06-12Use std::map rather than SmallMap because SmallMap assumes that the value hasDuncan Sands
2012-06-12Now that Reassociate's LinearizeExprTree can look through arbitrary expressionDuncan Sands
2012-06-08Reapply commit 158073 with a fix (the testcase was already committed). TheDuncan Sands
2012-06-08Revert commit 158073 while waiting for a fix. The issue is that reassociateDuncan Sands
2012-06-06Grab-bag of reassociate tweaks. Unify handling of dead instructions andDuncan Sands
2012-06-02Fix typos found by http://github.com/lyda/misspell-checkBenjamin Kramer
2012-05-26Since commit 157467, if reassociate isn't actually going to change an expressionDuncan Sands
2012-05-26Move this debug statement earlier so it is easy to see the order inDuncan Sands
2012-05-25Make the reassociation pass more powerful so that it can handle expressionsDuncan Sands
2012-05-08Calling ReassociateExpression recursively is extremely dangerous since it willDuncan Sands
2012-05-07Teach reassociate to commute FMul's and FAdd's in order to canonicalize the o...Owen Anderson
2012-05-04Add 'landingpad' instructions to the list of instructions to ignore.Bill Wendling
2012-05-02Whitespace cleanup.Bill Wendling
2012-05-02The value held in the vector may be RAUW'ed by some of the canonicalizationBill Wendling
2012-04-26Teach the reassociate pass to fold chains of multiplies with repeatedChandler Carruth
2012-03-26Prune some includes and forward declarations.Craig Topper
2011-08-12Silence a bunch (but not all) "variable written but not read" warningsDuncan Sands
2011-08-02Revert r136503 and r136480 in an effort to fix non-determinism in the llvm-gc...Owen Anderson
2011-07-29Clear DbgValues in the end.Devang Patel
2011-07-29Clean up debug info after reassociation.Devang Patel
2011-07-15start using the new helper methods a bit.Chris Lattner
2011-04-28Preserve line number information.Devang Patel
2011-04-12Fix reassociate to use a worklist instead of recursing when newDan Gohman
2011-03-10RecursivelyDeleteTriviallyDeadInstructions only needs aDan Gohman
2011-03-10Fix reassociate to postpone certain instruction deletions untilDan Gohman
2011-02-17fix PR9215, preventing -reassociate from clearing nsw/nuw whenChris Lattner
2011-02-02Fix reassociate to clear optional flags, such as nsw.Dan Gohman
2011-01-26Fix PR9039, a use-after-free in reassociate. The issue was that theDuncan Sands
2010-10-19Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson
2010-10-07Now with fewer extraneous semicolons!Owen Anderson
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson
2010-08-06Revert r110396 to fix buildbots.Owen Anderson
2010-08-05Don't use PassInfo* as a type identifier for passes. Instead, use the addres...Owen Anderson
2010-07-21Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson
2010-07-12cache dereferenced iteratorsGabor Greif
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