llvm::MCInst

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

Synopsis

Declared in <llvm/MC/MCInst.h>

class MCInst;

Type Aliases

NameDescription
const_iterator Const iterator over this instruction's operands.
iterator Mutable iterator over this instruction's operands.

Member Functions

NameDescription
MCInst [constructor]Construct an empty machine instruction with opcode zero.
addOperand Append Op to this instruction's operand list.
begin begin overloads
clear Remove all operands from this instruction.
dump Dump this instruction to stderr for debugging.
dump_pretty dump_pretty overloads
end end overloads
erase erase overloads
getFlags Return the target-specific flags for this instruction.
getLoc Return the source location associated with this instruction.
getNumOperands Return the number of operands in this instruction.
getOpcode Return the opcode of this instruction.
getOperand getOperand overloads
getOperands Return a read-only view of this instruction's operands.
insert Insert Op before the operand at iterator I.
print Print this instruction to OS.
setFlags Set the target-specific flags for this instruction.
setLoc Set the source location associated with this instruction.
setOpcode Set the opcode of this instruction.
setOperands Replace this instruction's operands with Ops.
size Return the number of operands in this instruction.