summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar
Commit message (Expand)AuthorAgeFilesLines
* Not all constants are legal immediates in load/store instructions.Chris Lattner2005-08-081-1/+7
* Implement LoopStrengthReduce/share_code_in_preheader.ll by having oneChris Lattner2005-08-081-1/+4
* Implement a simple optimization for the termination condition of the loop.Chris Lattner2005-08-081-6/+107
* Add some simple folds that occur in bitfield cases. Fix a minor bug inChris Lattner2005-08-071-0/+32
* Fix typoCVS: ----------------------------------------------------------------...Chris Lattner2005-08-071-1/+1
* * Use the new PHINode::hasConstantValue method to simplify some codeChris Lattner2005-08-071-26/+66
* Make sure to clean CastedPointers after casts are potentially deleted.Chris Lattner2005-08-051-1/+1
* now that hasConstantValue defaults to only returning values that dominateChris Lattner2005-08-051-19/+2
* This code can handle non-dominating instructionsChris Lattner2005-08-051-1/+1
* Fix a fixme in CondPropagate.cpp by moving a PhiNode optimization intoNate Begeman2005-08-043-15/+3
* Modify how immediates are removed from base expressions to deal with the factChris Lattner2005-08-041-26/+41
* * Refactor some code into a new BasedUser::RewriteInstructionToUseNewBaseChris Lattner2005-08-041-16/+48
* Fix a case that caused this to crash on 178.galgelChris Lattner2005-08-041-0/+6
* Teach LSR about loop-variant expressions, such as loops like this:Chris Lattner2005-08-041-68/+93
* Remove some more dead code.Nate Begeman2005-08-041-20/+0
* Refactor this code substantially with the following improvements:Chris Lattner2005-08-041-138/+38
* refactor some codeChris Lattner2005-08-041-34/+45
* invert to if's to make the logic simplerChris Lattner2005-08-041-14/+11
* When processing outer loops and we find uses of an IV in inner loops, makeChris Lattner2005-08-041-2/+9
* Teach loop-reduce to see into nested loops, to pull out immediate valuesChris Lattner2005-08-031-2/+4
* improve debug outputChris Lattner2005-08-031-4/+9
* Move from Stage 0 to Stage 1.Chris Lattner2005-08-031-31/+35
* Rename IVUse to IVUsersOfOneStride, use a struct instead of a pair toChris Lattner2005-08-031-25/+41
* Fix a nasty dangling pointer issue. The ScalarEvolution pass would keep aChris Lattner2005-08-031-1/+3
* The correct fix for PR612, which also fixesChris Lattner2005-08-031-2/+12
* When inserting code, make sure not to insert it before PHI nodes. ThisChris Lattner2005-08-031-1/+3
* Update to use the new MathExtras.h support for log2 computation.Chris Lattner2005-08-021-22/+15
* Like the comment says, do not insert cast instructions before phi nodesChris Lattner2005-08-021-0/+4
* add a comment, make a check more lenientChris Lattner2005-08-021-8/+10
* Simplify for loop, clear a per-loop map after processing each loopChris Lattner2005-08-021-1/+2
* Add a commentChris Lattner2005-08-021-0/+10
* Fix an iterator invalidation problemChris Lattner2005-08-021-1/+3
* Keep tabs and trailing spaces out.Jeff Cohen2005-07-301-23/+23
* Fix VC++ build problems.Jeff Cohen2005-07-301-0/+1
* Ack, typoNate Begeman2005-07-301-1/+1
* Commit a new LoopStrengthReduce pass that can use scalar evolutions andNate Begeman2005-07-301-179/+517
* Break SCEVExpander out of IndVarSimplify into its own .h/.cpp file so thatNate Begeman2005-07-301-238/+1
* Eliminate all remaining tabs and trailing spaces.Jeff Cohen2005-07-273-18/+18
* Do not let MaskedValueIsZero consider undef to be zero, for reasonsChris Lattner2005-07-201-2/+8
* When transforming &A[i] < &A[j] -> i < j, make sure to perform the comparisonChris Lattner2005-07-181-4/+11
* Fix a problem that instcombine would hit when dealing with unreachable code.Chris Lattner2005-07-071-5/+29
* prevent va_arg from being hoisted from a loopAndrew Lenharth2005-06-201-1/+1
* core changes for varargsAndrew Lenharth2005-06-181-1/+1
* Clean up some uninitialized variables and missing return statements thatReid Spencer2005-06-181-3/+3
* This is not true: (X != 13 | X < 15) -> X < 15Chris Lattner2005-06-171-2/+1
* Don't crash when dealing with INTMIN. This fixes PR585 andChris Lattner2005-06-171-0/+2
* avoid constructing out of range shift amounts.Chris Lattner2005-06-171-2/+4
* Fix PR583 and testcase Transforms/InstCombine/2005-06-15-DivSelectCrash.llChris Lattner2005-06-161-1/+1
* Fix PR571, removing code that does just the WRONG thing :)Chris Lattner2005-06-161-27/+1
* Fix a bug in my previous patch. Do not get the shift amount type (whichChris Lattner2005-06-161-1/+1
OpenPOWER on IntegriCloud