LLVM
8.0.1
|
A reference to a register write. More...
#include "llvm/MCA/Instruction.h"
Public Member Functions | |
WriteRef () | |
WriteRef (unsigned SourceIndex, WriteState *WS) | |
unsigned | getSourceIndex () const |
const WriteState * | getWriteState () const |
WriteState * | getWriteState () |
void | invalidate () |
bool | isWriteZero () const |
bool | isAvailable () const |
Returns true if this register write has been executed, and the new register value is therefore available to users. More... | |
bool | isValid () const |
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 514 of file Instruction.h.
|
inline |
Definition at line 519 of file Instruction.h.
|
inline |
Definition at line 520 of file Instruction.h.
void llvm::mca::WriteRef::dump | ( | ) | const |
Definition at line 120 of file Instruction.cpp.
References llvm::dbgs().
|
inline |
Definition at line 522 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::addRegisterWrite(), and llvm::mca::RegisterFile::tryEliminateMove().
|
inline |
Definition at line 523 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::addRegisterWrite(), llvm::mca::RegisterFile::removeRegisterWrite(), and llvm::mca::RegisterFile::tryEliminateMove().
|
inline |
Definition at line 524 of file Instruction.h.
|
inline |
Definition at line 525 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::removeRegisterWrite().
|
inline |
Returns true if this register write has been executed, and the new register value is therefore available to users.
Definition at line 533 of file Instruction.h.
References llvm::mca::WriteState::isExecuted().
|
inline |
Definition at line 540 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::tryEliminateMove().
|
inline |
Definition at line 526 of file Instruction.h.
References assert().
Definition at line 541 of file Instruction.h.
References llvm::dump().