aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopSimplify.cpp
AgeCommit message (Expand)AuthorFilesLines
2011-01-02split dom frontier handling stuff out to its own DominanceFrontier header,Chris Lattner1-21/+13
2011-01-02Fix PR8702 by not having LoopSimplify claim to preserve LCSSA form. As descr...Duncan Sands1-15/+12
2010-11-18Factor code for testing whether replacing one value with anotherDuncan Sands1-14/+16
2010-11-16Have a few places that want to simplify phi nodes use SimplifyInstructionDuncan Sands1-3/+4
2010-10-19Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson1-6/+3
2010-10-12Begin adding static dependence information to passes, which will allow us toOwen Anderson1-1/+10
2010-10-07Now with fewer extraneous semicolons!Owen Anderson1-1/+1
2010-09-04Fix LoopSimplify to notify ScalarEvolution when splitting a loop backedgeDan Gohman1-1/+10
2010-08-23Now that PassInfo and Pass::ID have been separated, move the rest of the pass...Owen Anderson1-2/+2
2010-08-16Avoid #include <ScalarEvolution.h> in LoopSimplify.cpp, which doesn'tDan Gohman1-2/+1
2010-08-14LoopSimplify shouldn't split loop backedges that use indirectbr. PR7867.Dan Gohman1-0/+5
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson1-2/+2
2010-08-06Revert r110396 to fix buildbots.Owen Anderson1-2/+2
2010-08-05Don't use PassInfo* as a type identifier for passes. Instead, use the addres...Owen Anderson1-2/+2
2010-07-26Remove LCSSA's bogus dependence on LoopSimplify and LoopSimplify's bogusDan Gohman1-9/+4
2010-07-22keep in 80 colsGabor Greif1-3/+4
2010-07-16Reorder the contents of various getAnalysisUsage functions, eliminatingDan Gohman1-3/+10
2010-07-09cache result of operator*Gabor Greif1-2/+4
2010-07-09cache operator*'s result (in multiple functions)Gabor Greif1-15/+22
2010-06-22Use pre-increment instead of post-increment when the result is not used.Dan Gohman1-3/+3
2010-03-15Skip debug info intrinsics.Devang Patel1-0/+4
2010-03-10Fix a comment.Dan Gohman1-1/+1
2010-03-01Add some debug output to LoopSimplify.Dan Gohman1-0/+30
2010-02-25Make LoopSimplify change conditional branches in loop exiting blocksDan Gohman1-2/+16
2010-02-05Use a SmallSetVector instead of a SetVector; this code showed up as aDan Gohman1-2/+3
2010-01-15Fix a comment typo.Bob Wilson1-1/+1
2009-12-21revert r89298, which was committed without a testcase. I thinkChris Lattner1-6/+0
2009-12-18Update a comment.Dan Gohman1-1/+1
2009-11-20Make Loop::getLoopLatch() work on loops which don't have preheaders, asDan Gohman1-1/+6
2009-11-19Eliminate duplicate phi nodes in loops. Loop rotation, for example, can intro...Jim Grosbach1-0/+6
2009-11-05Avoid calling getUniqueExitBlocks from within LoopSimplify, as it dependsDan Gohman1-1/+8
2009-11-05The introduction of indirectbr meant the introduction ofDan Gohman1-21/+82
2009-10-25Remove includes of Support/Compiler.h that are no longer needed after theNick Lewycky1-1/+0
2009-10-25Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.Nick Lewycky1-1/+1
2009-09-30Fix this code so that it doesn't try to iterate through a std::vectorDan Gohman1-3/+4
2009-09-28Convert LoopSimplify and LoopExtractor from FunctionPass to LoopPass.Dan Gohman1-83/+48
2009-09-08Re-apply r80926, with fixes: keep the domtree informed of new blocksDan Gohman1-29/+11
2009-09-06Revert r80926. It causes loop unswitch assertion and slow down some JIT tests...Evan Cheng1-12/+28
2009-09-03Add a verifyAnalysis to LoopInfo, LoopSimplify, and LCSSA form that verifyDan Gohman1-28/+12
2009-09-03Change PHINode::hasConstantValue to have a DominatorTree argumentDan Gohman1-9/+8
2009-08-13Push LLVMContexts through the IntegerType APIs.Owen Anderson1-2/+3
2009-07-30Move more code back to 2.5 APIs.Owen Anderson1-1/+1
2009-07-22Get rid of the Pass+Context magic.Owen Anderson1-1/+1
2009-07-15Make makeLoopInvariant report whether it made any changes or not,Dan Gohman1-6/+4
2009-07-14Update LoopSimplify and LoopUnswitch to use the new makeLoopInvariantDan Gohman1-14/+9
2009-07-05More LLVMContext-ification.Owen Anderson1-1/+2
2009-06-30Minor code simplification.Dan Gohman1-3/+2
2009-06-27Remove the block from the LoopInfo, rather than just the Loop.Dan Gohman1-1/+1
2009-06-27Teach LoopSimplify how to merge multiple loop exits into a single exit,Dan Gohman1-0/+75
2009-01-28Rename getAnalysisToUpdate to getAnalysisIfAvailable.Duncan Sands1-2/+2