struct LiveRange::Segment
Declaration
struct LiveRange::Segment { /* full declaration omitted */ };
Description
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).
Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:161
Member Variables
- public llvm::SlotIndex start
- public llvm::SlotIndex end
- public llvm::VNInfo* valno = nullptr
Method Overview
- public Segment()
- public Segment(llvm::SlotIndex S, llvm::SlotIndex E, llvm::VNInfo * V)
- public bool contains(llvm::SlotIndex I) const
- public bool containsInterval(llvm::SlotIndex S, llvm::SlotIndex E) const
- public void dump() const
Methods
¶Segment()
Segment()
Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:167
¶Segment(llvm::SlotIndex S,
llvm::SlotIndex E,
llvm::VNInfo* V)
Segment(llvm::SlotIndex S,
llvm::SlotIndex E,
llvm::VNInfo* V)
Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:169
Parameters
¶bool contains(llvm::SlotIndex I) const
bool contains(llvm::SlotIndex I) const
Description
Return true if the index is covered by this segment.
Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:175
Parameters
¶bool containsInterval(llvm::SlotIndex S,
llvm::SlotIndex E) const
bool containsInterval(llvm::SlotIndex S,
llvm::SlotIndex E) const
Description
Return true if the given interval, [S, E), is covered by this segment.
Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:180
Parameters
¶void dump() const
void dump() const
Declared at: llvm/include/llvm/CodeGen/LiveInterval.h:196