[llvm-commits] CVS: llvm/include/llvm/Analysis/LoopInfo.h
Chris Lattner
sabre at nondot.org
Fri Oct 27 18:24:21 PDT 2006
Changes in directory llvm/include/llvm/Analysis:
LoopInfo.h updated: 1.58 -> 1.59
---
Log message:
add a method
---
Diffs of the changes: (+6 -0)
LoopInfo.h | 6 ++++++
1 files changed, 6 insertions(+)
Index: llvm/include/llvm/Analysis/LoopInfo.h
diff -u llvm/include/llvm/Analysis/LoopInfo.h:1.58 llvm/include/llvm/Analysis/LoopInfo.h:1.59
--- llvm/include/llvm/Analysis/LoopInfo.h:1.58 Tue Aug 29 17:29:16 2006
+++ llvm/include/llvm/Analysis/LoopInfo.h Fri Oct 27 20:24:05 2006
@@ -107,6 +107,12 @@
// induction variable canonicalization pass should be used to normalize loops
// for easy analysis. These methods assume canonical loops.
+ /// getExitingBlocks - Return all blocks inside the loop that have successors
+ /// outside of the loop. These are the blocks _inside of the current loop_
+ /// which branch out. The returned list is always unique.
+ ///
+ void getExitingBlocks(std::vector<BasicBlock*> &Blocks) const;
+
/// getExitBlocks - Return all of the successor blocks of this loop. These
/// are the blocks _outside of the current loop_ which are branched to.
///
More information about the llvm-commits
mailing list