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

Inherited from Stage:

Methods

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)

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

Parameters

llvm::mca::RetireControlUnit& R
llvm::mca::RegisterFile& F
llvm::mca::LSUnitBase& LS

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()

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)

Description

The primary action that this stage performs on instruction IR.

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

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:41

void notifyInstructionRetired(
    const llvm::mca::InstRef& IR) const

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

Parameters

const llvm::mca::InstRef& IR