forked from OSchip/llvm-project
parent
f96ea29b39
commit
85b5bf833e
|
@ -114,8 +114,8 @@ public:
|
||||||
block_iterator block_begin() const { return Blocks.begin(); }
|
block_iterator block_begin() const { return Blocks.begin(); }
|
||||||
block_iterator block_end() const { return Blocks.end(); }
|
block_iterator block_end() const { return Blocks.end(); }
|
||||||
|
|
||||||
/// isLoopExiting - True if terminator in the block can branch to another block
|
/// isLoopExiting - True if terminator in the block can branch to another
|
||||||
/// that is outside of the current loop.
|
/// block that is outside of the current loop.
|
||||||
///
|
///
|
||||||
bool isLoopExiting(const BlockT *BB) const {
|
bool isLoopExiting(const BlockT *BB) const {
|
||||||
typedef GraphTraits<BlockT*> BlockTraits;
|
typedef GraphTraits<BlockT*> BlockTraits;
|
||||||
|
|
Loading…
Reference in New Issue