class EntryStage

Declaration

class EntryStage : public Stage { /* full declaration omitted */ };

Declared at: llvm/include/llvm/MCA/Stages/EntryStage.h:26

Inherits from: Stage

Member Variables

private llvm::mca::InstRef CurrentInstruction
private SmallVector<std::unique_ptr<Instruction>, 16> Instructions
private llvm::mca::SourceMgr& SM
private unsigned int NumRetired

Method Overview

Inherited from Stage:

Methods

EntryStage(const llvm::mca::EntryStage& Other)

Declared at: llvm/include/llvm/MCA/Stages/EntryStage.h:35

Parameters

const llvm::mca::EntryStage& Other

EntryStage(llvm::mca::SourceMgr& SM)

Declared at: llvm/include/llvm/MCA/Stages/EntryStage.h:39

Parameters

llvm::mca::SourceMgr& SM

llvm::Error cycleEnd()

Description

Called once at the end of each cycle.

Declared at: llvm/include/llvm/MCA/Stages/EntryStage.h:46

llvm::Error cycleResume()

Description

Called after the pipeline is resumed from pausing state.

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

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/EntryStage.h:44

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/EntryStage.h:43

Parameters

llvm::mca::InstRef& IR

llvm::Error getNextInstruction()

Declared at: llvm/include/llvm/MCA/Stages/EntryStage.h:33

bool hasWorkToComplete() const

Description

Returns true if some instructions are still executing this stage.

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

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/EntryStage.h:41

Parameters

const llvm::mca::InstRef& IR