LLVM API Documentation
#include <TargetInstrItineraries.h>
Public Member Functions | |
| InstrItineraryData () | |
| InstrItineraryData (const InstrStage *S, const unsigned *OS, const InstrItinerary *I) | |
| bool | isEmpty () const |
| const InstrStage * | beginStage (unsigned ItinClassIndx) const |
| const InstrStage * | endStage (unsigned ItinClassIndx) const |
| unsigned | getStageLatency (unsigned ItinClassIndx) const |
| int | getOperandCycle (unsigned ItinClassIndx, unsigned OperandIdx) const |
Public Attributes | |
| const InstrStage * | Stages |
| Array of stages selected. | |
| const unsigned * | OperandCycles |
| Array of operand cycles selected. | |
| const InstrItinerary * | Itineratries |
| Array of itineraries selected. | |
Definition at line 91 of file TargetInstrItineraries.h.
| llvm::InstrItineraryData::InstrItineraryData | ( | ) | [inline] |
Ctors.
Definition at line 98 of file TargetInstrItineraries.h.
| llvm::InstrItineraryData::InstrItineraryData | ( | const InstrStage * | S, | |
| const unsigned * | OS, | |||
| const InstrItinerary * | I | |||
| ) | [inline] |
Definition at line 99 of file TargetInstrItineraries.h.
| bool llvm::InstrItineraryData::isEmpty | ( | ) | const [inline] |
isEmpty - Returns true if there are no itineraries.
Definition at line 105 of file TargetInstrItineraries.h.
References Itineratries.
Referenced by llvm::ScheduleDAGInstrs::ComputeLatency(), llvm::ScheduleDAGInstrs::ComputeOperandLatency(), llvm::ExactHazardRecognizer::ExactHazardRecognizer(), getOperandCycle(), and getStageLatency().
| const InstrStage* llvm::InstrItineraryData::beginStage | ( | unsigned | ItinClassIndx | ) | const [inline] |
beginStage - Return the first stage of the itinerary.
Definition at line 109 of file TargetInstrItineraries.h.
References llvm::InstrItinerary::FirstStage, Itineratries, and Stages.
Referenced by llvm::ExactHazardRecognizer::EmitInstruction(), llvm::ExactHazardRecognizer::ExactHazardRecognizer(), llvm::ExactHazardRecognizer::getHazardType(), and getStageLatency().
| const InstrStage* llvm::InstrItineraryData::endStage | ( | unsigned | ItinClassIndx | ) | const [inline] |
endStage - Return the last+1 stage of the itinerary.
Definition at line 116 of file TargetInstrItineraries.h.
References Itineratries, llvm::InstrItinerary::LastStage, and Stages.
Referenced by llvm::ExactHazardRecognizer::EmitInstruction(), llvm::ExactHazardRecognizer::ExactHazardRecognizer(), llvm::ExactHazardRecognizer::getHazardType(), and getStageLatency().
getStageLatency - Return the total stage latency of the given class. The latency is the maximum completion time for any stage in the itinerary.
Definition at line 125 of file TargetInstrItineraries.h.
References beginStage(), E, endStage(), and isEmpty().
Referenced by llvm::ScheduleDAGInstrs::ComputeLatency().
| int llvm::InstrItineraryData::getOperandCycle | ( | unsigned | ItinClassIndx, | |
| unsigned | OperandIdx | |||
| ) | const [inline] |
getOperandCycle - Return the cycle for the given class and operand. Return -1 if no cycle is specified for the operand.
Definition at line 145 of file TargetInstrItineraries.h.
References llvm::InstrItinerary::FirstOperandCycle, isEmpty(), Itineratries, llvm::InstrItinerary::LastOperandCycle, and OperandCycles.
Referenced by llvm::ScheduleDAGInstrs::ComputeOperandLatency().
Array of stages selected.
Definition at line 92 of file TargetInstrItineraries.h.
Referenced by beginStage(), and endStage().
Array of operand cycles selected.
Definition at line 93 of file TargetInstrItineraries.h.
Referenced by getOperandCycle().
Array of itineraries selected.
Definition at line 94 of file TargetInstrItineraries.h.
Referenced by beginStage(), endStage(), getOperandCycle(), and isEmpty().