aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2008-02-25Fix an issue where GVN was performing the return slot optimization when it wasOwen Anderson
2008-02-25Fix an issue where GVN would try to use an instruction before its definition ...Owen Anderson
2008-02-22Split ParameterAttributes.h, putting the complicatedDale Johannesen
2008-02-22Fixed a typo.Zhou Sheng
2008-02-20Add explicit keywords.Dan Gohman
2008-02-20Fix newly-introduced 4.3 warningsAnton Korobeynikov
2008-02-20Get rid of hash_map. Use StringMap insteadAnton Korobeynikov
2008-02-20Make Transforms to be 4.3 warnings-cleanAnton Korobeynikov
2008-02-20Unbreak build with gcc 4.3: provide missed includes and silence most annoying...Anton Korobeynikov
2008-02-20When performing return slot optimization, remember to inform memdep when we'r...Owen Anderson
2008-02-19Expand ParameterAttributes to 32 bits (in preparationDale Johannesen
2008-02-19remove the LowerSelect pass. The last client was the old Sparc backend, whic...Chris Lattner
2008-02-19remove the lower packed pass. It can never work and even the parts that Chris Lattner
2008-02-19Refactor this method a bit, and correct a test that was completely wrong but ...Owen Anderson
2008-02-19isa+cast -> dyncast.Chris Lattner
2008-02-19simplify this code again, try 2 :)Chris Lattner
2008-02-19Fix a comment.Owen Anderson
2008-02-19Major improvements to yesterday's return slot optimization. Remove some unne...Owen Anderson
2008-02-19fdiv/frem of undef can produce undef, because the undef operand Chris Lattner
2008-02-19Factor the profitability check for return slot optimization out into a static...Owen Anderson
2008-02-19An sret parameter is required to be the first parameter, so there's no need t...Owen Anderson
2008-02-19Cleanup some of my patches from yesterday. Refactor the check for which xformOwen Anderson
2008-02-19Fix Transforms/GVN/memcpy.ll, which Chris broke in r47275 by reordering the b...Owen Anderson
2008-02-18Correctly fold divide-by-constant, even when faced with overflow.Nick Lewycky
2008-02-18Transforming -A + -B --> -(A + B) isn't safe for FP, thanksChris Lattner
2008-02-18minor code simplification, no functionality change.Chris Lattner
2008-02-18Simplify caller updating using a CallSite, asDuncan Sands
2008-02-18Add support to GVN for performing sret return slot optimization. This means ...Owen Anderson
2008-02-18switch simplifycfg from using vectors for most things to smallvectors,Chris Lattner
2008-02-18optimize away stackrestore calls that have no intervening alloca or call.Chris Lattner
2008-02-18simplify some code, BreakUpSubtract always returns nonnull now.Chris Lattner
2008-02-17Fold (-x + -y) -> -(x+y) which promotes better association, fixingChris Lattner
2008-02-17fix pastoChris Lattner
2008-02-17Split up subtracts into add+negate if they have a reassociable use or operandChris Lattner
2008-02-17make the logic for breaking up subtracts more explicit, no Chris Lattner
2008-02-16Remove any 'nest' parameter attributes if the functionDuncan Sands
2008-02-15Fix PR2028Devang Patel
2008-02-14If loop header is also loop exiting block then OrigPN is incoming value for B...Devang Patel
2008-02-14Fix PR2029Chris Lattner
2008-02-14simplify code, no functionality change.Chris Lattner
2008-02-14Fix PR2032. Inform the alias analysis of changes to the underlying program.Nick Lewycky
2008-02-13A loop latch phi node may have uses inside loop, not just in loop header.Devang Patel
2008-02-13Rename APInt's isPositive to isNonNegative, to reflect what itDan Gohman
2008-02-13While moving exit condition, do not drop loop latch on the floor.Devang Patel
2008-02-13Keep track of exit value operand number when operands are swapped.Devang Patel
2008-02-13remove some dead code.Chris Lattner
2008-02-12Re-apply the patch to improve the optimizations of memcpy's, with severalOwen Anderson
2008-02-12Fix for bug 1996: optimize out loads of undef. This code basically just Eli Friedman
2008-02-10Fix scalarrepl to not 'miscompile' undefined code, part #2.Chris Lattner
2008-02-08Fix PR 1995.Devang Patel