aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Scalar/Reassociate.cpp
AgeCommit message (Expand)AuthorFilesLines
2014-12-12[Reassociate] Use dbgs() instead of errs().Chad Rosier1-2/+2
2014-11-21This Reassociate change unintentionally slipped in r222499David Majnemer1-7/+0
2014-11-21SROA: The alloca type isn't a candidate promotion type for vectorsDavid Majnemer1-0/+7
2014-11-19Revert "[Reassociate] As the expression tree is rewritten make sure the opera...Chad Rosier1-8/+7
2014-11-19Update SetVector to rely on the underlying set's insert to return a pair<iter...David Blaikie1-4/+4
2014-11-18[Reassociate] Rename local variable to not use same name as a memberChad Rosier1-4/+4
2014-11-17[Reassociate] As the expression tree is rewritten make sure the operands areChad Rosier1-7/+8
2014-11-17[Reassociate] Canonicalize constants to RHS operand.Chad Rosier1-1/+4
2014-11-14[Reassociate] Canonicalize the operands of all binary operators.Chad Rosier1-12/+12
2014-11-14[Reassociate] Canonicalize operands of vector binary operators.Chad Rosier1-6/+1
2014-11-14[Reassociate] Canonicalize constants to RHS operand.Chad Rosier1-12/+17
2014-11-14[Reassociate] Improve rank debug information. NFC.Chad Rosier1-4/+5
2014-11-13[Reassociate] Update comment. NFC.Chad Rosier1-1/+1
2014-11-11[Reassociate] Canonicalize negative constants out of expressions.Chad Rosier1-1/+2
2014-11-11[Reassociate] Canonicalize negative constants out of expressions.Chad Rosier1-42/+91
2014-11-07[Reassociate] Better preserve NSW/NUW flags.Chad Rosier1-0/+11
2014-11-06[Reassociate] Don't reassociate when mixing regular and fast-math FPChad Rosier1-3/+9
2014-11-04Revert "[Reassociate] Canonicalize negative constants out of expressions."Reid Kleckner1-101/+42
2014-11-03[Reassociate] Canonicalize negative constants out of expressions.Chad Rosier1-42/+101
2014-10-09[Reassociate] Don't canonicalize X - undef to X + (-undef).Chad Rosier1-0/+4
2014-10-05Give the Reassociate pass a bit more flexibility and autonomy when optimizing...Owen Anderson1-2/+12
2014-08-21Reassociate x + -0.1234 * y into x - 0.1234 * yErik Verbruggen1-2/+49
2014-08-14[Reassociation] Add support for reassociation with unsafe algebra.Chad Rosier1-81/+228
2014-05-31[Reassociate] Similar to "X + -X" -> "0", added code to handle "X + ~X" -> "-1".Benjamin Kramer1-8/+23
2014-04-25[C++] Use 'nullptr'. Transforms edition.Craig Topper1-20/+20
2014-04-22[Modules] Fix potential ODR violations by sinking the DEBUG_TYPEChandler Carruth1-1/+2
2014-03-09[C++11] Add range based accessors for the Use-Def chain of a Value.Chandler Carruth1-13/+12
2014-03-05[C++11] Add 'override' keyword to virtual methods that override their base cl...Craig Topper1-2/+2
2014-03-04[Modules] Move CFG.h to the IR library as it defines graph traits overChandler Carruth1-1/+1
2014-03-04[Modules] Move ValueHandle into the IR library where Value itself lives.Chandler Carruth1-1/+1
2014-03-01Now that we have C++11, turn simple functors into lambdas and remove a ton of...Benjamin Kramer1-13/+0
2014-02-25[reassociate] Switch two std::sort calls into std::stable_sort calls asChandler Carruth1-2/+2
2014-02-06Disable most IR-level transform passes on functions marked 'optnone'.Paul Robinson1-0/+3
2014-01-09Put the functionality for printing a value to a raw_ostream as anChandler Carruth1-2/+1
2014-01-07Move the LLVM IR asm writer header files into the IR directory, as theyChandler Carruth1-1/+1
2013-07-22Use switch instead of if. No functionality change.Jakub Staszak1-14/+17
2013-07-06Reassociate: Remove unnecessary default operator=.Benjamin Kramer1-10/+0
2013-04-27Fix a XOR reassociation bug. Shuxin Yang1-3/+6
2013-04-08Redo the fix Benjamin Kramer committed in r178793 about iterator invalidation...Shuxin Yang1-12/+14
2013-04-04Reassociate: Avoid iterator invalidation.Benjamin Kramer1-7/+12
2013-04-01Correct assertion conditionShuxin Yang1-1/+1
2013-03-30Implement XOR reassociation. It is based on following rules:Shuxin Yang1-1/+325
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth1-6/+6
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-7/+7
2012-11-18Remove the last bit of constant folding from LinearizeExprTree (most of it wasDuncan Sands1-11/+0
2012-11-18Fix PR14060, an infinite loop in reassociate. The problem was that one of theDuncan Sands1-6/+24
2012-11-15Fix a crash observed by Shuxin Yang. The issue here is that LinearizeExprTree,Duncan Sands1-54/+21
2012-11-13revert r167740Shuxin Yang1-314/+8
2012-11-12This change is to fix rdar://12571717 which is about assertion in Reassociate...Shuxin Yang1-8/+314
2012-07-26Stop reassociate from looking through expressions of arbitrary complexity. ThisDuncan Sands1-0/+2