LLVM: llvm::mca::WriteRef Class Reference (original) (raw)

A reference to a register write. More...

#include "[llvm/MCA/HardwareUnits/RegisterFile.h](RegisterFile%5F8h%5Fsource.html)"

Public Member Functions
WriteRef ()
WriteRef (unsigned SourceIndex, WriteState *WS)
unsigned getSourceIndex () const
unsigned getWriteBackCycle () const
const WriteState * getWriteState () const
WriteState * getWriteState ()
unsigned getWriteResourceID () const
MCPhysReg getRegisterID () const
void commit ()
void notifyExecuted (unsigned Cycle)
bool hasKnownWriteBackCycle () const
bool isWriteZero () const
bool isValid () const
bool isAvailable () const
Returns true if this register write has been executed, and the new register value is therefore available to users.
bool operator== (const WriteRef &Other) const
void dump () const

A reference to a register write.

This class is mainly used by the register file to describe register mappings. It correlates a register write to the source index of the defining instruction.

Definition at line 38 of file RegisterFile.h.

WriteRef() [1/2]

llvm::mca::WriteRef::WriteRef ( ) inline

WriteRef() [2/2]

commit()

void llvm::mca::WriteRef::commit ( )

dump()

void llvm::mca::WriteRef::dump ( ) const

getRegisterID()

MCPhysReg llvm::mca::WriteRef::getRegisterID ( ) const

getSourceIndex()

unsigned llvm::mca::WriteRef::getSourceIndex ( ) const inline

getWriteBackCycle()

unsigned llvm::mca::WriteRef::getWriteBackCycle ( ) const

getWriteResourceID()

unsigned llvm::mca::WriteRef::getWriteResourceID ( ) const

getWriteState() [1/2]

WriteState * llvm::mca::WriteRef::getWriteState ( ) inline

getWriteState() [2/2]

hasKnownWriteBackCycle()

bool llvm::mca::WriteRef::hasKnownWriteBackCycle ( ) const

isAvailable()

bool llvm::mca::WriteRef::isAvailable ( ) const inline

isValid()

bool llvm::mca::WriteRef::isValid ( ) const inline

isWriteZero()

bool llvm::mca::WriteRef::isWriteZero ( ) const

notifyExecuted()

void llvm::mca::WriteRef::notifyExecuted ( unsigned Cycle )

operator==()


The documentation for this class was generated from the following files: