Verify loop info.
[oota-llvm.git] / include / llvm / Analysis / LoopInfo.h
index b332fd1f97c5979f0233e40bff17483697432c0f..07fa2f3a3800f301b8d423dd25401c30d4a76464 100644 (file)
@@ -217,6 +217,9 @@ public:
   /// the mapping in the LoopInfo class.
   void removeBlockFromLoop(BasicBlock *BB);
 
+  /// verifyLoop - Verify loop structure
+  void verifyLoop() const;
+
   void print(std::ostream &O, unsigned Depth = 0) const;
   void print(std::ostream *O, unsigned Depth = 0) const {
     if (O) print(*O, Depth);