[#llvm-MCInstrInfo] = xref:llvm.adoc[llvm]::MCInstrInfo :relfileprefix: ../ :mrdocs: Interface to description of machine instruction set. == Synopsis Declared in `<llvm/MC/MCInstrInfo.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class MCInstrInfo; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:llvm/MCInstrInfo/ComplexDeprecationPredicate.adoc[`ComplexDeprecationPredicate`] | Function pointer type for complex instruction deprecation checks. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/MCInstrInfo/InitMCInstrInfo.adoc[`InitMCInstrInfo`] | Initialize MCInstrInfo, called by TableGen auto‐generated routines. _DO NOT USE_. | xref:llvm/MCInstrInfo/get.adoc[`get`] | Return the machine instruction descriptor that corresponds to the specified instruction opcode. | xref:llvm/MCInstrInfo/getDeprecatedInfo.adoc[`getDeprecatedInfo`] | Returns true if a certain instruction is deprecated and if so returns the reason in `Info.` | xref:llvm/MCInstrInfo/getName.adoc[`getName`] | Returns the name for the instructions with the given opcode. | xref:llvm/MCInstrInfo/getNumOpcodes.adoc[`getNumOpcodes`] | Return the number of instruction opcodes described by this info. | xref:llvm/MCInstrInfo/getOpRegClassID.adoc[`getOpRegClassID`] | Return the register class ID for `OpInfo` under `HwModeId.` | xref:llvm/MCInstrInfo/getRegClassByHwModeTable.adoc[`getRegClassByHwModeTable`] | Return the register‐class lookup row for the given hardware mode. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:llvm/MCInstrInfo/NumRegClassByHwModes.adoc[`NumRegClassByHwModes`] | Number of register‐class entries per hardware mode in the lookup tables. | xref:llvm/MCInstrInfo/RegClassByHwModeTables.adoc[`RegClassByHwModeTables`] | Flattened [NumHwModes][NumRegClassByHwModes]register‐class lookup tables. |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:llvm/TargetInstrInfo.adoc[`TargetInstrInfo`] | TargetInstrInfo ‐ Interface to description of machine instruction set |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#