- Jan 22, 2010
-
-
Dan Gohman authored
loop-variant components, adds must be inserted after the increment. Keep track of the increment position for this case, and insert these adds in the correct location. llvm-svn: 94110
-
- Jan 21, 2010
-
-
Dan Gohman authored
llvm-svn: 94108
-
Dan Gohman authored
operands exceeds the number of registers used in the initial solution, as that wouldn't lead to a profitable solution anyway. llvm-svn: 94107
-
Dan Gohman authored
llvm-svn: 94104
-
Dan Gohman authored
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
-
- Jan 05, 2010
-
-
Dan Gohman authored
llvm-svn: 92735
-
- Dec 23, 2009
-
-
David Greene authored
Remove dump routine and the associated Debug.h from a header. Patch up other files to compensate. llvm-svn: 92075
-
- Dec 18, 2009
-
-
Dan Gohman authored
contains another loop, or an instruction. The loop form is substantially more efficient on large loops than the typical code it replaces. llvm-svn: 91654
-
Dan Gohman authored
llvm-svn: 91653
-
Dan Gohman authored
llvm-svn: 91647
-
Dan Gohman authored
of 91296 that caused trouble -- the Processed list needs to be preserved for the livetime of the pass, as AddUsersIfInteresting is called from other passes. llvm-svn: 91641
-
- Dec 17, 2009
-
-
Evan Cheng authored
Revert 91280-91283, 91286-91289, 91291, 91293, 91295-91296. It apparently introduced a non-deterministic behavior in the optimizer somewhere. llvm-svn: 91598
-
- Dec 15, 2009
-
-
Dan Gohman authored
llvm-svn: 91432
-
- Dec 14, 2009
-
-
Dan Gohman authored
condition was inverted when the code was converted to contains(). llvm-svn: 91295
-
Dan Gohman authored
llvm-svn: 91293
-
Dan Gohman authored
the ScalarEvolution pointer into the functions which need it. llvm-svn: 91289
-
Dan Gohman authored
llvm-svn: 91288
-
Dan Gohman authored
llvm-svn: 91287
-
Dan Gohman authored
llvm-svn: 91283
-
Dan Gohman authored
llvm-svn: 91282
-
Dan Gohman authored
SCEVExpander does this automatically. llvm-svn: 91281
-
Dan Gohman authored
llvm-svn: 91280
-
- Nov 17, 2009
-
-
Jim Grosbach authored
llvm-svn: 89145
-
Jim Grosbach authored
llvm-svn: 89123
-
Evan Cheng authored
llvm-svn: 89116
-
Jim Grosbach authored
llvm-svn: 89110
-
- Nov 12, 2009
-
-
Evan Cheng authored
cannot be folded into target cmp instruction. - Avoid a phase ordering issue where early cmp optimization would prevent the later count-to-zero optimization. - Add missing checks which could cause LSR to reuse stride that does not have users. - Fix a bug in count-to-zero optimization code which failed to find the pre-inc iv's phi node. - Remove, tighten, loosen some incorrect checks disable valid transformations. - Quite a bit of code clean up. llvm-svn: 86969
-
- Nov 11, 2009
-
-
Evan Cheng authored
llvm-svn: 86761
-
- Nov 10, 2009
-
-
Evan Cheng authored
llvm-svn: 86715
-
- Nov 06, 2009
-
-
Dan Gohman authored
llvm-svn: 86193
-
- Nov 05, 2009
-
-
Dan Gohman authored
LoopSimplify form may not be available. llvm-svn: 86175
-
- Oct 26, 2009
-
-
Dan Gohman authored
strides for now, because it doesn't handle them correctly. This fixes a miscompile of SingleSource/Benchmarks/Misc-C++/ray. This problem was usually hidden because indvars transforms such induction variables into negations of canonical induction variables. llvm-svn: 85118
-
- Oct 25, 2009
-
-
Nick Lewycky authored
CmpInst::isSigned. llvm-svn: 85037
-
- Sep 27, 2009
-
-
Nick Lewycky authored
update all the callers. llvm-svn: 82889
-
- Sep 08, 2009
-
-
Dan Gohman authored
that get created during loop unswitching, and fix SplitBlockPredecessors' LCSSA updating code to create new PHIs instead of trying to just move existing ones. Also, optimize Loop::verifyLoop, since it gets called a lot. Use searches on a sorted list of blocks instead of calling the "contains" function, as is done in other places in the Loop class, since "contains" does a linear search. Also, don't call verifyLoop from LoopSimplify or LCSSA, as the PassManager is already calling verifyLoop as part of LoopInfo's verifyAnalysis. llvm-svn: 81221
-
- Sep 06, 2009
-
-
Evan Cheng authored
llvm-svn: 81101
-
- Sep 03, 2009
-
-
Dan Gohman authored
that these passes are properly preserved. Fix several transformation passes that claimed to preserve LoopSimplify form but weren't. llvm-svn: 80926
-
- Sep 02, 2009
-
-
Chris Lattner authored
llvm-svn: 80766
-
- Aug 23, 2009
-
-
Chris Lattner authored
This required converting a bunch of stuff off DOUT and other cleanups. llvm-svn: 79819
-
- Aug 13, 2009
-
-
Owen Anderson authored
llvm-svn: 78948
-