aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms
AgeCommit message (Expand)Author
2012-01-27Revert r149110 and add a testcase that was crashing since that revision.Rafael Espindola
2012-01-27enhance constant folding to be able to constant fold bitcast of Chris Lattner
2012-01-25Support pointer comparisons against constants, when looking at the inline-costNick Lewycky
2012-01-23Make Value::isDereferenceablePointer() handle unreachable code blocks. (ThisNick Lewycky
2012-01-20Handle a corner case with IV chain collection with bailout instead of assert.Andrew Trick
2012-01-20Test case comments missing from my previous checkin.Andrew Trick
2012-01-20Fix CountCodeReductionForAlloca to more accurately represent what SROA can andNick Lewycky
2012-01-20SCEVExpander fixes. Affects LSR and indvars.Andrew Trick
2012-01-19Set the "tail" flag on pattern-matched objc_storeStrong calls.Dan Gohman
2012-01-18Use llvm.global_ctors to locate global constructors insteadDan Gohman
2012-01-17Test case renameAndrew Trick
2012-01-17Add a new ObjC ARC optimization pass to eliminate unneededDan Gohman
2012-01-17LSR fix: broaden the check for loop preheaders.Andrew Trick
2012-01-14Fix a corner case hit by redundant phi elimination running after LSR.Andrew Trick
2012-01-13Implement proper ObjC ARC objc_retainBlock "escape" analysis, so thatDan Gohman
2012-01-11Don't try to create a GEP when the pointee type is unsized (such GEPsDuncan Sands
2012-01-11Improved compile time:Stepan Dyatkovskiy
2012-01-11If the global variable is removed by the linker, then don't constant merge itBill Wendling
2012-01-10Enable LSR IV Chains with sufficient heuristics.Andrew Trick
2012-01-09Adding IV chain generation to LSR.Andrew Trick
2012-01-09InstCombine: Teach foldLogOpOfMaskedICmpsHelper that sign bit tests are bit t...Benjamin Kramer
2012-01-08Tweak my last commit to be less conservative about uses.Benjamin Kramer
2012-01-08InstCombine: If we have a bit test and a sign test anded/ored together, merge...Benjamin Kramer
2012-01-07LSR: Don't optimize loops if an outer loop has no preheader.Andrew Trick
2012-01-07Extended replaceCongruentPhis to handle mixed phi types.Andrew Trick
2012-01-07comment typoAndrew Trick
2012-01-05Fix SpeculativelyExecuteBB to either speculate all or none of the phisDan Gohman
2012-01-05PR11705, part 2: globalopt shouldn't put inttoptr/ptrtoint operations into gl...Eli Friedman
2012-01-05Revert r56315. When the instruction to speculate is a load, thisDan Gohman
2012-01-05FileCheck hygiene.Benjamin Kramer
2012-01-04Teach instcombine all sorts of great stuff about shifts that have exact, nuw orNick Lewycky
2012-01-02Fix SCEVExpander to handle loops with no preheader when LSR gives it aAndrew Trick
2011-12-31Make use of the exact bit when optimizing '(X >>exact 3) << 1' to eliminate theNick Lewycky
2011-12-28Change CaptureTracking to pass a Use* instead of a Value* when a value isNick Lewycky
2011-12-27Turn cos(-x) into cos(x). Patch by Alexander Malyshev!Nick Lewycky
2011-12-27Teach simplifycfg to recompute branch weights when merging some branches, andNick Lewycky
2011-12-26Update the branch weight metadata when reversing the order of a branch.Nick Lewycky
2011-12-24Add an explicit test that we now fold cttz.i32(..., true) >> 5 -> 0.Chandler Carruth
2011-12-24InstCombine: Add a combine that turns (2^n)-1 ^ x back into (2^n)-1 - x iff x...Benjamin Kramer
2011-12-24ComputeMaskedBits: Make knownzero computation more aggressive for ctlz with u...Benjamin Kramer
2011-12-24InstCombine: Canonicalize (2^n)-1 - x into (2^n)-1 ^ x iff x is known to be s...Benjamin Kramer
2011-12-23Move this test from date-name to feature-name, and port it to FileCheck.Nick Lewycky
2011-12-22Reinstate r146578; it doesn't appear to be the cause of some recent execution-Chad Rosier
2011-12-22Give string constants generated by IRBuilder private linkage.Benjamin Kramer
2011-12-22Speculatively revert r146578 to determine if it is the cause of a number ofChad Rosier
2011-12-21Make some intrinsics safe to speculatively execute.Nick Lewycky
2011-12-20Unit test for r146950: LSR postinc expansion, PR11571.Andrew Trick
2011-12-18Allow inlining of functions with returns_twice calls, if they have theJoerg Sonnenberger
2011-12-17Revert r146822 at Pete Cooper's request as it broke clang self hosting.Kevin Enderby
2011-12-17SimplifyCFG now predicts some conditional branches to true or false depending...Pete Cooper