|
LLVM
10.0.0
|
Tracks uses of a register definition (e.g. More...
#include "llvm/MCA/Instruction.h"
Tracks uses of a register definition (e.g.
register write).
Each implicit/explicit register write is associated with an instance of this class. A WriteState object tracks the dependent users of a register write. It also tracks how many cycles are left before the write back stage.
Definition at line 99 of file Instruction.h.
|
inline |
Definition at line 150 of file Instruction.h.
References Other.
|
default |
Definition at line 71 of file Instruction.cpp.
References llvm::max(), llvm::mca::UNKNOWN_CYCLES, and llvm::mca::ReadState::writeStartEvent().
Referenced by llvm::mca::RegisterFile::addRegisterRead(), and llvm::mca::RegisterFile::addRegisterWrite().
| void llvm::mca::WriteState::addUser | ( | unsigned | IID, |
| WriteState * | Use | ||
| ) |
Definition at line 84 of file Instruction.cpp.
References assert(), llvm::max(), setDependentWrite(), llvm::mca::UNKNOWN_CYCLES, and writeStartEvent().
|
inline |
Definition at line 188 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::addRegisterWrite(), llvm::mca::RegisterFile::removeRegisterWrite(), and llvm::mca::RegisterFile::tryEliminateMove().
| void llvm::mca::WriteState::cycleEvent | ( | ) |
Definition at line 95 of file Instruction.cpp.
References llvm::mca::UNKNOWN_CYCLES.
| void llvm::mca::WriteState::dump | ( | ) | const |
Definition at line 124 of file Instruction.cpp.
References llvm::dbgs(), getCyclesLeft(), getLatency(), getRegisterID(), and llvm::mca::WriteDescriptor::OpIndex.
|
inline |
Definition at line 169 of file Instruction.h.
|
inline |
Definition at line 160 of file Instruction.h.
Referenced by dump(), and llvm::mca::RegisterFile::removeRegisterWrite().
|
inline |
Definition at line 168 of file Instruction.h.
|
inline |
Definition at line 165 of file Instruction.h.
|
inline |
Definition at line 164 of file Instruction.h.
References llvm::mca::WriteDescriptor::Latency.
Referenced by dump(), llvm::mca::Instruction::execute(), and onInstructionIssued().
|
inline |
Definition at line 181 of file Instruction.h.
References llvm::SmallVectorBase::size().
Referenced by llvm::mca::InstructionBase::hasDependentUsers().
|
inline |
Definition at line 163 of file Instruction.h.
|
inline |
Definition at line 162 of file Instruction.h.
References llvm::mca::WriteDescriptor::RegisterID.
Referenced by llvm::mca::RegisterFile::addRegisterWrite(), dump(), llvm::mca::RegisterFile::removeRegisterWrite(), and llvm::mca::RegisterFile::tryEliminateMove().
|
inline |
Definition at line 161 of file Instruction.h.
References llvm::mca::WriteDescriptor::SClassOrWriteResourceID.
Referenced by llvm::mca::RegisterFile::addRegisterRead().
|
inline |
Definition at line 190 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::addRegisterWrite(), and llvm::mca::RegisterFile::removeRegisterWrite().
|
inline |
Definition at line 199 of file Instruction.h.
Referenced by llvm::mca::WriteRef::isAvailable().
|
inline |
Definition at line 192 of file Instruction.h.
References getLatency().
Referenced by llvm::mca::Instruction::cycleEvent().
|
inline |
Definition at line 189 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::addRegisterWrite(), and llvm::mca::RegisterFile::removeRegisterWrite().
| void llvm::mca::WriteState::onInstructionIssued | ( | unsigned | IID | ) |
Definition at line 53 of file Instruction.cpp.
References assert(), getLatency(), llvm::max(), llvm::mca::UNKNOWN_CYCLES, writeStartEvent(), and llvm::mca::ReadState::writeStartEvent().
|
default |
|
inline |
Definition at line 203 of file Instruction.h.
Referenced by addUser().
|
inline |
Definition at line 206 of file Instruction.h.
References assert(), and llvm::SmallVectorBase::empty().
Referenced by llvm::mca::RegisterFile::tryEliminateMove().
|
inline |
Definition at line 212 of file Instruction.h.
References llvm::dump().
Referenced by llvm::mca::RegisterFile::addRegisterWrite().
|
inline |
Definition at line 205 of file Instruction.h.
Referenced by llvm::mca::RegisterFile::tryEliminateMove().
Definition at line 21 of file Instruction.cpp.
References llvm::mca::CriticalDependency::Cycles, llvm::mca::CriticalDependency::IID, and llvm::mca::CriticalDependency::RegID.
Referenced by addUser(), and onInstructionIssued().
1.8.13