Interface to description of machine instruction set.

Synopsis

Declared in <llvm/MC/MCInstrInfo.h>

class MCInstrInfo;

Type Aliases

Name

Description

ComplexDeprecationPredicate

Function pointer type for complex instruction deprecation checks.

Member Functions

Name

Description

InitMCInstrInfo

Initialize MCInstrInfo, called by TableGen auto‐generated routines. DO NOT USE.

get

Return the machine instruction descriptor that corresponds to the specified instruction opcode.

getDeprecatedInfo

Returns true if a certain instruction is deprecated and if so returns the reason in Info.

getName

Returns the name for the instructions with the given opcode.

getNumOpcodes

Return the number of instruction opcodes described by this info.

getOpRegClassID

Return the register class ID for OpInfo under HwModeId.

getRegClassByHwModeTable

Return the register‐class lookup row for the given hardware mode.

Protected Data Members

Name

Description

NumRegClassByHwModes

Number of register‐class entries per hardware mode in the lookup tables.

RegClassByHwModeTables

Flattened [NumHwModes][NumRegClassByHwModes]register‐class lookup tables.

Derived Classes

Name

Description

TargetInstrInfo

TargetInstrInfo ‐ Interface to description of machine instruction set

Created with MrDocs