|
LLVM
8.0.1
|
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 |
| 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 478 of file Instruction.h.
|
inline |
Definition at line 482 of file Instruction.h.
|
inline |
Definition at line 483 of file Instruction.h.
|
inline |
Definition at line 488 of file Instruction.h.
Referenced by llvm::mca::RetireControlUnit::consumeCurrentToken(), llvm::mca::Scheduler::cycleEvent(), llvm::mca::Scheduler::dispatch(), llvm::mca::LSUnit::dispatch(), llvm::mca::RetireStage::execute(), llvm::mca::InstructionTables::execute(), llvm::mca::ExecuteStage::execute(), llvm::mca::ExecuteStage::isAvailable(), llvm::mca::DispatchStage::isAvailable(), llvm::mca::Scheduler::isAvailable(), llvm::mca::LSUnit::isAvailable(), llvm::mca::Scheduler::isReady(), llvm::mca::LSUnit::isReady(), llvm::mca::Scheduler::issueInstruction(), llvm::mca::Scheduler::mustIssueImmediately(), llvm::mca::RetireStage::notifyInstructionRetired(), llvm::mca::ExecuteStage::notifyReservedOrReleasedBuffers(), llvm::mca::LSUnit::onInstructionExecuted(), llvm::mca::Scheduler::select(), and llvm::mca::verifyInstructionEliminated().
|
inline |
Definition at line 489 of file Instruction.h.
|
inline |
Definition at line 487 of file Instruction.h.
Referenced by llvm::mca::DefaultSchedulerStrategy::compare(), llvm::mca::LSUnit::dispatch(), llvm::mca::LSUnit::isReady(), and llvm::mca::LSUnit::onInstructionExecuted().
|
inline |
Invalidate this reference.
Definition at line 495 of file Instruction.h.
Referenced by llvm::mca::EntryStage::execute(), llvm::mca::Scheduler::issueInstruction(), and llvm::mca::Scheduler::select().
|
inline |
Returns true if this references a valid instruction.
Definition at line 492 of file Instruction.h.
Definition at line 485 of file Instruction.h.
|
inline |
Definition at line 498 of file Instruction.h.
Referenced by llvm::mca::operator<<().
1.8.13