#
d31d82d7 |
| 23-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Now that PassInfo and Pass::ID have been separated, move the rest of the passes over to the new registration API.
llvm-svn: 111815
|
#
6e964c7f |
| 16-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Avoid #include <ScalarEvolution.h> in LoopSimplify.cpp, which doesn't actually use ScalarEvolution.
llvm-svn: 111124
|
#
aa445c07 |
| 14-Aug-2010 |
Dan Gohman <gohman@apple.com> |
LoopSimplify shouldn't split loop backedges that use indirectbr. PR7867.
llvm-svn: 111061
|
#
a7aed186 |
| 06-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Reapply r110396, with fixes to appease the Linux buildbot gods.
llvm-svn: 110460
|
#
bda59bd2 |
| 06-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Revert r110396 to fix buildbots.
llvm-svn: 110410
|
#
755aceb5 |
| 05-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Don't use PassInfo* as a type identifier for passes. Instead, use the address of the static ID member as the sole unique type identifier. Clean up APIs related to this change.
llvm-svn: 110396
|
#
0141c13b |
| 26-Jul-2010 |
Dan Gohman <gohman@apple.com> |
Remove LCSSA's bogus dependence on LoopSimplify and LoopSimplify's bogus dependence on DominanceFrontier. Instead, add an explicit DominanceFrontier pass in StandardPasses.h to ensure that it gets sc
Remove LCSSA's bogus dependence on LoopSimplify and LoopSimplify's bogus dependence on DominanceFrontier. Instead, add an explicit DominanceFrontier pass in StandardPasses.h to ensure that it gets scheduled at the right time.
Declare that loop unrolling preserves ScalarEvolution, and shuffle some getAnalysisUsages.
This eliminates one LoopSimplify and one LCCSA run in the standard compile opts sequence.
llvm-svn: 109413
show more ...
|
#
59f9970b |
| 22-Jul-2010 |
Gabor Greif <ggreif@gmail.com> |
keep in 80 cols
llvm-svn: 109122
|
#
efd7f9c3 |
| 16-Jul-2010 |
Dan Gohman <gohman@apple.com> |
Reorder the contents of various getAnalysisUsage functions, eliminating a redundant loopsimplify run from the default -O2 sequence.
llvm-svn: 108539
|
#
e7650c7c |
| 09-Jul-2010 |
Gabor Greif <ggreif@gmail.com> |
cache result of operator*
llvm-svn: 107983
|
#
f0821f39 |
| 09-Jul-2010 |
Gabor Greif <ggreif@gmail.com> |
cache operator*'s result (in multiple functions)
llvm-svn: 107965
|
#
d2d1ae10 |
| 22-Jun-2010 |
Dan Gohman <gohman@apple.com> |
Use pre-increment instead of post-increment when the result is not used.
llvm-svn: 106542
|
Revision tags: llvmorg-2.7.0 |
|
#
b21991c4 |
| 15-Mar-2010 |
Devang Patel <dpatel@apple.com> |
Skip debug info intrinsics.
llvm-svn: 98581
|
#
b7e0b874 |
| 10-Mar-2010 |
Dan Gohman <gohman@apple.com> |
Fix a comment.
llvm-svn: 98122
|
#
39917c7c |
| 01-Mar-2010 |
Dan Gohman <gohman@apple.com> |
Add some debug output to LoopSimplify.
llvm-svn: 97458
|
#
a9c205cc |
| 25-Feb-2010 |
Dan Gohman <gohman@apple.com> |
Make LoopSimplify change conditional branches in loop exiting blocks which branch on undef to branch on a boolean constant for the edge exiting the loop. This helps ScalarEvolution compute trip count
Make LoopSimplify change conditional branches in loop exiting blocks 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
show more ...
|
#
8abb67df |
| 05-Feb-2010 |
Dan Gohman <gohman@apple.com> |
Use a SmallSetVector instead of a SetVector; this code showed up as a malloc caller in a profile.
llvm-svn: 95407
|
#
e0da4b6c |
| 15-Jan-2010 |
Bob Wilson <bob.wilson@apple.com> |
Fix a comment typo.
llvm-svn: 93560
|
#
4edfcb88 |
| 21-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
revert r89298, which was committed without a testcase. I think the underlying PHI node insertion issue in SSAUpdate is fixed.
llvm-svn: 91821
|
#
1af19548 |
| 18-Dec-2009 |
Dan Gohman <gohman@apple.com> |
Update a comment.
llvm-svn: 91645
|
#
fbffe635 |
| 20-Nov-2009 |
Dan Gohman <gohman@apple.com> |
Make Loop::getLoopLatch() work on loops which don't have preheaders, as it may be used in contexts where preheader insertion may have failed due to an indirectbr.
Make LoopSimplify's LoopSimplify::S
Make Loop::getLoopLatch() work on loops which don't have preheaders, as it may be used in contexts where preheader insertion may have failed due to an indirectbr.
Make LoopSimplify's LoopSimplify::SeparateNestedLoop properly fail in the case that it would require splitting an indirectbr edge.
These fix PR5502.
llvm-svn: 89484
show more ...
|
#
dcef55b2 |
| 19-Nov-2009 |
Jim Grosbach <grosbach@apple.com> |
Eliminate duplicate phi nodes in loops. Loop rotation, for example, can introduce these, and it's beneficial to later passes to clean them up.
llvm-svn: 89298
|
#
928068a8 |
| 05-Nov-2009 |
Dan Gohman <gohman@apple.com> |
Avoid calling getUniqueExitBlocks from within LoopSimplify, as it depends on loops having dedicated exits, which LoopSimplify can no longer always guarantee.
llvm-svn: 86181
|
#
1ef784db |
| 05-Nov-2009 |
Dan Gohman <gohman@apple.com> |
The introduction of indirectbr meant the introduction of unsplittable critical edges, which means the introduction of loops which cannot be transformed to LoopSimplify form. Fix LoopSimplify to avoid
The introduction of indirectbr meant the introduction of unsplittable critical edges, which means the introduction of loops which cannot be transformed to LoopSimplify form. Fix LoopSimplify to avoid transforming such loops into invalid code.
llvm-svn: 86176
show more ...
|
#
974e12b2 |
| 25-Oct-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Remove includes of Support/Compiler.h that are no longer needed after the VISIBILITY_HIDDEN removal.
llvm-svn: 85043
|