diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-18 06:54:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-18 06:54:34 +0000 |
commit | 9afb24bf0847b9f2ff0bf3f7f7405dcbe42fa38b (patch) | |
tree | 5b42a39ce26cb737f510f59f116218a1d621ab7c | |
parent | 50ca0a195a3843877252fc226e4ae62320084c53 (diff) |
Add a new method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13035 91177308-0d34-0410-b5e6-96231b3b80d8
-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); |