aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar
Commit message (Expand)AuthorAgeFilesLines
* Add explicit keywords.Dan Gohman2008-02-201-1/+1
* Fix newly-introduced 4.3 warningsAnton Korobeynikov2008-02-201-2/+2
* Make Transforms to be 4.3 warnings-cleanAnton Korobeynikov2008-02-205-29/+40
* Unbreak build with gcc 4.3: provide missed includes and silence most annoying...Anton Korobeynikov2008-02-201-1/+2
* When performing return slot optimization, remember to inform memdep when we'r...Owen Anderson2008-02-201-0/+1
* Expand ParameterAttributes to 32 bits (in preparationDale Johannesen2008-02-191-8/+13
* remove the lower packed pass. It can never work and even the parts that Chris Lattner2008-02-191-448/+0
* Refactor this method a bit, and correct a test that was completely wrong but ...Owen Anderson2008-02-191-7/+11
* isa+cast -> dyncast.Chris Lattner2008-02-191-2/+2
* simplify this code again, try 2 :)Chris Lattner2008-02-191-7/+5
* Fix a comment.Owen Anderson2008-02-191-1/+1
* Major improvements to yesterday's return slot optimization. Remove some unne...Owen Anderson2008-02-191-14/+39
* fdiv/frem of undef can produce undef, because the undef operand Chris Lattner2008-02-191-4/+11
* Factor the profitability check for return slot optimization out into a static...Owen Anderson2008-02-191-14/+26
* An sret parameter is required to be the first parameter, so there's no need t...Owen Anderson2008-02-191-8/+3
* Cleanup some of my patches from yesterday. Refactor the check for which xformOwen Anderson2008-02-191-22/+23
* Fix Transforms/GVN/memcpy.ll, which Chris broke in r47275 by reordering the b...Owen Anderson2008-02-191-1/+2
* Correctly fold divide-by-constant, even when faced with overflow.Nick Lewycky2008-02-181-2/+27
* Transforming -A + -B --> -(A + B) isn't safe for FP, thanksChris Lattner2008-02-181-4/+6
* minor code simplification, no functionality change.Chris Lattner2008-02-181-8/+6
* Add support to GVN for performing sret return slot optimization. This means ...Owen Anderson2008-02-181-2/+66
* optimize away stackrestore calls that have no intervening alloca or call.Chris Lattner2008-02-181-10/+18
* simplify some code, BreakUpSubtract always returns nonnull now.Chris Lattner2008-02-181-4/+2
* Fold (-x + -y) -> -(x+y) which promotes better association, fixingChris Lattner2008-02-171-2/+10
* fix pastoChris Lattner2008-02-171-1/+1
* Split up subtracts into add+negate if they have a reassociable use or operandChris Lattner2008-02-171-5/+8
* make the logic for breaking up subtracts more explicit, no Chris Lattner2008-02-171-9/+22
* Fix PR2028Devang Patel2008-02-151-2/+2
* If loop header is also loop exiting block then OrigPN is incoming value for B...Devang Patel2008-02-141-1/+7
* simplify code, no functionality change.Chris Lattner2008-02-141-7/+9
* Fix PR2032. Inform the alias analysis of changes to the underlying program.Nick Lewycky2008-02-141-0/+2
* A loop latch phi node may have uses inside loop, not just in loop header.Devang Patel2008-02-131-4/+5
* Rename APInt's isPositive to isNonNegative, to reflect what itDan Gohman2008-02-131-6/+6
* While moving exit condition, do not drop loop latch on the floor.Devang Patel2008-02-131-4/+9
* Keep track of exit value operand number when operands are swapped.Devang Patel2008-02-131-1/+6
* Re-apply the patch to improve the optimizations of memcpy's, with severalOwen Anderson2008-02-121-1/+79
* Fix for bug 1996: optimize out loads of undef. This code basically just Eli Friedman2008-02-121-1/+28
* Fix scalarrepl to not 'miscompile' undefined code, part #2.Chris Lattner2008-02-101-1/+1
* Fix PR 1995.Devang Patel2008-02-081-21/+17
* Temporarily reverting:Bill Wendling2008-02-061-82/+0
* Fix a bug compiling PR1978 (perhaps not the only one though) whichChris Lattner2008-02-051-54/+5
* Be more precise when eliminating pointers bue to memcpy's. This allows moreOwen Anderson2008-02-041-4/+10
* Allow GVN to hack on memcpy's, making them open to further optimization.Owen Anderson2008-02-041-0/+82
* There are some cases where icmp(add) can be folded into a new icmp. Handle them.Nick Lewycky2008-02-031-0/+32
* Hack on vectors too.Nick Lewycky2008-02-031-1/+1
* Fold away one multiply in instcombine. This would normally be caught inNick Lewycky2008-02-031-0/+24
* Remove a couple more cases of "getNumUses() == 0". No need to walk the linkedNick Lewycky2008-01-301-2/+2
* Use empty() instead of comparing size() with zero.Nick Lewycky2008-01-301-1/+1
* Don't DCE FreeInst's. We were using those! Patch from Owen Anderson.Nick Lewycky2008-01-301-1/+1
* Make DSE much more aggressive by performing DCE earlier. Update a testcase t...Owen Anderson2008-01-301-2/+55