diff options
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.h')
| -rw-r--r-- | llvm/lib/CodeGen/SplitKit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.h b/llvm/lib/CodeGen/SplitKit.h index a387896..688e4a5 100644 --- a/llvm/lib/CodeGen/SplitKit.h +++ b/llvm/lib/CodeGen/SplitKit.h @@ -144,6 +144,9 @@ public: /// isThroughBlock - Return true if CurLI is live through MBB without uses. bool isThroughBlock(unsigned MBB) const { return ThroughBlocks.test(MBB); } + /// getThroughBlocks - Return the set of through blocks. + const BitVector &getThroughBlocks() const { return ThroughBlocks; } + typedef SmallPtrSet<const MachineBasicBlock*, 16> BlockPtrSet; /// getMultiUseBlocks - Add basic blocks to Blocks that may benefit from |
