|
LLVM 22.0.0git
|
#include "llvm/MCA/Stages/InOrderIssueStage.h"
Public Member Functions | |
| InOrderIssueStage (const MCSubtargetInfo &STI, RegisterFile &PRF, CustomBehaviour &CB, LSUnitBase &LSU) | |
| unsigned | getIssueWidth () const |
| bool | isAvailable (const InstRef &) 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 | cycleEnd () override |
| Called once at the end of each cycle. | |
| Public Member Functions inherited from llvm::mca::Stage | |
| Stage ()=default | |
| virtual | ~Stage () |
| virtual Error | cycleResume () |
| Called after the pipeline is resumed from pausing state. | |
| 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<typename EventT> | |
| void | notifyEvent (const EventT &Event) const |
| Notify listeners of a particular hardware event. | |
Additional Inherited Members | |
| Protected Member Functions inherited from llvm::mca::Stage | |
| const std::set< HWEventListener * > & | getListeners () const |
Definition at line 54 of file InOrderIssueStage.h.
| llvm::mca::InOrderIssueStage::InOrderIssueStage | ( | const MCSubtargetInfo & | STI, |
| RegisterFile & | PRF, | ||
| CustomBehaviour & | CB, | ||
| LSUnitBase & | LSU ) |
Definition at line 46 of file InOrderIssueStage.cpp.
|
overridevirtual |
Called once at the end of each cycle.
Reimplemented from llvm::mca::Stage.
Definition at line 439 of file InOrderIssueStage.cpp.
|
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 397 of file InOrderIssueStage.cpp.
References assert(), E(), getIssueWidth(), and IR.
|
overridevirtual |
The primary action that this stage performs on instruction IR.
Implements llvm::mca::Stage.
Definition at line 198 of file InOrderIssueStage.cpp.
References E(), IR, llvm::mca::InstructionBase::isMemOp(), and llvm::mca::Instruction::setLSUTokenID().
| unsigned llvm::mca::InOrderIssueStage::getIssueWidth | ( | ) | const |
Definition at line 52 of file InOrderIssueStage.cpp.
Referenced by cycleStart(), and isAvailable().
|
overridevirtual |
Returns true if some instructions are still executing this stage.
Implements llvm::mca::Stage.
Definition at line 56 of file InOrderIssueStage.cpp.
Returns true if it can execute IR during this cycle.
Reimplemented from llvm::mca::Stage.
Definition at line 60 of file InOrderIssueStage.cpp.
References llvm::mca::InstructionBase::getBeginGroup(), getIssueWidth(), llvm::mca::InstructionBase::getNumMicroOps(), and IR.