1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2024-12-30 02:32:08 +00:00
llvm-6502/test/Transforms/IndVarSimplify
Dan Gohman 3fddbb337d Teach IndVarSimplify how to eliminate comparisons involving induction
variables. For example, with code like this:

  for (i=0;i<n;++i)
    if (i<n)
      x[i] = 0;

IndVarSimplify will now recognize that i is always less than n inside
the loop, and eliminate the if.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101000 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-11 23:10:12 +00:00
..
2002-09-09-PointerIndVar.ll
2003-04-16-ExprAnalysis.ll
2003-09-12-MultiplePred.ll Make LoopSimplify change conditional branches in loop exiting blocks 2010-02-25 06:57:05 +00:00
2003-09-23-NotAtTop.ll
2003-12-10-IndVarDeadCode.ll
2003-12-10-RemoveInstrCrash.ll Teach ScalarEvolution how to compute a tripcount for a loop with 2010-02-19 18:12:07 +00:00
2003-12-15-Crash.ll Teach ScalarEvolution how to compute a tripcount for a loop with 2010-02-19 18:12:07 +00:00
2003-12-21-IndVarSize.ll
2004-03-10-PHIInsertionBug.ll
2004-04-05-InvokeCastCrash.ll
2004-04-07-ScalarEvolutionCrash.ll
2005-02-11-InvokeCrash.ll
2005-02-17-TruncateExprCrash.ll
2005-02-26-ExitValueCompute.ll
2005-06-15-InstMoveCrash.ll
2005-11-18-Crash.ll Teach ScalarEvolution how to compute a tripcount for a loop with 2010-02-19 18:12:07 +00:00
2006-03-31-NegativeStride.ll
2006-06-16-Indvar-LCSSA-Crash.ll
2006-09-20-LFTR-Crash.ll
2006-12-10-BitCast.ll Teach ScalarEvolution how to compute a tripcount for a loop with 2010-02-19 18:12:07 +00:00
2007-01-06-TripCount.ll
2007-06-06-DeleteDanglesPtr.ll
2007-11-23-BitcastCrash.ll
2008-06-15-SCEVExpanderBug.ll
2008-09-02-IVType.ll
2008-10-03-CouldNotCompute.ll
2008-11-25-APFloatAssert.ll
2009-04-14-shorten_iv_vars.ll
2009-04-15-shorten-iv-vars-2.ll
2009-04-22-IndvarCrash.ll
2009-04-27-Floating.ll
2009-05-24-useafterfree.ll Teach ScalarEvolution how to compute a tripcount for a loop with 2010-02-19 18:12:07 +00:00
ada-loops.ll
addrec-gep.ll Reapply the new LoopStrengthReduction code, with compile time and 2010-02-12 10:34:29 +00:00
ashr-tripcount.ll
avoid-i0.ll Teach ScalarEvolution how to compute a tripcount for a loop with 2010-02-19 18:12:07 +00:00
casted-argument.ll
complex-scev.ll
crash.ll add newlines at the end of files. 2010-04-07 22:53:17 +00:00
dangling-use.ll Manually notify ScalarEvolution before making an operand replacement, since 2010-04-02 14:48:31 +00:00
dg.exp
divide-pointer.ll
eliminate-comparison.ll Teach IndVarSimplify how to eliminate comparisons involving induction 2010-04-11 23:10:12 +00:00
exit_value_tests.ll
floating-point-iv.ll add integer overflow check for the fp induction variable 2010-04-03 07:18:48 +00:00
gep-with-mul-base.ll Re-implement the main strength-reduction portion of LoopStrengthReduction. 2010-01-21 02:09:26 +00:00
indirectbr.ll
interesting-invoke-use.ll
iterationCount_zext_or_trunc.ll
iv-sext.ll
iv-zext.ll
lftr_simple.ll
lftr-other-uses.ll
lftr-promote.ll
loop_evaluate7.ll
loop_evaluate8.ll
loop_evaluate9.ll
loop_evaluate10.ll
loop_evaluate11.ll
loop_evaluate_1.ll
loop_evaluate_2.ll
loop_evaluate_3.ll
loop_evaluate_4.ll
loop_evaluate_5.ll
loop_evaluate_6.ll
loop-invariant-step.ll
masked-iv.ll
max-pointer.ll Teach ScalarEvolution how to compute a tripcount for a loop with 2010-02-19 18:12:07 +00:00
phi-uses-value-multiple-times.ll
pointer-indvars.ll
pointer.ll
polynomial-expand.ll
preserve-gep-loop-variant.ll
preserve-gep-nested.ll
preserve-gep-remainder.ll
preserve-gep.ll
preserve-signed-wrap.ll
promote-iv-to-eliminate-casts.ll
shrunk-constant.ll -disable-output is no longer needed with -analyze. 2010-01-26 19:25:59 +00:00
signed-trip-count.ll
single-element-range.ll
sink-alloca.ll
sink-trapping.ll
subtract.ll
tripcount_compute.ll
tripcount_infinite.ll
variable-stride-ivs-0.ll
variable-stride-ivs-1.ll