LLVM: llvm::PPCDispatchGroupSBHazardRecognizer Class Reference (original) (raw)

PPCDispatchGroupSBHazardRecognizer - This class implements a scoreboard-based hazard recognizer for PPC ooo processors with dispatch-group hazards. More...

#include "[Target/PowerPC/PPCHazardRecognizers.h](PPCHazardRecognizers%5F8h%5Fsource.html)"

Public Member Functions
PPCDispatchGroupSBHazardRecognizer (const InstrItineraryData *ItinData, const ScheduleDAG *DAG_)
HazardType getHazardType (SUnit *SU, int Stalls) override
getHazardType - Return the hazard type of emitting this node.
bool ShouldPreferAnother (SUnit *SU) override
ShouldPreferAnother - This callback may be invoked if getHazardType returns NoHazard.
unsigned PreEmitNoops (SUnit *SU) override
PreEmitNoops - This callback is invoked prior to emitting an instruction.
void EmitInstruction (SUnit *SU) override
EmitInstruction - This callback is invoked when an instruction is emitted, to advance the hazard state.
void AdvanceCycle () override
AdvanceCycle - This callback is invoked whenever the next top-down instruction to be scheduled cannot issue in the current cycle, either because of latency or resource conflicts.
void RecedeCycle () override
RecedeCycle - This callback is invoked whenever the next bottom-up instruction to be scheduled cannot issue in the current cycle, either because of latency or resource conflicts.
void Reset () override
Reset - This callback is invoked when a new block of instructions is about to be schedule.
void EmitNoop () override
EmitNoop - This callback is invoked when a noop was added to the instruction stream.
Public Member Functions inherited from llvm::ScoreboardHazardRecognizer
ScoreboardHazardRecognizer (const InstrItineraryData *II, const ScheduleDAG *DAG, const char *ParentDebugType="")
bool atIssueLimit () const override
atIssueLimit - Return true if no more instructions may be issued in this cycle.
HazardType getHazardType (SUnit *SU, int Stalls) override
getHazardType - Return the hazard type of emitting this node.
void Reset () override
Reset - This callback is invoked when a new block of instructions is about to be schedule.
void EmitInstruction (SUnit *SU) override
EmitInstruction - This callback is invoked when an instruction is emitted, to advance the hazard state.
void AdvanceCycle () override
AdvanceCycle - This callback is invoked whenever the next top-down instruction to be scheduled cannot issue in the current cycle, either because of latency or resource conflicts.
void RecedeCycle () override
RecedeCycle - This callback is invoked whenever the next bottom-up instruction to be scheduled cannot issue in the current cycle, either because of latency or resource conflicts.
Public Member Functions inherited from llvm::ScheduleHazardRecognizer
ScheduleHazardRecognizer ()=default
virtual ~ScheduleHazardRecognizer ()
unsigned getMaxLookAhead () const
bool isEnabled () const
virtual void EmitInstruction (MachineInstr *)
This overload will be used when the hazard recognizer is being used by a non-scheduling pass, which does not use SUnits.
virtual unsigned PreEmitNoops (MachineInstr *)
This overload will be used when the hazard recognizer is being used by a non-scheduling pass, which does not use SUnits.
virtual void EmitNoops (unsigned Quantity)
EmitNoops - This callback is invoked when noops were added to the instruction stream.
Additional Inherited Members
Public Types inherited from llvm::ScheduleHazardRecognizer
enum HazardType { NoHazard, Hazard, NoopHazard }
Protected Attributes inherited from llvm::ScheduleHazardRecognizer
unsigned MaxLookAhead = 0
MaxLookAhead - Indicate the number of cycles in the scoreboard state.

PPCDispatchGroupSBHazardRecognizer - This class implements a scoreboard-based hazard recognizer for PPC ooo processors with dispatch-group hazards.

Definition at line 25 of file PPCHazardRecognizers.h.

AdvanceCycle()

void PPCDispatchGroupSBHazardRecognizer::AdvanceCycle ( ) overridevirtual

EmitInstruction()

void PPCDispatchGroupSBHazardRecognizer::EmitInstruction ( SUnit * ) overridevirtual

EmitNoop()

void PPCDispatchGroupSBHazardRecognizer::EmitNoop ( ) overridevirtual

getHazardType()

PreEmitNoops()

unsigned PPCDispatchGroupSBHazardRecognizer::PreEmitNoops ( SUnit * ) overridevirtual

RecedeCycle()

void PPCDispatchGroupSBHazardRecognizer::RecedeCycle ( ) overridevirtual

Reset()

void PPCDispatchGroupSBHazardRecognizer::Reset ( ) overridevirtual

ShouldPreferAnother()

bool PPCDispatchGroupSBHazardRecognizer::ShouldPreferAnother ( SUnit * ) overridevirtual

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