aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/LoopIterator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Analysis/LoopIterator.h b/include/llvm/Analysis/LoopIterator.h
index 2797e67b09..a8221f48a3 100644
--- a/include/llvm/Analysis/LoopIterator.h
+++ b/include/llvm/Analysis/LoopIterator.h
@@ -61,6 +61,9 @@ public:
Loop *getLoop() const { return L; }
+ /// Traverse the loop blocks and store the DFS result.
+ void perform(LoopInfo *LI);
+
/// Return true if postorder numbers are assigned to all loop blocks.
bool isComplete() const { return PostBlocks.size() == L->getNumBlocks(); }