aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/Reassociate.cpp
AgeCommit message (Expand)Author
2013-04-04Reassociate: Avoid iterator invalidation.Benjamin Kramer
2013-04-01Correct assertion conditionShuxin Yang
2013-03-30Implement XOR reassociation. It is based on following rules:Shuxin Yang
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-11-18Remove the last bit of constant folding from LinearizeExprTree (most of it wasDuncan Sands
2012-11-18Fix PR14060, an infinite loop in reassociate. The problem was that one of theDuncan Sands
2012-11-15Fix a crash observed by Shuxin Yang. The issue here is that LinearizeExprTree,Duncan Sands
2012-11-13revert r167740Shuxin Yang
2012-11-12This change is to fix rdar://12571717 which is about assertion in Reassociate...Shuxin Yang
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