|
LLVM
10.0.0
|
An InstRef contains both a SourceMgr index and Instruction pair. More...
#include "llvm/MCA/Instruction.h"
Public Member Functions | |
| InstRef () | |
| InstRef (unsigned Index, Instruction *I) | |
| bool | operator== (const InstRef &Other) const |
| bool | operator!= (const InstRef &Other) const |
| bool | operator< (const InstRef &Other) const |
| unsigned | getSourceIndex () const |
| Instruction * | getInstruction () |
| const Instruction * | getInstruction () const |
| operator bool () const | |
| Returns true if this references a valid instruction. More... | |
| void | invalidate () |
| Invalidate this reference. More... | |
| void | print (raw_ostream &OS) const |
An InstRef contains both a SourceMgr index and Instruction pair.
The index is used as a unique identifier for the instruction. MCA will make use of this index as a key throughout MCA.
Definition at line 562 of file Instruction.h.
|
inline |
Definition at line 566 of file Instruction.h.
|
inline |
Definition at line 567 of file Instruction.h.
|
inline |
Definition at line 576 of file Instruction.h.
Referenced by llvm::mca::Scheduler::analyzeDataDependencies(), llvm::mca::RetireControlUnit::consumeCurrentToken(), llvm::mca::Scheduler::cycleEvent(), llvm::mca::RetireControlUnit::dispatch(), llvm::mca::Scheduler::dispatch(), llvm::mca::LSUnit::dispatch(), llvm::mca::DispatchStage::DispatchStage(), llvm::mca::InstructionTables::execute(), llvm::mca::RetireStage::execute(), llvm::mca::ExecuteStage::execute(), llvm::mca::RetireControlUnit::getCurrentToken(), llvm::mca::LSUnitBase::hasDependentUsers(), llvm::mca::ExecuteStage::isAvailable(), llvm::mca::DispatchStage::isAvailable(), llvm::mca::Scheduler::isAvailable(), llvm::mca::LSUnit::isAvailable(), llvm::mca::LSUnitBase::isPending(), llvm::mca::LSUnitBase::isReady(), llvm::mca::Scheduler::issueInstruction(), llvm::mca::LSUnitBase::isWaiting(), llvm::mca::Scheduler::mustIssueImmediately(), llvm::mca::RetireStage::notifyInstructionRetired(), llvm::mca::ExecuteStage::notifyReservedOrReleasedBuffers(), llvm::mca::MemoryGroup::onGroupIssued(), llvm::mca::LSUnitBase::onInstructionExecuted(), llvm::mca::LSUnit::onInstructionExecuted(), llvm::mca::MemoryGroup::onInstructionIssued(), llvm::mca::LSUnitBase::onInstructionIssued(), llvm::mca::LSUnitBase::onInstructionRetired(), llvm::mca::Scheduler::select(), and llvm::mca::verifyInstructionEliminated().
|
inline |
Definition at line 577 of file Instruction.h.
|
inline |
Definition at line 575 of file Instruction.h.
Referenced by llvm::mca::DefaultSchedulerStrategy::compare(), llvm::mca::DispatchStage::DispatchStage(), llvm::mca::Scheduler::isAvailable(), llvm::mca::MemoryGroup::onGroupIssued(), and llvm::mca::LSUnitBase::onInstructionRetired().
|
inline |
Invalidate this reference.
Definition at line 583 of file Instruction.h.
Referenced by llvm::mca::EntryStage::execute(), llvm::mca::Scheduler::issueInstruction(), and llvm::mca::Scheduler::select().
|
inlineexplicit |
Returns true if this references a valid instruction.
Definition at line 580 of file Instruction.h.
Definition at line 570 of file Instruction.h.
Definition at line 571 of file Instruction.h.
Definition at line 569 of file Instruction.h.
|
inline |
Definition at line 586 of file Instruction.h.
Referenced by llvm::mca::operator<<().
1.8.13