class MCInstrInfo

Declaration

class MCInstrInfo { /* full declaration omitted */ };

Description

Interface to description of machine instruction set.

Declared at: llvm/include/llvm/MC/MCInstrInfo.h:23

Method Overview

  • public void InitMCInstrInfo(const llvm::MCInstrDesc * D, const unsigned int * NI, const char * ND, unsigned int NO)
  • public const llvm::MCInstrDesc & get(unsigned int Opcode) const
  • public llvm::StringRef getName(unsigned int Opcode) const
  • public unsigned int getNumOpcodes() const

Methods

void InitMCInstrInfo(const llvm::MCInstrDesc* D,
                     const unsigned int* NI,
                     const char* ND,
                     unsigned int NO)

Description

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

Declared at: llvm/include/llvm/MC/MCInstrInfo.h:32

Parameters

const llvm::MCInstrDesc* D
const unsigned int* NI
const char* ND
unsigned int NO

const llvm::MCInstrDesc& get(
    unsigned int Opcode) const

Description

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

Declared at: llvm/include/llvm/MC/MCInstrInfo.h:44

Parameters

unsigned int Opcode

llvm::StringRef getName(unsigned int Opcode) const

Description

Returns the name for the instructions with the given opcode.

Declared at: llvm/include/llvm/MC/MCInstrInfo.h:50

Parameters

unsigned int Opcode

unsigned int getNumOpcodes() const

Declared at: llvm/include/llvm/MC/MCInstrInfo.h:40