LLVM API Documentation

llvm::MCInst Class Reference

#include <MCInst.h>

Collaboration diagram for llvm::MCInst:
[legend]

List of all members.

Public Member Functions

 MCInst ()
void setOpcode (unsigned Op)
unsigned getOpcode () const
DebugLoc getDebugLoc () const
const MCOperand & getOperand (unsigned i) const
MCOperand & getOperand (unsigned i)
unsigned getNumOperands () const
void addOperand (const MCOperand &Op)


Detailed Description

MCInst - Instances of this class represent a single low-level machine instruction.

Definition at line 127 of file MCInst.h.


Constructor & Destructor Documentation

llvm::MCInst::MCInst (  )  [inline]

Definition at line 131 of file MCInst.h.


Member Function Documentation

void llvm::MCInst::setOpcode ( unsigned  Op  )  [inline]

Definition at line 133 of file MCInst.h.

Referenced by llvm::X86ATTAsmPrinter::printMachineInstruction().

unsigned llvm::MCInst::getOpcode (  )  const [inline]

Definition at line 135 of file MCInst.h.

Referenced by llvm::X86ATTAsmPrinter::printMachineInstruction().

DebugLoc llvm::MCInst::getDebugLoc (  )  const [inline]

Definition at line 136 of file MCInst.h.

Referenced by llvm::AsmPrinter::EmitComments().

const MCOperand& llvm::MCInst::getOperand ( unsigned  i  )  const [inline]

MCOperand& llvm::MCInst::getOperand ( unsigned  i  )  [inline]

Definition at line 139 of file MCInst.h.

unsigned llvm::MCInst::getNumOperands (  )  const [inline]

Definition at line 140 of file MCInst.h.

void llvm::MCInst::addOperand ( const MCOperand &  Op  )  [inline]

Definition at line 142 of file MCInst.h.

Referenced by llvm::X86ATTAsmPrinter::printMachineInstruction().


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