class EntryStage
Declaration
class EntryStage : public Stage { /* full declaration omitted */ };
Declared at: llvm/include/llvm/MCA/Stages/EntryStage.h:26
Inherits from: Stage
Method Overview
- public EntryStage(llvm::mca::SourceMgr & SM)
- public llvm::Error cycleEnd()
- public llvm::Error cycleStart()
- public llvm::Error execute(llvm::mca::InstRef & IR)
- public bool hasWorkToComplete() const
- public bool isAvailable(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
¶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: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
¶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