summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/LoopPass.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/LoopPass.h')
-rw-r--r--include/llvm/Analysis/LoopPass.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/LoopPass.h b/include/llvm/Analysis/LoopPass.h
index 75e7688bbdc2..86cfecd9df11 100644
--- a/include/llvm/Analysis/LoopPass.h
+++ b/include/llvm/Analysis/LoopPass.h
@@ -129,6 +129,9 @@ public:
// Add a new loop into the loop queue.
void addLoop(Loop &L);
+ // Mark \p L as deleted.
+ void markLoopAsDeleted(Loop &L);
+
//===--------------------------------------------------------------------===//
/// SimpleAnalysis - Provides simple interface to update analysis info
/// maintained by various passes. Note, if required this interface can
@@ -152,6 +155,7 @@ private:
std::deque<Loop *> LQ;
LoopInfo *LI;
Loop *CurrentLoop;
+ bool CurrentLoopDeleted;
};
// This pass is required by the LCSSA transformation. It is used inside