llvm-6502/test/Transforms/LoopStrengthReduce
Dan Gohman c17e0cf6c0 Implement "superhero" strength reduction, or full strength
reduction of address calculations down to basic pointer arithmetic.
This is currently off by default, as it needs a few other features
before it becomes generally useful. And even when enabled, full
strength reduction is only performed when it doesn't increase
register pressure, and when several other conditions are true.

This also factors out a bunch of exisiting LSR code out of
StrengthReduceStridedIVUsers into separate functions, and tidies
up IV insertion. This actually decreases register pressure even
in non-superhero mode. The change in iv-users-in-other-loops.ll
is an example of this; there are two more adds because there are
two fewer leas, and there is less spilling.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65108 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-20 04:17:46 +00:00
..
2005-08-15-AddRecIV.ll
2005-08-17-OutOfLoopVariant.ll
2005-09-12-UsesOutOutsideOfLoop.ll
2007-04-23-UseIterator.ll
2008-08-06-CmpStride.ll PR2535, not PR2355. 2008-08-06 18:06:48 +00:00
2008-08-13-CmpStride.ll Check sign to detect overflow before changing compare stride. 2008-08-13 02:05:14 +00:00
2008-08-14-ShadowIV.ll If IV is used in a int-to-float cast inside the loop then try to eliminate the cast operation. 2008-08-26 17:57:54 +00:00
2008-09-09-Overflow.ll fix overflow check. 2008-09-09 20:54:34 +00:00
2009-01-13-nonconstant-stride-outside-loop.ll Fix the time regression I introduced in 464.h264ref with 2009-01-14 02:35:31 +00:00
2009-02-09-ivs-different-sizes.ll Fix PR 3471, and some cleanups. 2009-02-09 22:14:15 +00:00
change-compare-stride-trickiness-0.ll
change-compare-stride-trickiness-1.ll
dead-phi.ll
dg.exp
different-type-ivs.ll
dont_insert_redundant_ops.ll
dont_reduce_bytes.ll
dont-hoist-simple-loop-constants.ll
exit_compare_live_range.ll
invariant_value_first_arg.ll
invariant_value_first.ll
nested-reduce.ll
ops_after_indvar.ll
phi_node_update_multiple_preds.ll
pr2570.ll
pr3399.ll Strengthen the "non-constant stride must dominate loop preheader" check. 2009-02-17 00:13:06 +00:00
pr3571.ll Fix pr3571: If stride is a value defined by an instruction, make sure it dominates the loop preheader. When IV users are strength reduced, the stride is inserted into the preheader. It could create a use before def situation. 2009-02-15 06:06:15 +00:00
related_indvars.ll
remove_indvar.ll
share_code_in_preheader.ll
share_ivs.ll
use_postinc_value_outside_loop.ll Implement "superhero" strength reduction, or full strength 2009-02-20 04:17:46 +00:00
var_stride_used_by_compare.ll
variable_stride.ll