mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 22:43:29 +00:00
Allow const bb's to be checked for containment in a loop
llvm-svn: 2754
This commit is contained in:
parent
779f966ce5
commit
fcd8e95495
@ -34,7 +34,7 @@ public:
|
||||
inline BasicBlock *getHeader() const { return Blocks.front(); }
|
||||
|
||||
// contains - Return true of the specified basic block is in this loop
|
||||
bool contains(BasicBlock *BB) const;
|
||||
bool contains(const BasicBlock *BB) const;
|
||||
|
||||
// getSubLoops - Return the loops contained entirely within this loop
|
||||
inline const std::vector<Loop*> &getSubLoops() const { return SubLoops; }
|
||||
|
Loading…
Reference in New Issue
Block a user