LLVM API Documentation
#include <LiveInterval.h>

Public Types | |
| typedef BumpPtrAllocator | Allocator |
Public Member Functions | |
| VNInfo (unsigned i, SlotIndex d) | |
| VNInfo constructor. | |
| VNInfo (unsigned i, const VNInfo &orig) | |
| VNInfo construtor, copies values from orig, except for the value number. | |
| void | copyFrom (VNInfo &src) |
| Copy from the parameter into this VNInfo. | |
| bool | isPHIDef () const |
| bool | isUnused () const |
| Returns true if this value is unused. | |
| void | markUnused () |
| Mark this value as unused. | |
Public Attributes | |
| unsigned | id |
| The ID number of this value. | |
| SlotIndex | def |
| The index of the defining instruction. | |
VNInfo - Value Number Information. This class holds information about a machine level values, including definition and use points.
Definition at line 43 of file LiveInterval.h.
Definition at line 45 of file LiveInterval.h.
VNInfo constructor.
Definition at line 54 of file LiveInterval.h.
VNInfo construtor, copies values from orig, except for the value number.
Definition at line 59 of file LiveInterval.h.
| void llvm::VNInfo::copyFrom | ( | VNInfo & | src | ) | [inline] |
Copy from the parameter into this VNInfo.
Definition at line 64 of file LiveInterval.h.
References def.
Referenced by llvm::LiveInterval::MergeValueNumberInto().
| bool llvm::VNInfo::isPHIDef | ( | ) | const [inline] |
Returns true if this value is defined by a PHI instruction (or was, PHI instrucions may have been eliminated). PHI-defs begin at a block boundary, all other defs begin at register or EC slots.
Definition at line 72 of file LiveInterval.h.
References def, and llvm::SlotIndex::isBlock().
Referenced by llvm::ConnectedVNInfoEqClasses::Classify(), llvm::LiveIntervals::hasPHIKill(), isRematerializable(), llvm::LiveInterval::print(), and llvm::LiveIntervals::shrinkToUses().
| bool llvm::VNInfo::isUnused | ( | ) | const [inline] |
Returns true if this value is unused.
Definition at line 75 of file LiveInterval.h.
References def, and llvm::SlotIndex::isValid().
Referenced by llvm::ConnectedVNInfoEqClasses::Classify(), llvm::SplitEditor::finish(), llvm::LiveIntervals::hasPHIKill(), isRematerializable(), llvm::LiveInterval::print(), llvm::LiveInterval::RenumberValues(), and llvm::LiveIntervals::shrinkToUses().
| void llvm::VNInfo::markUnused | ( | ) | [inline] |
Mark this value as unused.
Definition at line 78 of file LiveInterval.h.
References def.
Referenced by llvm::LiveIntervals::shrinkToUses().
The index of the defining instruction.
Definition at line 51 of file LiveInterval.h.
Referenced by llvm::LiveRangeEdit::canRematerializeAt(), llvm::ConnectedVNInfoEqClasses::Classify(), 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(), llvm::LiveRangeQuery::LiveRangeQuery(), markUnused(), llvm::LiveInterval::print(), llvm::LiveIntervals::repairIntervalsInRange(), and llvm::LiveIntervals::shrinkToUses().
The ID number of this value.
Definition at line 48 of file LiveInterval.h.
Referenced by llvm::ConnectedVNInfoEqClasses::Classify(), llvm::LiveInterval::containsValue(), llvm::ConnectedVNInfoEqClasses::Distribute(), llvm::SplitEditor::enterIntvAfter(), llvm::SplitEditor::enterIntvBefore(), llvm::ConnectedVNInfoEqClasses::getEqClass(), llvm::LiveInterval::join(), llvm::SplitEditor::leaveIntvAfter(), llvm::SplitEditor::leaveIntvBefore(), llvm::LiveInterval::MergeValueNumberInto(), llvm::operator<<(), and llvm::LiveInterval::RenumberValues().