LLVM 19.0.0git
Public Attributes | List of all members
llvm::InstrItinerary Struct Reference

An itinerary represents the scheduling information for an instruction. More...

#include "llvm/MC/MCInstrItineraries.h"

Public Attributes

int16_t NumMicroOps
 
uint16_t FirstStage
 Index of first stage in itinerary.
 
uint16_t LastStage
 Index of last + 1 stage in itinerary.
 
uint16_t FirstOperandCycle
 Index of first operand rd/wr.
 
uint16_t LastOperandCycle
 Index of last + 1 operand rd/wr.
 

Detailed Description

An itinerary represents the scheduling information for an instruction.

This includes a set of stages occupied by the instruction and the pipeline cycle in which operands are read and written.

Definition at line 99 of file MCInstrItineraries.h.

Member Data Documentation

◆ FirstOperandCycle

uint16_t llvm::InstrItinerary::FirstOperandCycle

Index of first operand rd/wr.

Definition at line 103 of file MCInstrItineraries.h.

Referenced by llvm::InstrItineraryData::getOperandCycle(), and llvm::InstrItineraryData::hasPipelineForwarding().

◆ FirstStage

uint16_t llvm::InstrItinerary::FirstStage

Index of first stage in itinerary.

Definition at line 101 of file MCInstrItineraries.h.

Referenced by llvm::InstrItineraryData::beginStage(), and llvm::HexagonMCInstrInfo::getCVIResources().

◆ LastOperandCycle

uint16_t llvm::InstrItinerary::LastOperandCycle

Index of last + 1 operand rd/wr.

Definition at line 104 of file MCInstrItineraries.h.

Referenced by llvm::InstrItineraryData::getOperandCycle(), and llvm::InstrItineraryData::hasPipelineForwarding().

◆ LastStage

uint16_t llvm::InstrItinerary::LastStage

◆ NumMicroOps

int16_t llvm::InstrItinerary::NumMicroOps

of micro-ops, -1 means it's variable

Definition at line 100 of file MCInstrItineraries.h.

Referenced by llvm::TargetInstrInfo::getNumMicroOps(), and llvm::InstrItineraryData::getNumMicroOps().


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