aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms
AgeCommit message (Expand)Author
2011-11-17Add support for custom names for library functions in TargetLibraryInfo. Add...Eli Friedman
2011-11-16Fix typo in test.Nick Lewycky
2011-11-16Merge isObjectPointerWithTrustworthySize with getPointerSize. Use it whenNick Lewycky
2011-11-16Fix SCEV overly optimistic back edge taken count for multi-exit loops.Andrew Trick
2011-11-14Refactor capture tracking (which already had a couple flags for whether returnsNick Lewycky
2011-11-12Don't try to loop on iterators that are potentially invalidated inside the lo...Nick Lewycky
2011-11-12Make sure scalarrepl picks the correct alloca when it rewrites a bitcast. Fi...Eli Friedman
2011-11-11Get rid of an optimization in SCCP which appears to have many issues. Specif...Eli Friedman
2011-11-09DeadStoreElimination can now trim the size of a store if the end of the store...Pete Cooper
2011-11-08Fix code to match comment. Fixes PR11340, a regression from r143209.Eli Friedman
2011-11-08LICM pass now understands invariant load metadata. Nothing generates this ye...Pete Cooper
2011-11-08Convert to the new EH model.Bill Wendling
2011-11-05Do simple cross-block DSE when we encounter a free statement. Fixes PR11240.Nick Lewycky
2011-11-04Add tests for existing InstSimplify features.Dan Gohman
2011-11-04Teach instsimplify to simplify calls to undef.Dan Gohman
2011-11-04Speculatively revert "DeadStoreElimination can now trim the size of a store ifDaniel Dunbar
2011-11-03DeadStoreElimination can now trim the size of a store if the end of it is dead.Pete Cooper
2011-11-02Rewrite LinearFunctionTestReplace to handle pointer-type IVs.Andrew Trick
2011-11-02Broaden an assert to handle enable-iv-rewrite=true following r143183.Andrew Trick
2011-11-01Make sure we use the right insertion point when instcombine replaces a PHI wi...Eli Friedman
2011-10-30Reapply commit 143214 with a fix: m_ICmp doesn't match conditionsDuncan Sands
2011-10-29SimplifyLibCalls: Use IRBuilder.CreateGlobalString when creating a string for...Benjamin Kramer
2011-10-29Revert r143214; it's breaking a bunch of stuff.Eli Friedman
2011-10-28The expression icmp eq (select (icmp eq x, 0), 1, x), 0 folds to false.Duncan Sands
2011-10-28A shift of a power of two is a power of two or zero.Duncan Sands
2011-10-28Fold icmp ugt (udiv X, Y), X to false. Spotted by my super-optimizerDuncan Sands
2011-10-28LFTR should avoid a type mismatch with null pointer IVs.Andrew Trick
2011-10-27Reapply commit 143028 with a fix: the problem was casting a ConstantExpr MulDuncan Sands
2011-10-27Revert Duncan's r143028 expression folding which appears to be the culpritBob Wilson
2011-10-27It is not safe to sink an alloca into a stacksave/stackrestore pair, so don't...Eli Friedman
2011-10-26The maximum power of 2 dividing a power of 2 is itself. This occursDuncan Sands
2011-10-26My super-optimizer noticed that we weren't folding this expression toDuncan Sands
2011-10-24A dead malloc, a free(NULL) and a free(undef) are all trivially deadNick Lewycky
2011-10-23The element insertion code in scalar replacement doesn't handle incorrectCameron Zwarich
2011-10-22Oops! Fix test I forgot to submit as part of r142735.Nick Lewycky
2011-10-22A non-escaping malloc in the entry block is not unlike an alloca. Do dead-storeNick Lewycky
2011-10-21Remap blockaddress correctly when inlining a function. Fixes PR10162.Eli Friedman
2011-10-21Extend instcombine's shufflevector simplification to handle more cases where ...Eli Friedman
2011-10-20Refactor code from inlining and globalopt that checks whether a function defi...Eli Friedman
2011-10-20"@string = constant i8 0" is a value i8* string of length zero. Analyze thatNick Lewycky
2011-10-17Teach the ARC optimizer about the !clang.arc.copy_on_escape metadataDan Gohman
2011-10-17Fixed quoting on default data layout option.Lang Hames
2011-10-17Add support for the Objective-C personality function to the instructionBill Wendling
2011-10-17Suppress partial retain+release elimination when there's aDan Gohman
2011-10-17Correct over-zealous removal of hack.Bill Wendling
2011-10-17Temporarily XFAIL waiting for a fix.Bill Wendling
2011-10-17Add a routine to swap branch instruction operands, and update anyChandler Carruth
2011-10-16Oops! Fix testcase.Nick Lewycky
2011-10-16When looking for dependencies on the src pointer, scan the src pointer. ScanningNick Lewycky
2011-10-15Fix SCEVExpander assert during LSR: "argument of incompatible type".Andrew Trick