LLVM API Documentation
#include <TargetInstrItineraries.h>
Public Member Functions | |
| InstrItineraryData () | |
| InstrItineraryData (const InstrStage *S, const InstrItinerary *I) | |
| bool | isEmpty () const |
| const InstrStage * | begin (unsigned ItinClassIndx) const |
| const InstrStage * | end (unsigned ItinClassIndx) const |
| unsigned | getLatency (unsigned ItinClassIndx) const |
Public Attributes | |
| const InstrStage * | Stages |
| Array of stages selected. | |
| const InstrItinerary * | Itineratries |
| Array of itineraries selected. | |
Definition at line 49 of file TargetInstrItineraries.h.
| llvm::InstrItineraryData::InstrItineraryData | ( | ) | [inline] |
Ctors.
Definition at line 55 of file TargetInstrItineraries.h.
| llvm::InstrItineraryData::InstrItineraryData | ( | const InstrStage * | S, | |
| const InstrItinerary * | I | |||
| ) | [inline] |
Definition at line 56 of file TargetInstrItineraries.h.
| bool llvm::InstrItineraryData::isEmpty | ( | ) | const [inline] |
isEmpty - Returns true if there are no itineraries.
Definition at line 61 of file TargetInstrItineraries.h.
References Itineratries.
Referenced by llvm::ScheduleDAGInstrs::ComputeLatency(), and getLatency().
| const InstrStage* llvm::InstrItineraryData::begin | ( | unsigned | ItinClassIndx | ) | const [inline] |
begin - Return the first stage of the itinerary.
Definition at line 65 of file TargetInstrItineraries.h.
References llvm::InstrItinerary::First, Itineratries, and Stages.
Referenced by getLatency().
| const InstrStage* llvm::InstrItineraryData::end | ( | unsigned | ItinClassIndx | ) | const [inline] |
end - Return the last+1 stage of the itinerary.
Definition at line 72 of file TargetInstrItineraries.h.
References Itineratries, llvm::InstrItinerary::Last, and Stages.
Referenced by getLatency().
getLatency - Return the scheduling latency of the given class. A simple latency value for an instruction is an over-simplification for some architectures, but it's a reasonable first approximation.
Definition at line 81 of file TargetInstrItineraries.h.
References begin(), E, end(), and isEmpty().
Referenced by llvm::ScheduleDAGSDNodes::ComputeLatency(), and llvm::ScheduleDAGInstrs::ComputeLatency().