|
LLVM
10.0.0
|
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 602 of file Instruction.h.
|
inline |
Definition at line 607 of file Instruction.h.
|
inline |
Definition at line 608 of file Instruction.h.
| void llvm::mca::WriteRef::dump | ( | ) | const |
Definition at line 129 of file Instruction.cpp.
References llvm::dbgs().
|
inline |
Definition at line 610 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::addRegisterWrite(), and llvm::mca::RegisterFile::tryEliminateMove().
|
inline |
Definition at line 611 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::addRegisterWrite(), llvm::mca::RegisterFile::removeRegisterWrite(), and llvm::mca::RegisterFile::tryEliminateMove().
|
inline |
Definition at line 612 of file Instruction.h.
|
inline |
Definition at line 613 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 621 of file Instruction.h.
References llvm::mca::WriteState::isExecuted().
|
inline |
Definition at line 628 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::tryEliminateMove().
|
inline |
Definition at line 614 of file Instruction.h.
References assert().
Definition at line 629 of file Instruction.h.
References llvm::dump().
1.8.13