LLVM
12.0.0git
|
Tracks register operand latency in cycles. More...
#include "llvm/MCA/Instruction.h"
Public Member Functions | |
ReadState (const ReadDescriptor &Desc, MCPhysReg RegID) | |
const ReadDescriptor & | getDescriptor () const |
unsigned | getSchedClass () const |
MCPhysReg | getRegisterID () const |
unsigned | getRegisterFileID () const |
const CriticalDependency & | getCriticalRegDep () const |
bool | isPending () const |
bool | isReady () const |
bool | isImplicitRead () const |
bool | isIndependentFromDef () const |
void | setIndependentFromDef () |
void | cycleEvent () |
void | writeStartEvent (unsigned IID, MCPhysReg RegID, unsigned Cycles) |
void | setDependentWrites (unsigned Writes) |
bool | isReadZero () const |
void | setReadZero () |
void | setPRF (unsigned ID) |
Tracks register operand latency in cycles.
A read may be dependent on more than one write. This occurs when some writes only partially update the register associated to this read.
Definition at line 227 of file Instruction.h.
|
inline |
Definition at line 257 of file Instruction.h.
void llvm::mca::ReadState::cycleEvent | ( | ) |
Definition at line 106 of file Instruction.cpp.
References llvm::mca::UNKNOWN_CYCLES.
|
inline |
Definition at line 266 of file Instruction.h.
|
inline |
Definition at line 262 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::addRegisterRead().
|
inline |
Definition at line 265 of file Instruction.h.
|
inline |
Definition at line 264 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::addRegisterRead(), and llvm::mca::RegisterFile::tryEliminateMove().
|
inline |
Definition at line 263 of file Instruction.h.
References llvm::mca::ReadDescriptor::SchedClassID.
|
inline |
Definition at line 270 of file Instruction.h.
References llvm::mca::ReadDescriptor::isImplicitRead().
|
inline |
Definition at line 272 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::addRegisterRead().
|
inline |
Definition at line 268 of file Instruction.h.
|
inline |
Definition at line 269 of file Instruction.h.
|
inline |
Definition at line 282 of file Instruction.h.
|
inline |
Definition at line 277 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::addRegisterRead().
|
inline |
Definition at line 273 of file Instruction.h.
Referenced by llvm::mca::InstrBuilder::createInstruction().
|
inline |
Definition at line 284 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::addRegisterRead().
|
inline |
Definition at line 283 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::addRegisterRead(), and llvm::mca::RegisterFile::tryEliminateMove().
Definition at line 30 of file Instruction.cpp.
References assert(), llvm::mca::CriticalDependency::Cycles, llvm::mca::CriticalDependency::IID, llvm::mca::CriticalDependency::RegID, and llvm::mca::UNKNOWN_CYCLES.
Referenced by llvm::mca::WriteState::onInstructionIssued().