From: Chris Lattner Date: Sun, 18 Apr 2004 06:54:34 +0000 (+0000) Subject: Add a new method X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9afb24bf0847b9f2ff0bf3f7f7405dcbe42fa38b;p=oota-llvm.git Add a new method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13035 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index 7daabe53ec3..13017af5040 100644 --- a/include/llvm/Analysis/LoopInfo.h +++ b/include/llvm/Analysis/LoopInfo.h @@ -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);