aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/LoopStrengthReduce.cpp
AgeCommit message (Expand)Author
2008-12-16Clarify that the scale factor from CheckForIVReuseDale Johannesen
2008-12-09Fix a really subtle off-by-one bug that Duncan noticed with valgrindChris Lattner
2008-12-05Make LoopStrengthReduce smarter about hoisting things out ofDale Johannesen
2008-12-03Remove an unused field.Dale Johannesen
2008-12-03Fix a misspelled function name.Dale Johannesen
2008-12-03Fix a really wrong comment.Dale Johannesen
2008-12-02Minor rewrite per review feedback.Dale Johannesen
2008-12-02Make the code do what the comment says it does.Dale Johannesen
2008-12-02some random comment improvements.Chris Lattner
2008-12-01Consider only references to an IV within the loop whenDale Johannesen
2008-12-01Introduce a new array_pod_sort function and switch LSR to use itChris Lattner
2008-12-01Eliminate use of setvector for the DeadInsts set, just use a smallvector.Chris Lattner
2008-12-01DeleteTriviallyDeadInstructions is always passed theChris Lattner
2008-12-01simplify DeleteTriviallyDeadInstructions again, unlike my previousChris Lattner
2008-11-29Temporarily revert r60195. It's causing an optimized bootstrap of llvm-gcc to...Bill Wendling
2008-11-27Simplify LoopStrengthReduce::DeleteTriviallyDeadInstructions byChris Lattner
2008-11-27use continue to reduce indentationChris Lattner
2008-10-22Change create*Pass factory functions to return Pass* instead ofDaniel Dunbar
2008-10-01Call ScalarEvolution's deleteValueFromRecords before deleting anDan Gohman
2008-09-15Teach LSR to optimize away SMAX operations for tripcounts in commonDan Gohman
2008-09-09fix overflow check.Devang Patel
2008-09-08Remove unused counter.Devang Patel
2008-09-08Remove OptimizeIVType()Devang Patel
2008-09-04Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman
2008-09-03Add additional check to ensure that iv is canonicalized.Devang Patel
2008-09-03Check iteration count.Devang Patel
2008-09-03While removing PHI, use basicblock to identify incoming value.Devang Patel
2008-09-02If all IV uses are extending integer IV then change the type of IV itself, if...Devang Patel
2008-08-27Do not apply the transformation if the target does not support DestTy natively.Devang Patel
2008-08-27Fix typos and whitespaces. Other cosmetic changes based on feedback.Devang Patel
2008-08-26If IV is used in a int-to-float cast inside the loop then try to eliminate th...Devang Patel
2008-08-17Revert 54821. It's miscompiling 252.eon and 447.dealIIEvan Cheng
2008-08-15Reapply 54786. Add overflow and number of mantissa bits checks.Devang Patel
2008-08-15Revert 54786. It's not checking for overflows, etc.Evan Cheng
2008-08-14If IV is used in a int-to-float cast inside the loop then try to eliminate th...Devang Patel
2008-08-13Rename. s/FindIVForUser/FindIVUserForCond/gDevang Patel
2008-08-13Check sign to detect overflow before changing compare stride.Devang Patel
2008-08-06Fix PR2355: bug in ChangeCompareStride. When the loop termination compare is ...Evan Cheng
2008-07-21Fix a bug in LSR's dead-PHI cleanup. If a PHI has a def-use chain thatDan Gohman
2008-07-14Fix uninitialized use of the Changed variable.Dan Gohman
2008-07-07Fix two serious LSR bugs.Evan Cheng
2008-06-23Fix spelling and grammar in a comment.Dan Gohman
2008-06-22Improve LSR's dead-phi detection to handle use-def cyclesDan Gohman
2008-06-18Move LSR's private isZero function to a public SCEV memberDan Gohman
2008-06-16Refine the change in r52258 for avoiding use-before-def conditionsDan Gohman
2008-06-16Switch over to SetVector to ensure same order of iterations do not vary acros...Evan Cheng
2008-06-16Iterating over SmallPtrSet is not deterministic.Evan Cheng
2008-06-13Protect ChangeCompareStride from situations in which it is possibleDan Gohman
2008-06-11op_iterator-ify some loops, fix 80col violationsGabor Greif
2008-05-24Remove x86.sse2.loadh.pd and x86.sse2.loadl.pd. These will be lowered into lo...Evan Cheng