aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Commit message (Expand)AuthorAgeFilesLines
* Rename ScalarEvolution's getIterationCount to getBackedgeTakenCount,Dan Gohman2009-02-241-7/+7
* Generalize the ChangeCompareStride code, in preparation forDan Gohman2009-02-241-94/+96
* Properly parenthesize this expression, fixing a real bug in the newDan Gohman2009-02-221-1/+1
* Only try to sink immediate when TLI is not null. It needs to check if immedia...Evan Cheng2009-02-221-1/+1
* Teach LSR sink to sink the immediate portion of the common expression back in...Evan Cheng2009-02-211-17/+82
* Fix strange logic in CollectIVUsers used to determine whether all uses areEvan Cheng2009-02-201-1/+8
* Simplify code and reduce indentation. No functionality change.Dan Gohman2009-02-201-80/+70
* Fix 80-column violations.Dan Gohman2009-02-201-4/+5
* It's not necessary to check if Base is null here.Dan Gohman2009-02-201-2/+1
* Add a comment about how Imm can be used for loop-variant values.Dan Gohman2009-02-201-1/+2
* Implement "superhero" strength reduction, or full strengthDan Gohman2009-02-201-109/+344
* Use DEBUG() instead of passing *DOUT to WriteAsOperand,Dan Gohman2009-02-191-17/+7
* Make the debug output of LSR less cryptic and more informative.Dan Gohman2009-02-191-29/+46
* Fix a typo in a comment.Dan Gohman2009-02-181-1/+1
* Strengthen the "non-constant stride must dominate loop preheader" check.Evan Cheng2009-02-171-9/+4
* Fix pr3571: If stride is a value defined by an instruction, make sure it domi...Evan Cheng2009-02-151-5/+15
* ifdef out unneeded if statement.Evan Cheng2009-02-151-0/+2
* Complete the sentance in this comment. I have reservationsDan Gohman2009-02-131-0/+1
* Fix the code that checked if a SCEVAddRecExpr Start contains anDan Gohman2009-02-131-1/+1
* Fix LSR's IV sorting function to explicitly sort by bitwidthDan Gohman2009-02-131-4/+11
* Fix PR 3471, and some cleanups.Dale Johannesen2009-02-091-17/+32
* Fix the time regression I introduced in 464.h264ref withDale Johannesen2009-01-141-44/+187
* Rename getABITypeSize to getTypePaddedSize, asDuncan Sands2009-01-121-1/+1
* Revert 61362 and 61402 until SPEC breakage is fixed.Dale Johannesen2008-12-231-135/+43
* This fixes the bug in 175.vpr. It doesn't fix theDale Johannesen2008-12-231-2/+9
* Fix the time regression I introduced in 464.h264ref withDale Johannesen2008-12-231-41/+126
* Revert previous patch, appears to break bootstrap.Dale Johannesen2008-12-181-88/+29
* Fix the time regression I introduced in 464.h264ref withDale Johannesen2008-12-181-29/+88
* Clarify that the scale factor from CheckForIVReuseDale Johannesen2008-12-161-11/+26
* Fix a really subtle off-by-one bug that Duncan noticed with valgrindChris Lattner2008-12-091-1/+1
* Make LoopStrengthReduce smarter about hoisting things out ofDale Johannesen2008-12-051-57/+127
* Remove an unused field.Dale Johannesen2008-12-031-8/+1
* Fix a misspelled function name.Dale Johannesen2008-12-031-4/+4
* Fix a really wrong comment.Dale Johannesen2008-12-031-1/+1
* Minor rewrite per review feedback.Dale Johannesen2008-12-021-8/+7
* Make the code do what the comment says it does.Dale Johannesen2008-12-021-4/+5
* some random comment improvements.Chris Lattner2008-12-021-11/+22
* Consider only references to an IV within the loop whenDale Johannesen2008-12-011-6/+26
* Introduce a new array_pod_sort function and switch LSR to use itChris Lattner2008-12-011-1/+1
* Eliminate use of setvector for the DeadInsts set, just use a smallvector.Chris Lattner2008-12-011-17/+31
* DeleteTriviallyDeadInstructions is always passed theChris Lattner2008-12-011-10/+9
* simplify DeleteTriviallyDeadInstructions again, unlike my previousChris Lattner2008-12-011-20/+13
* Temporarily revert r60195. It's causing an optimized bootstrap of llvm-gcc to...Bill Wendling2008-11-291-20/+21
* Simplify LoopStrengthReduce::DeleteTriviallyDeadInstructions byChris Lattner2008-11-271-21/+20
* use continue to reduce indentationChris Lattner2008-11-271-18/+19
* Change create*Pass factory functions to return Pass* instead ofDaniel Dunbar2008-10-221-1/+1
* Call ScalarEvolution's deleteValueFromRecords before deleting anDan Gohman2008-10-011-3/+3
* Teach LSR to optimize away SMAX operations for tripcounts in commonDan Gohman2008-09-151-0/+127
* fix overflow check.Devang Patel2008-09-091-2/+1
* Remove unused counter.Devang Patel2008-09-081-1/+0