diff options
-rw-r--r-- | include/llvm/Analysis/LoopInfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index 7daabe53ec..13017af504 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); |