LLVM: llvm::LiveRange::Segment Struct Reference (original) (raw)
This represents a simple continuous liveness interval for a value. More...
#include "[llvm/CodeGen/LiveInterval.h](LiveInterval%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| Segment ()=default | |
| Segment (SlotIndex S, SlotIndex E, VNInfo *V) | |
| bool | contains (SlotIndex I) const |
| Return true if the index is covered by this segment. | |
| bool | containsInterval (SlotIndex S, SlotIndex E) const |
| Return true if the given interval, [S, E), is covered by this segment. | |
| bool | operator< (const Segment &Other) const |
| bool | operator== (const Segment &Other) const |
| bool | operator!= (const Segment &Other) const |
| LLVM_ABI void | dump () const |
Detailed 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).
Definition at line 171 of file LiveInterval.h.
Constructor & Destructor Documentation
◆ Segment() [1/2]
| llvm::LiveRange::Segment::Segment ( ) | default |
|---|
◆ Segment() [2/2]
Member Function Documentation
◆ contains()
| bool llvm::LiveRange::Segment::contains ( SlotIndex I) const | inline |
|---|
◆ containsInterval()
◆ dump()
◆ operator!=()
◆ operator<()
◆ operator==()
Member Data Documentation
◆ end
Definition at line 173 of file LiveInterval.h.
Referenced by llvm::LiveRangeUpdater::add(), llvm::LiveIntervals::addKillFlags(), addSegmentsWithValNo(), llvm::LiveRange::assign(), llvm::X86InstrInfo::classifyLEAReg(), contains(), containsInterval(), llvm::RISCVInstrInfo::convertToThreeAddress(), llvm::RegPressureTracker::getLiveThroughAt(), llvm::LiveRange::MergeSegmentsInAsValue(), llvm::LiveRange::MergeValueInAsValue(), operator<(), llvm::operator<<(), operator==(), removeDeadSegment(), llvm::LiveRange::removeSegment(), Segment(), and llvm::LiveIntervals::shrinkToUses().
◆ start
Definition at line 172 of file LiveInterval.h.
Referenced by llvm::LiveRangeUpdater::add(), llvm::LiveIntervals::addKillFlags(), addSegmentsWithValNo(), llvm::LiveRange::append(), llvm::LiveRange::assign(), contains(), containsInterval(), llvm::RegPressureTracker::getLiveThroughAt(), llvm::LiveRange::MergeSegmentsInAsValue(), llvm::LiveRange::MergeValueInAsValue(), operator<(), llvm::operator<(), llvm::operator<(), llvm::operator<<(), operator==(), llvm::LiveRange::removeSegment(), and Segment().
◆ valno
VNInfo* llvm::LiveRange::Segment::valno = nullptr
The documentation for this struct was generated from the following files:
- include/llvm/CodeGen/LiveInterval.h
- lib/CodeGen/LiveInterval.cpp