LLVM: llvm::MCSchedClassDesc Struct Reference (original) (raw)

Summarize the scheduling resources required for an instruction of a particular scheduling class. More...

#include "[llvm/MC/MCSchedule.h](MCSchedule%5F8h%5Fsource.html)"

Public Attributes
uint32_t NameOff
uint16_t NumMicroOps: 13
uint16_t BeginGroup: 1
uint16_t EndGroup: 1
uint16_t RetireOOO: 1
uint16_t WriteProcResIdx
uint16_t NumWriteProcResEntries
uint16_t WriteLatencyIdx
uint16_t NumWriteLatencyEntries
uint16_t ReadAdvanceIdx
uint16_t NumReadAdvanceEntries

Detailed Description

Summarize the scheduling resources required for an instruction of a particular scheduling class.

Defined as an aggregate struct for creating tables with initializer lists.

Definition at line 123 of file MCSchedule.h.

Member Function Documentation

isValid()

bool llvm::MCSchedClassDesc::isValid ( ) const inline

Definition at line 141 of file MCSchedule.h.

References InvalidNumMicroOps, and NumMicroOps.

Referenced by llvm::ResourceManager::calculateResMII(), llvm::ResourceManager::canReserveResources(), llvm::MCSchedModel::computeInstrLatency(), llvm::MCSchedModel::computeInstrLatency(), llvm::TargetSchedModel::computeInstrLatency(), llvm::TargetSchedModel::computeOperandLatency(), llvm::TargetSchedModel::computeOutputLatency(), llvm::TargetSchedModel::computeReciprocalThroughput(), llvm::SystemZHazardRecognizer::dumpSU(), llvm::TargetSchedModel::getNumMicroOps(), llvm::MCSchedModel::getReciprocalThroughput(), llvm::MachineTraceMetrics::getResources(), llvm::SystemZHazardRecognizer::groupingCost(), llvm::AArch64TTIImpl::hasKnownLowerThroughputFromSchedulingModel(), INITIALIZE_PASS(), llvm::TargetSchedModel::mustBeginGroup(), llvm::TargetSchedModel::mustEndGroup(), llvm::SystemZPostRASchedStrategy::releaseTopNode(), llvm::ResourceManager::reserveResources(), llvm::TargetSchedModel::resolveSchedClass(), and llvm::SystemZHazardRecognizer::resourcesCost().

isVariant()

bool llvm::MCSchedClassDesc::isVariant ( ) const inline

Member Data Documentation

BeginGroup

uint16_t llvm::MCSchedClassDesc::BeginGroup

EndGroup

uint16_t llvm::MCSchedClassDesc::EndGroup

InvalidNumMicroOps

const unsigned short llvm::MCSchedClassDesc::InvalidNumMicroOps = (1U << 13) - 1 static

NameOff

uint32_t llvm::MCSchedClassDesc::NameOff

NumMicroOps

uint16_t llvm::MCSchedClassDesc::NumMicroOps

NumReadAdvanceEntries

uint16_t llvm::MCSchedClassDesc::NumReadAdvanceEntries

NumWriteLatencyEntries

uint16_t llvm::MCSchedClassDesc::NumWriteLatencyEntries

NumWriteProcResEntries

uint16_t llvm::MCSchedClassDesc::NumWriteProcResEntries

ReadAdvanceIdx

uint16_t llvm::MCSchedClassDesc::ReadAdvanceIdx

RetireOOO

uint16_t llvm::MCSchedClassDesc::RetireOOO

VariantNumMicroOps

WriteLatencyIdx

uint16_t llvm::MCSchedClassDesc::WriteLatencyIdx

WriteProcResIdx

uint16_t llvm::MCSchedClassDesc::WriteProcResIdx


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