LLVM  4.0.0
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
llvm::MCSchedClassDesc Struct Reference

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

#include <MCSchedule.h>

Collaboration diagram for llvm::MCSchedClassDesc:
[legend]

Public Member Functions

bool isValid () const
 
bool isVariant () const
 

Public Attributes

const char * Name
 
unsigned short NumMicroOps
 
bool BeginGroup
 
bool EndGroup
 
unsigned WriteProcResIdx
 
unsigned NumWriteProcResEntries
 
unsigned WriteLatencyIdx
 
unsigned NumWriteLatencyEntries
 
unsigned ReadAdvanceIdx
 
unsigned NumReadAdvanceEntries
 

Static Public Attributes

static const unsigned short InvalidNumMicroOps = UINT16_MAX
 
static const unsigned short VariantNumMicroOps = UINT16_MAX - 1
 

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 101 of file MCSchedule.h.

Member Function Documentation

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

Member Data Documentation

bool llvm::MCSchedClassDesc::BeginGroup
bool llvm::MCSchedClassDesc::EndGroup
const unsigned short llvm::MCSchedClassDesc::InvalidNumMicroOps = UINT16_MAX
static

Definition at line 102 of file MCSchedule.h.

Referenced by isValid().

const char* llvm::MCSchedClassDesc::Name

Definition at line 106 of file MCSchedule.h.

unsigned short llvm::MCSchedClassDesc::NumMicroOps
unsigned llvm::MCSchedClassDesc::NumReadAdvanceEntries
unsigned llvm::MCSchedClassDesc::NumWriteLatencyEntries

Definition at line 114 of file MCSchedule.h.

Referenced by getLatency().

unsigned llvm::MCSchedClassDesc::NumWriteProcResEntries

Definition at line 112 of file MCSchedule.h.

Referenced by llvm::MCSubtargetInfo::getWriteProcResEnd().

unsigned llvm::MCSchedClassDesc::ReadAdvanceIdx

Definition at line 115 of file MCSchedule.h.

Referenced by llvm::MCSubtargetInfo::getReadAdvanceCycles().

const unsigned short llvm::MCSchedClassDesc::VariantNumMicroOps = UINT16_MAX - 1
static

Definition at line 103 of file MCSchedule.h.

Referenced by isVariant().

unsigned llvm::MCSchedClassDesc::WriteLatencyIdx

Definition at line 113 of file MCSchedule.h.

Referenced by llvm::MCSubtargetInfo::getWriteLatencyEntry().

unsigned llvm::MCSchedClassDesc::WriteProcResIdx

Definition at line 111 of file MCSchedule.h.

Referenced by llvm::MCSubtargetInfo::getWriteProcResBegin().


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