[llvm-commits] CVS: llvm/include/llvm/Analysis/LoopInfo.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Sep 25 14:10:02 PDT 2002
Changes in directory llvm/include/llvm/Analysis:
LoopInfo.h updated: 1.16 -> 1.17
---
Log message:
Checkin stub for Misha to implement
---
Diffs of the changes:
Index: llvm/include/llvm/Analysis/LoopInfo.h
diff -u llvm/include/llvm/Analysis/LoopInfo.h:1.16 llvm/include/llvm/Analysis/LoopInfo.h:1.17
--- llvm/include/llvm/Analysis/LoopInfo.h:1.16 Mon Aug 26 11:45:19 2002
+++ llvm/include/llvm/Analysis/LoopInfo.h Wed Sep 25 14:10:06 2002
@@ -40,6 +40,10 @@
inline const std::vector<Loop*> &getSubLoops() const { return SubLoops; }
inline const std::vector<BasicBlock*> &getBlocks() const { return Blocks; }
+ // isLoopExit - True if terminator in the block can branch to another block
+ // that is outside of the current loop.
+ bool isLoopExit(BasicBlock *BB) const;
+
void print(std::ostream &O) const;
private:
friend class LoopInfo;
@@ -96,8 +100,6 @@
}
// isLoopEnd - True if block jumps to loop entry
bool isLoopEnd(BasicBlock *BB) const;
- // isLoopExit - True if block is the loop exit
- bool isLoopExit(BasicBlock *BB) const;
#endif
// runOnFunction - Pass framework implementation
More information about the llvm-commits
mailing list