aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/IndVarSimplify
AgeCommit message (Expand)Author
2009-08-31Merge from mainline.Tanya Lattner
2009-08-18Generalize ScalarEvolution to be able to analyze GEPs whenDan Gohman
2009-07-20The upper argument of ConstantRange is exclusive, not inclusive.Dan Gohman
2009-07-20Revert the addition of hasNoPointerOverflow to GEPOperator.Dan Gohman
2009-07-16Fill in some holes in ScalarEvolution's loop iteration conditionDan Gohman
2009-07-15Switch invars away from using isTrapping when it really shouldn't be Eli Friedman
2009-07-14Fix the expansion of umax and smax in the case where one or more ofDan Gohman
2009-07-14Add a testcase for a bug fixed by r75634.Dan Gohman
2009-07-14Update LoopSimplify and LoopUnswitch to use the new makeLoopInvariantDan Gohman
2009-07-14Fix indvars to not assume that a loop with a single unique exitDan Gohman
2009-07-13Reapply 75252, with a fix to avoid the infinite recursion case. TheDan Gohman
2009-07-11Revert r75252 which was causing some crashes at compile time.Nick Lewycky
2009-07-10Generalize ScalarEvolution's cast-folding code to support more kindsDan Gohman
2009-06-29Don't cache PHI exit values from exhaustive evaluations, becauseDan Gohman
2009-06-27When a value is used multiple times within a single PHI, instructionsDan Gohman
2009-06-26Add some testcases for some of the recent ScalarEvolution bug fixes.Dan Gohman
2009-06-24Simplify [su]max(MAX, n) to MAX. This comes up in loop tripcountDan Gohman
2009-06-24When inserting code into a loop preheader, insert it before theDan Gohman
2009-06-21Fix ScalarEvolution's backedge-taken count computations to check forDan Gohman
2009-06-20Generalize isLoopGuardedByCond's checking to consider twoDan Gohman
2009-06-18Remove the code from IVUsers that attempted to handleDan Gohman
2009-06-17Add -disable-output to a bunch of tests that don't care about the output.Dan Gohman
2009-06-16Instcombine's ShrinkDemandedConstant may strip bits out of constants,Dan Gohman
2009-06-14Implement more aggressive folding of add operand lists whenDan Gohman
2009-06-13Teach SCEVExpander's visitAddRecExpr to reuse an existing canonicalDan Gohman
2009-06-04Split the Add, Sub, and Mul instruction opcodes into separateDan Gohman
2009-06-03Don't attempt to simplify an non-affine IV expression if it can'tDan Gohman
2009-05-27Teach SCEVExpander to avoid creating over-indexed GEP indices whenDan Gohman
2009-05-26In cases where a pointer value is an operand of a multiplication orDan Gohman
2009-05-24When rewriting the loop exit test with the canonical induction variable,Dan Gohman
2009-05-24Generalize SCEVExpander::visitAddRecExpr's GEP persuit, and avoidDan Gohman
2009-05-24The rewriter may hold references to instructions that are deleted because the...Torok Edwin
2009-05-22Teach IndVarSimplify's FixUsesBeforeDefs to handle InvokeInsts byDan Gohman
2009-05-22Fix a thinko in the code that adapted SCEVMulExpr operands forDan Gohman
2009-05-19Teach SCEVExpander to expand arithmetic involving pointers into GEPDan Gohman
2009-05-18Add nounwind to a few tests.Dan Gohman
2009-05-12Factor the code for collecting IV users out of LSR into an IVUsers class,Dan Gohman
2009-05-12When forgetting SCEVs for loop PHIs, don't forget SCEVUnknown values.Dan Gohman
2009-04-28Make this testcase slightly less trivial, so that it doesn't failDan Gohman
2009-04-27Fix PR 4086, a bug in FP IV elimination.Dale Johannesen
2009-04-27Handle ands with ~0 correctly too. This fixes PR4052.Dan Gohman
2009-04-25Handle ands with 0 and shifts by 0 correctly. These aren'tDan Gohman
2009-04-23Fix an error in this test.Dan Gohman
2009-04-23Change SCEVExpander's expandCodeFor to provide more flexibilityDan Gohman
2009-04-22Make sure both operands have binary instructions have the same type.Evan Cheng
2009-04-22Avoid deferencing use_begin() if value does not have a use.Evan Cheng
2009-04-22SCEVExpander's InsertCastOfTo knows how to move existing castDan Gohman
2009-04-16Another testcase for IV shortening.Dale Johannesen
2009-04-15Enhance induction variable code to remove theDale Johannesen
2009-02-23Back out the change in 64918 that used sign-extensions when promotingDan Gohman