LLVM API Documentation
#include <LiveInterval.h>
Public Member Functions | |
Segment () | |
Segment (SlotIndex S, SlotIndex E, VNInfo *V) | |
bool | contains (SlotIndex I) const |
Return true if the index is covered by this segment. More... | |
bool | containsInterval (SlotIndex S, SlotIndex E) const |
Return true if the given interval, [S, E), is covered by this segment. More... | |
bool | operator< (const Segment &Other) const |
bool | operator== (const Segment &Other) const |
void | dump () const |
Public Attributes | |
SlotIndex | start |
SlotIndex | end |
VNInfo * | valno |
This represents a simple continuous liveness interval for a value. The start point is inclusive, the end point exclusive. These intervals are rendered as [start,end).
Definition at line 152 of file LiveInterval.h.
|
inline |
Definition at line 157 of file LiveInterval.h.
Definition at line 159 of file LiveInterval.h.
Return true if the index is covered by this segment.
Definition at line 165 of file LiveInterval.h.
Return true if the given interval, [S, E), is covered by this segment.
Definition at line 170 of file LiveInterval.h.
void LiveRange::Segment::dump | ( | ) | const |
Definition at line 585 of file LiveInterval.cpp.
References llvm::dbgs().
Definition at line 175 of file LiveInterval.h.
Definition at line 178 of file LiveInterval.h.
SlotIndex llvm::LiveRange::Segment::end |
Definition at line 154 of file LiveInterval.h.
Referenced by llvm::LiveRangeUpdater::add(), coalescable(), contains(), containsInterval(), operator<(), llvm::operator<<(), operator==(), llvm::overlap(), and llvm::LiveRange::removeSegment().
SlotIndex llvm::LiveRange::Segment::start |
Definition at line 153 of file LiveInterval.h.
Referenced by llvm::LiveRangeUpdater::add(), coalescable(), contains(), containsInterval(), operator<(), llvm::operator<(), llvm::operator<<(), operator==(), llvm::overlap(), and llvm::LiveRange::removeSegment().
VNInfo* llvm::LiveRange::Segment::valno |
Definition at line 155 of file LiveInterval.h.
Referenced by llvm::LiveRangeUpdater::add(), coalescable(), and llvm::operator<<().