LLVM API Documentation

Public Member Functions
llvm::ARMHazardRecognizer Class Reference

#include <ARMHazardRecognizer.h>

Inheritance diagram for llvm::ARMHazardRecognizer:
Inheritance graph
[legend]
Collaboration diagram for llvm::ARMHazardRecognizer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ARMHazardRecognizer (const InstrItineraryData *ItinData, const ScheduleDAG *DAG)
HazardType getHazardType (SUnit *SU, int Stalls) override
void Reset () override
void EmitInstruction (SUnit *SU) override
void AdvanceCycle () override
void RecedeCycle () override

Detailed Description

ARMHazardRecognizer handles special constraints that are not expressed in the scheduling itinerary. This is only used during postRA scheduling. The ARM preRA scheduler uses an unspecialized instance of the ScoreboardHazardRecognizer.

Definition at line 30 of file ARMHazardRecognizer.h.


Constructor & Destructor Documentation

Definition at line 35 of file ARMHazardRecognizer.h.


Member Function Documentation

void ARMHazardRecognizer::AdvanceCycle ( ) [override, virtual]

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. This should increment the internal state of the hazard recognizer so that previously "Hazard" instructions will now not be hazards.

Reimplemented from llvm::ScoreboardHazardRecognizer.

Definition at line 95 of file ARMHazardRecognizer.cpp.

void ARMHazardRecognizer::EmitInstruction ( SUnit ) [override, virtual]

EmitInstruction - This callback is invoked when an instruction is emitted, to advance the hazard state.

Reimplemented from llvm::ScoreboardHazardRecognizer.

Definition at line 85 of file ARMHazardRecognizer.cpp.

References llvm::SUnit::getInstr(), llvm::MachineInstr::isDebugValue(), and llvm::AArch64CC::MI.

void ARMHazardRecognizer::RecedeCycle ( ) [override, virtual]

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.

Reimplemented from llvm::ScoreboardHazardRecognizer.

Definition at line 102 of file ARMHazardRecognizer.cpp.

References llvm_unreachable.

void ARMHazardRecognizer::Reset ( ) [override, virtual]

Reset - This callback is invoked when a new block of instructions is about to be schedule. The hazard state should be set to an initialized state.

Reimplemented from llvm::ScoreboardHazardRecognizer.

Definition at line 79 of file ARMHazardRecognizer.cpp.


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