class RetireStage
Declaration
class RetireStage : public Stage { /* full declaration omitted */ };
Declared at: llvm/include/llvm/MCA/Stages/RetireStage.h:28
Inherits from: Stage
Member Variables
- private llvm::mca::RetireControlUnit& RCU
- private llvm::mca::RegisterFile& PRF
- private llvm::mca::LSUnitBase& LSU
Method Overview
- private RetireStage(const llvm::mca::RetireStage & Other)
- public RetireStage(llvm::mca::RetireControlUnit & R, llvm::mca::RegisterFile & F, llvm::mca::LSUnitBase & LS)
- public llvm::Error cycleEnd()
- public llvm::Error cycleStart()
- public llvm::Error execute(llvm::mca::InstRef & IR)
- public bool hasWorkToComplete() const
- public void notifyInstructionRetired(const llvm::mca::InstRef & IR) const
Inherited from Stage:
- public addListener
- public checkNextStage
- public cycleEnd
- public cycleResume
- public cycleStart
- public execute
- protected getListeners
- public hasWorkToComplete
- public isAvailable
- public moveToTheNextStage
- public notifyEvent
- public setNextInSequence
Methods
¶RetireStage(const llvm::mca::RetireStage& Other)
RetireStage(const llvm::mca::RetireStage& Other)
Declared at: llvm/include/llvm/MCA/Stages/RetireStage.h:34
Parameters
- const llvm::mca::RetireStage& Other
¶RetireStage(llvm::mca::RetireControlUnit& R,
llvm::mca::RegisterFile& F,
llvm::mca::LSUnitBase& LS)
RetireStage(llvm::mca::RetireControlUnit& R,
llvm::mca::RegisterFile& F,
llvm::mca::LSUnitBase& LS)
Declared at: llvm/include/llvm/MCA/Stages/RetireStage.h:38
Parameters
¶llvm::Error cycleEnd()
llvm::Error cycleEnd()
Description
Called once at the end of each cycle.
Declared at: llvm/include/llvm/MCA/Stages/RetireStage.h:43
¶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/RetireStage.h:42
¶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/RetireStage.h:44
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/RetireStage.h:41
¶void notifyInstructionRetired(
const llvm::mca::InstRef& IR) const
void notifyInstructionRetired(
const llvm::mca::InstRef& IR) const
Declared at: llvm/include/llvm/MCA/Stages/RetireStage.h:45
Parameters
- const llvm::mca::InstRef& IR