- Mar 10, 2010
-
-
Dan Gohman authored
compute a set of reachable blocks for itself each time it is called, which is fairly frequently. llvm-svn: 98179
-
- Mar 01, 2010
-
-
Dan Gohman authored
llvm-svn: 97453
-
- Feb 25, 2010
-
-
Dan Gohman authored
which branch on undef to branch on a boolean constant for the edge exiting the loop. This helps ScalarEvolution compute trip counts for loops. Teach ScalarEvolution to recognize single-value PHIs, when safe, and ForgetSymbolicName to forget such single-value PHI nodes as apprpriate in ForgetSymbolicName. llvm-svn: 97126
-
- Feb 22, 2010
-
-
Dan Gohman authored
llvm-svn: 96780
-
Dan Gohman authored
llvm-svn: 96771
-
- Feb 19, 2010
-
-
Dale Johannesen authored
to be spurious llvm-svn: 96662
-
Dale Johannesen authored
llvm-svn: 96653
-
Dan Gohman authored
a loop exit value, so that if a loop gets deleted, ScalarEvolution isn't stick holding on to dangling SCEVAddRecExprs for that loop. This fixes PR6339. llvm-svn: 96626
-
- Feb 18, 2010
-
-
Dan Gohman authored
llvm-svn: 96614
-
- Feb 16, 2010
-
-
Duncan Sands authored
and T->isPointerTy(). Convert most instances of the first form to the second form. Requested by Chris. llvm-svn: 96344
-
- Feb 12, 2010
-
-
Dan Gohman authored
bug fixes, and with improved heuristics for analyzing foreign-loop addrecs. This change also flattens IVUsers, eliminating the stride-oriented groupings, which makes it easier to work with. llvm-svn: 95975
-
- Feb 10, 2010
-
-
Dan Gohman authored
llvm-svn: 95781
-
- Jan 21, 2010
-
-
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
-
David Greene authored
llvm-svn: 92609
-
- 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
-
- Nov 05, 2009
-
-
Dan Gohman authored
LoopSimplify form may not be available. llvm-svn: 86175
-
- Oct 31, 2009
-
-
Dan Gohman authored
clears out more information than just the stored backedge taken count. llvm-svn: 85664
-
- Oct 27, 2009
-
-
Devang Patel authored
llvm-svn: 85327
-
- Sep 27, 2009
-
-
Nick Lewycky authored
update all the callers. llvm-svn: 82889
-
- Sep 02, 2009
-
-
Chris Lattner authored
llvm-svn: 80766
-
- Aug 25, 2009
-
-
Dan Gohman authored
sinking code, since they are special. If the loop preheader happens to be the entry block of a function, don't sink static allocas out of it. This fixes PR4775. llvm-svn: 80010
-
- Aug 23, 2009
-
-
Chris Lattner authored
This required converting a bunch of stuff off DOUT and other cleanups. llvm-svn: 79819
-
- Aug 17, 2009
-
-
Dan Gohman authored
that Value's operator<< doesn't include one. llvm-svn: 79240
-
- Aug 13, 2009
-
-
Owen Anderson authored
llvm-svn: 78948
-
- Jul 31, 2009
-
-
Owen Anderson authored
llvm-svn: 77635
-
- Jul 26, 2009
-
-
Daniel Dunbar authored
llvm-svn: 77152
-
- Jul 25, 2009
-
-
Owen Anderson authored
Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types. More to come. llvm-svn: 77011
-
- Jul 22, 2009
-
-
Owen Anderson authored
llvm-svn: 76702
-
- Jul 16, 2009
-
-
Eli Friedman authored
using it. llvm-svn: 75852
-
- Jul 15, 2009
-
-
Dan Gohman authored
llvm-svn: 75723
-
- Jul 14, 2009
-
-
Dan Gohman authored
This results in the pass manager running IVUsers only once for indvars, instead of twice. llvm-svn: 75633
-
Dan Gohman authored
block has a single unique exiting block. llvm-svn: 75579
-
- Jul 10, 2009
-
-
Owen Anderson authored
This started as a small change, I swear. Unfortunately, lots of things call the [I|F]CmpInst constructors. Who knew!? llvm-svn: 75200
-
- Jul 07, 2009
-
-
Dan Gohman authored
llvm-svn: 74918
-
- Jul 03, 2009
-
-
Owen Anderson authored
llvm-svn: 74748
-
- Jul 02, 2009
-
-
Dan Gohman authored
PassManager was scheduling LCSSA before LoopSimplify, which does not preserve LCSSA. llvm-svn: 74661
-
- Jun 27, 2009
-
-
Dan Gohman authored
inserted to replace that value must dominate all of of the basic blocks associated with the uses of the value in the PHI, not just one of them. llvm-svn: 74376
-
Dan Gohman authored
This helps it avoid reusing an instruction that doesn't dominate all of the users, in cases where the original instruction was inserted before all of the users were known. This may result in redundant expansions of sub-expressions that depend on loop-unpredictable values in some cases, however this isn't very common, and it primarily impacts IndVarSimplify, so GVN can be expected to clean these up. This eliminates the need for IndVarSimplify's FixUsesBeforeDefs, which fixes several bugs. llvm-svn: 74352
-
- Jun 24, 2009
-
-
Dan Gohman authored
terminator, instead of after the last phi. This fixes a bug exposed by ScalarEvolution analyzing more kinds of loops. This fixes PR4436. llvm-svn: 74072
-