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

Inherited from Stage:

Methods

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::mca::RetireControlUnit& R
llvm::mca::RegisterFile& F
llvm::mca::LSUnitBase& LS

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)

Description

The primary action that this stage performs on instruction IR.

Declared at: llvm/include/llvm/MCA/Stages/RetireStage.h:42

Parameters

llvm::mca::InstRef& IR

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

Declared at: llvm/include/llvm/MCA/Stages/RetireStage.h:43

Parameters

const llvm::mca::InstRef& IR