LLVM: llvm::mca::EntryStage Class Reference (original) (raw)

#include "[llvm/MCA/Stages/EntryStage.h](EntryStage%5F8h%5Fsource.html)"

Public Member Functions
EntryStage (SourceMgr &SM)
bool isAvailable (const InstRef &IR) const override
Returns true if it can execute IR during this cycle.
bool hasWorkToComplete () const override
Returns true if some instructions are still executing this stage.
Error execute (InstRef &IR) override
The primary action that this stage performs on instruction IR.
Error cycleStart () override
Called once at the start of each cycle.
Error cycleResume () override
Called after the pipeline is resumed from pausing state.
Error cycleEnd () override
Called once at the end of each cycle.
Public Member Functions inherited from llvm::mca::Stage
Stage ()=default
virtual ~Stage ()
void setNextInSequence (Stage *NextStage)
bool checkNextStage (const InstRef &IR) const
Error moveToTheNextStage (InstRef &IR)
Called when an instruction is ready to move the next pipeline stage.
void addListener (HWEventListener *Listener)
Add a listener to receive callbacks during the execution of this stage.
template
void notifyEvent (const EventT &Event) const
Notify listeners of a particular hardware event.

Definition at line 27 of file EntryStage.h.

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

cycleEnd()

llvm::Error llvm::mca::EntryStage::cycleEnd ( ) overridevirtual

cycleResume()

llvm::Error llvm::mca::EntryStage::cycleResume ( ) overridevirtual

cycleStart()

llvm::Error llvm::mca::EntryStage::cycleStart ( ) overridevirtual

Called once at the start of each cycle.

This can be used as a setup phase to prepare for the executions during the cycle.

Reimplemented from llvm::mca::Stage.

Definition at line 57 of file EntryStage.cpp.

execute()

hasWorkToComplete()

bool llvm::mca::EntryStage::hasWorkToComplete ( ) const overridevirtual

isAvailable()

bool llvm::mca::EntryStage::isAvailable ( const InstRef & IR) const overridevirtual

The documentation for this class was generated from the following files: