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
- private EntryStage(const llvm::mca::EntryStage & Other)
- public EntryStage(llvm::mca::SourceMgr & SM)
- public llvm::Error cycleEnd()
- public llvm::Error cycleResume()
- public llvm::Error cycleStart()
- public llvm::Error execute(llvm::mca::InstRef & IR)
- private llvm::Error getNextInstruction()
- public bool hasWorkToComplete() const
- public bool isAvailable(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
¶EntryStage(const llvm::mca::EntryStage& Other)
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)
EntryStage(llvm::mca::SourceMgr& SM)
Declared at: llvm/include/llvm/MCA/Stages/EntryStage.h:39
Parameters
¶llvm::Error cycleEnd()
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()
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()
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)
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::Error getNextInstruction()
llvm::Error getNextInstruction()
Declared at: llvm/include/llvm/MCA/Stages/EntryStage.h:33
¶bool hasWorkToComplete() const
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
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