class RetireStage
Declaration
class RetireStage : public Stage { /* full declaration omitted */ };
Declared at: llvm/include/llvm/MCA/Stages/RetireStage.h:27
Inherits from: Stage
Method Overview
- public RetireStage(llvm::mca::RetireControlUnit & R, llvm::mca::RegisterFile & F, llvm::mca::LSUnitBase & LS)
- 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 cycleStart
- public execute
- protected getListeners
- public hasWorkToComplete
- public isAvailable
- public moveToTheNextStage
- public notifyEvent
- public setNextInSequence
Methods
¶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:37
Parameters
¶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:41
¶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:42
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:40
¶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:43
Parameters
- const llvm::mca::InstRef& IR