LLVM API Documentation
#include <LiveInterval.h>
Public Types | |
typedef BumpPtrAllocator | Allocator |
Public Member Functions | |
VNInfo (unsigned i, SlotIndex d) | |
VNInfo constructor. More... | |
VNInfo (unsigned i, const VNInfo &orig) | |
VNInfo construtor, copies values from orig, except for the value number. More... | |
void | copyFrom (VNInfo &src) |
Copy from the parameter into this VNInfo. More... | |
bool | isPHIDef () const |
bool | isUnused () const |
Returns true if this value is unused. More... | |
void | markUnused () |
Mark this value as unused. More... | |
Public Attributes | |
unsigned | id |
The ID number of this value. More... | |
SlotIndex | def |
The index of the defining instruction. More... | |
VNInfo - Value Number Information. This class holds information about a machine level values, including definition and use points.
Definition at line 44 of file LiveInterval.h.
Definition at line 46 of file LiveInterval.h.
VNInfo constructor.
Definition at line 55 of file LiveInterval.h.
VNInfo construtor, copies values from orig, except for the value number.
Definition at line 60 of file LiveInterval.h.
|
inline |
Copy from the parameter into this VNInfo.
Definition at line 65 of file LiveInterval.h.
References def.
Referenced by llvm::LiveRange::MergeValueNumberInto().
|
inline |
Returns true if this value is defined by a PHI instruction (or was, PHI instructions may have been eliminated). PHI-defs begin at a block boundary, all other defs begin at register or EC slots.
Definition at line 73 of file LiveInterval.h.
References def, and llvm::SlotIndex::isBlock().
Referenced by llvm::ConnectedVNInfoEqClasses::Classify(), llvm::ScheduleDAGMI::computeCyclicCriticalPath(), llvm::LiveIntervals::hasPHIKill(), isRematerializable(), llvm::LiveRange::print(), and llvm::LiveIntervals::shrinkToUses().
|
inline |
Returns true if this value is unused.
Definition at line 76 of file LiveInterval.h.
References def, and llvm::SlotIndex::isValid().
Referenced by llvm::ConnectedVNInfoEqClasses::Classify(), llvm::SplitEditor::finish(), llvm::LiveIntervals::hasPHIKill(), isRematerializable(), llvm::LiveRange::print(), llvm::LiveRange::RenumberValues(), and llvm::LiveIntervals::shrinkToUses().
|
inline |
Mark this value as unused.
Definition at line 79 of file LiveInterval.h.
References def.
Referenced by llvm::LiveIntervals::shrinkToUses().
SlotIndex llvm::VNInfo::def |
The index of the defining instruction.
Definition at line 52 of file LiveInterval.h.
Referenced by llvm::ScheduleDAGInstrs::addVRegUseDeps(), llvm::LiveRangeEdit::canRematerializeAt(), llvm::ConnectedVNInfoEqClasses::Classify(), llvm::ScheduleDAGMI::computeCyclicCriticalPath(), copyFrom(), llvm::SplitEditor::enterIntvAfter(), llvm::SplitEditor::enterIntvAtEnd(), llvm::SplitEditor::enterIntvBefore(), llvm::SplitEditor::finish(), llvm::LiveIntervals::hasPHIKill(), isPHIDef(), isRematerializable(), isUnused(), llvm::SplitEditor::leaveIntvAfter(), llvm::SplitEditor::leaveIntvAtTop(), llvm::SplitEditor::leaveIntvBefore(), markUnused(), llvm::LiveRange::print(), llvm::LiveRange::Query(), and llvm::LiveIntervals::shrinkToUses().
unsigned llvm::VNInfo::id |
The ID number of this value.
Definition at line 49 of file LiveInterval.h.
Referenced by llvm::ConnectedVNInfoEqClasses::Classify(), llvm::LiveRange::containsValue(), llvm::ConnectedVNInfoEqClasses::Distribute(), llvm::SplitEditor::enterIntvAfter(), llvm::SplitEditor::enterIntvBefore(), llvm::ConnectedVNInfoEqClasses::getEqClass(), llvm::LiveRange::join(), llvm::SplitEditor::leaveIntvAfter(), llvm::SplitEditor::leaveIntvBefore(), llvm::LiveRange::MergeValueNumberInto(), llvm::operator<<(), and llvm::LiveRange::RenumberValues().