LLVM API Documentation

llvm::InstrItineraryData Struct Reference

#include <TargetInstrItineraries.h>

Collaboration diagram for llvm::InstrItineraryData:
[legend]

List of all members.

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.


Detailed Description

Instruction itinerary Data - Itinerary data supplied by a subtarget to be used by a target.

Definition at line 91 of file TargetInstrItineraries.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

bool llvm::InstrItineraryData::isEmpty (  )  const [inline]

const InstrStage* llvm::InstrItineraryData::beginStage ( unsigned  ItinClassIndx  )  const [inline]

const InstrStage* llvm::InstrItineraryData::endStage ( unsigned  ItinClassIndx  )  const [inline]

unsigned llvm::InstrItineraryData::getStageLatency ( unsigned  ItinClassIndx  )  const [inline]

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().


Member Data Documentation

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().


The documentation for this struct was generated from the following file: