llvm-project/llvm/lib/Transforms
Dan Gohman 51ad99d2c5 Re-implement the main strength-reduction portion of LoopStrengthReduction.
This new version is much more aggressive about doing "full" reduction in
cases where it reduces register pressure, and also more aggressive about
rewriting induction variables to count down (or up) to zero when doing so
reduces register pressure.

It currently uses fairly simplistic algorithms for finding reuse
opportunities, but it introduces a new framework allows it to combine
multiple strategies at once to form hybrid solutions, instead of doing
all full-reduction or all base+index.

llvm-svn: 94061
2010-01-21 02:09:26 +00:00
..
Hello Fix a bunch of little errors that Clang complains about when its being pedantic 2009-12-19 07:05:23 +00:00
IPO Move per-function inline threshold calculation to a method. 2010-01-20 17:51:28 +00:00
InstCombine optimize ~(~X >>s Y) --> (X >>s Y), patch by Edmund Grimley 2010-01-19 18:16:19 +00:00
Instrumentation simplify this code. 2010-01-20 23:30:28 +00:00
Scalar Re-implement the main strength-reduction portion of LoopStrengthReduction. 2010-01-21 02:09:26 +00:00
Utils Switch Elts from vector to SmallVector 2010-01-20 06:56:16 +00:00
Makefile move instcombine to its own library, it's past time. 2010-01-04 06:23:24 +00:00