mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 14:47:00 +00:00
Checkin stub for Misha to implement
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3919 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9e39816f13
commit
9474dd68e8
@ -40,6 +40,10 @@ public:
|
||||
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 @@ public:
|
||||
}
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user