Add a new method
authorChris Lattner <sabre@nondot.org>
Sun, 18 Apr 2004 06:54:34 +0000 (06:54 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 18 Apr 2004 06:54:34 +0000 (06:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13035 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LoopInfo.h

index 7daabe53ec38329fc6d26c2a336af6a124777154..13017af50405a75f0eb0af6e94d4c90c968be749 100644 (file)
@@ -275,6 +275,11 @@ public:
   /// list with the indicated loop.
   void changeTopLevelLoop(Loop *OldLoop, Loop *NewLoop);
 
+  /// removeBlock - This method completely removes BB from all data structures,
+  /// including all of the Loop objects it is nested in and our mapping from
+  /// BasicBlocks to loops.
+  void removeBlock(BasicBlock *BB);
+
   static void stub();  // Noop
 private:
   void Calculate(const DominatorSet &DS);