|
LLVM
10.0.0
|
A node of a memory dependency graph. More...
#include "llvm/MCA/HardwareUnits/LSUnit.h"
Public Member Functions | |
| MemoryGroup () | |
| MemoryGroup (MemoryGroup &&)=default | |
| ArrayRef< MemoryGroup * > | getSuccessors () const |
| unsigned | getNumSuccessors () const |
| unsigned | getNumPredecessors () const |
| unsigned | getNumExecutingPredecessors () const |
| unsigned | getNumExecutedPredecessors () const |
| unsigned | getNumInstructions () const |
| unsigned | getNumExecuting () const |
| unsigned | getNumExecuted () const |
| const InstRef & | getCriticalMemoryInstruction () const |
| const CriticalDependency & | getCriticalPredecessor () const |
| void | addSuccessor (MemoryGroup *Group) |
| bool | isWaiting () const |
| bool | isPending () const |
| bool | isReady () const |
| bool | isExecuting () const |
| bool | isExecuted () const |
| void | onGroupIssued (const InstRef &IR) |
| void | onGroupExecuted () |
| void | onInstructionIssued (const InstRef &IR) |
| void | onInstructionExecuted () |
| void | addInstruction () |
| void | cycleEvent () |
A node of a memory dependency graph.
A MemoryGroup describes a set of instructions with same memory dependencies.
By construction, instructions of a MemoryGroup don't depend on each other. At dispatch stage, instructions are mapped by the LSUnit to MemoryGroups. A Memory group identifier is then stored as a "token" in field Instruction::LSUTokenID of each dispatched instructions. That token is used internally by the LSUnit to track memory dependencies.
|
default |
|
inline |
Definition at line 155 of file LSUnit.h.
References assert(), and getNumSuccessors().
Referenced by llvm::mca::LSUnit::dispatch().
|
inline |
Definition at line 80 of file LSUnit.h.
References assert(), llvm::SmallVectorImpl< T >::emplace_back(), isExecuted(), isExecuting(), and onGroupIssued().
Referenced by llvm::mca::LSUnit::dispatch().
|
inline |
Definition at line 160 of file LSUnit.h.
References llvm::mca::CriticalDependency::Cycles, and isWaiting().
Referenced by llvm::mca::LSUnitBase::onInstructionIssued().
|
inline |
Definition at line 76 of file LSUnit.h.
Referenced by llvm::mca::Scheduler::isAvailable().
|
inline |
Definition at line 71 of file LSUnit.h.
Referenced by llvm::mca::LSUnitBase::dump().
|
inline |
Definition at line 66 of file LSUnit.h.
Referenced by llvm::mca::LSUnitBase::dump().
|
inline |
Definition at line 70 of file LSUnit.h.
Referenced by llvm::mca::LSUnitBase::dump().
|
inline |
Definition at line 63 of file LSUnit.h.
Referenced by llvm::mca::LSUnitBase::dump().
|
inline |
Definition at line 69 of file LSUnit.h.
Referenced by llvm::mca::LSUnitBase::dump().
|
inline |
Definition at line 62 of file LSUnit.h.
Referenced by llvm::mca::LSUnitBase::dump().
|
inline |
Definition at line 61 of file LSUnit.h.
References llvm::SmallVectorBase::size().
Referenced by addInstruction(), and llvm::mca::LSUnitBase::hasDependentUsers().
|
inline |
|
inline |
Definition at line 101 of file LSUnit.h.
Referenced by addSuccessor(), llvm::mca::LSUnitBase::hasDependentUsers(), and onInstructionExecuted().
|
inline |
Definition at line 98 of file LSUnit.h.
Referenced by addSuccessor(), and onInstructionIssued().
|
inline |
Definition at line 92 of file LSUnit.h.
Referenced by llvm::mca::LSUnitBase::isPending().
|
inline |
Definition at line 97 of file LSUnit.h.
Referenced by llvm::mca::LSUnitBase::isReady(), onGroupExecuted(), onGroupIssued(), and onInstructionExecuted().
|
inline |
Definition at line 88 of file LSUnit.h.
Referenced by cycleEvent(), and llvm::mca::LSUnitBase::isWaiting().
|
inline |
Definition at line 103 of file LSUnit.h.
References assert(), llvm::mca::CriticalDependency::Cycles, llvm::mca::Instruction::getCyclesLeft(), llvm::mca::InstRef::getInstruction(), llvm::mca::InstRef::getSourceIndex(), llvm::mca::CriticalDependency::IID, and isReady().
Referenced by addSuccessor().
|
inline |
Definition at line 142 of file LSUnit.h.
References assert(), isExecuted(), and isReady().
Referenced by llvm::mca::LSUnitBase::createMemoryGroup(), and llvm::mca::LSUnit::LSUnit().
Definition at line 120 of file LSUnit.h.
References assert(), llvm::mca::Instruction::getCyclesLeft(), llvm::mca::InstRef::getInstruction(), IR, and isExecuting().
1.8.13