diff options
Diffstat (limited to 'include/llvm/CodeGen/MachineLoopRanges.h')
-rw-r--r-- | include/llvm/CodeGen/MachineLoopRanges.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineLoopRanges.h b/include/llvm/CodeGen/MachineLoopRanges.h index 3f2f24194a..6a30e8b53c 100644 --- a/include/llvm/CodeGen/MachineLoopRanges.h +++ b/include/llvm/CodeGen/MachineLoopRanges.h @@ -49,6 +49,9 @@ private: MachineLoopRange(const MachineLoop*, Allocator&, SlotIndexes&); public: + /// getLoop - Return the mapped machine loop. + const MachineLoop *getLoop() const { return Loop; } + /// overlaps - Return true if this loop overlaps the given range of machine /// inteructions. bool overlaps(SlotIndex Start, SlotIndex Stop); |