class DispatchStage
Declaration
class DispatchStage : public Stage { /* full declaration omitted */ };
Declared at: llvm/include/llvm/MCA/Stages/DispatchStage.h:50
Inherits from: Stage
Method Overview
- public DispatchStage(const llvm::MCSubtargetInfo & Subtarget, const llvm::MCRegisterInfo & MRI, unsigned int MaxDispatchWidth, llvm::mca::RetireControlUnit & R, llvm::mca::RegisterFile & F)
- public llvm::Error cycleStart()
- public void dump() const
- public llvm::Error execute(llvm::mca::InstRef & IR)
- public bool hasWorkToComplete() const
- public bool isAvailable(const llvm::mca::InstRef & IR) const
Inherited from Stage:
- public addListener
- public checkNextStage
- public cycleEnd
- public cycleStart
- public execute
- protected getListeners
- public hasWorkToComplete
- public isAvailable
- public moveToTheNextStage
- public notifyEvent
- public setNextInSequence
Methods
¶DispatchStage(
const llvm::MCSubtargetInfo& Subtarget,
const llvm::MCRegisterInfo& MRI,
unsigned int MaxDispatchWidth,
llvm::mca::RetireControlUnit& R,
llvm::mca::RegisterFile& F)
DispatchStage(
const llvm::MCSubtargetInfo& Subtarget,
const llvm::MCRegisterInfo& MRI,
unsigned int MaxDispatchWidth,
llvm::mca::RetireControlUnit& R,
llvm::mca::RegisterFile& F)
Declared at: llvm/include/llvm/MCA/Stages/DispatchStage.h:69
Parameters
- const llvm::MCSubtargetInfo& Subtarget
- const llvm::MCRegisterInfo& MRI
- unsigned int MaxDispatchWidth
- llvm::mca::RetireControlUnit& R
- llvm::mca::RegisterFile& F
¶llvm::Error cycleStart()
llvm::Error cycleStart()
Description
Called once at the start of each cycle. This can be used as a setup phase to prepare for the executions during the cycle.
Declared at: llvm/include/llvm/MCA/Stages/DispatchStage.h:78
¶void dump() const
void dump() const
Declared at: llvm/include/llvm/MCA/Stages/DispatchStage.h:82
¶llvm::Error execute(llvm::mca::InstRef& IR)
llvm::Error execute(llvm::mca::InstRef& IR)
Description
The primary action that this stage performs on instruction IR.
Declared at: llvm/include/llvm/MCA/Stages/DispatchStage.h:79
Parameters
¶bool hasWorkToComplete() const
bool hasWorkToComplete() const
Description
Returns true if some instructions are still executing this stage.
Declared at: llvm/include/llvm/MCA/Stages/DispatchStage.h:77
¶bool isAvailable(
const llvm::mca::InstRef& IR) const
bool isAvailable(
const llvm::mca::InstRef& IR) const
Description
Returns true if it can execute IR during this cycle.
Declared at: llvm/include/llvm/MCA/Stages/DispatchStage.h:73
Parameters
- const llvm::mca::InstRef& IR