LLVM
8.0.1
|
Base class for instructions consumed by the simulation pipeline. More...
#include "llvm/MCA/Instruction.h"
Public Member Functions | |
InstructionBase (const InstrDesc &D) | |
SmallVectorImpl< WriteState > & | getDefs () |
const ArrayRef< WriteState > | getDefs () const |
SmallVectorImpl< ReadState > & | getUses () |
const ArrayRef< ReadState > | getUses () const |
const InstrDesc & | getDesc () const |
unsigned | getLatency () const |
bool | hasDependentUsers () const |
unsigned | getNumUsers () const |
bool | isOptimizableMove () const |
void | setOptimizableMove () |
Base class for instructions consumed by the simulation pipeline.
This class tracks data dependencies as well as generic properties of the instruction.
Definition at line 359 of file Instruction.h.
Definition at line 376 of file Instruction.h.
|
inline |
Definition at line 378 of file Instruction.h.
|
inline |
Definition at line 379 of file Instruction.h.
Definition at line 382 of file Instruction.h.
Referenced by llvm::mca::Scheduler::dispatch(), llvm::mca::LSUnit::dispatch(), llvm::mca::InstructionTables::execute(), 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::ExecuteStage::notifyReservedOrReleasedBuffers(), llvm::mca::LSUnit::onInstructionExecuted(), llvm::mca::Scheduler::select(), and llvm::mca::verifyInstructionEliminated().
|
inline |
Definition at line 384 of file Instruction.h.
References llvm::mca::InstrDesc::MaxLatency.
|
inline |
Definition at line 391 of file Instruction.h.
References llvm::tgtok::Def.
|
inline |
Definition at line 380 of file Instruction.h.
Definition at line 381 of file Instruction.h.
|
inline |
Definition at line 386 of file Instruction.h.
References llvm::any_of(), llvm::tgtok::Def, and llvm::mca::WriteState::getNumUsers().
Referenced by llvm::mca::Scheduler::issueInstruction().
|
inline |
Definition at line 399 of file Instruction.h.
|
inline |
Definition at line 400 of file Instruction.h.