Lines Matching refs:LoopInfo
1 //===- LoopInfo.cpp - Natural Loop Calculator -----------------------------===//
10 // This file defines the LoopInfo class that is used to identify natural loops
17 #include "llvm/Analysis/LoopInfo.h"
38 // Always verify loopinfo if expensive checking is enabled.
48 char LoopInfo::ID = 0;
49 INITIALIZE_PASS_BEGIN(LoopInfo, "loops", "Natural Loop Information", true, true)
51 INITIALIZE_PASS_END(LoopInfo, "loops", "Natural Loop Information", true, true)
386 LoopInfo *LI;
401 UnloopUpdater(Loop *UL, LoopInfo *LInfo) :
574 // LoopInfo implementation
576 bool LoopInfo::runOnFunction(Function &) {
585 /// point, but LoopInfo is still valid except for the removal of this loop.
589 void LoopInfo::updateUnloop(Loop *Unloop) {
606 // Remove the loop from the top-level LoopInfo object.
607 for (LoopInfo::iterator I = LI.begin();; ++I) {
644 void LoopInfo::verifyAnalysis() const {
645 // LoopInfo is a FunctionPass, but verifying every loop in the function
667 void LoopInfo::getAnalysisUsage(AnalysisUsage &AU) const {
672 void LoopInfo::print(raw_ostream &OS, const Module*) const {
683 void LoopBlocksDFS::perform(LoopInfo *LI) {