15 #ifndef LLVM_MC_MCINSTBUILDER_H
16 #define LLVM_MC_MCINSTBUILDER_H
MCInstBuilder & addInst(const MCInst *Val)
Add a new MCInst operand.
static MCOperand createExpr(const MCExpr *Val)
MCInstBuilder & addFPImm(double Val)
Add a new floating point immediate operand.
static MCOperand createReg(unsigned Reg)
Base class for the full range of assembler expressions which are needed for parsing.
Reg
All possible values of the reg field in the ModR/M byte.
MCInstBuilder(unsigned Opcode)
Create a new MCInstBuilder for an MCInst with a specific opcode.
MCInstBuilder & addOperand(const MCOperand &Op)
Add an operand.
MCInstBuilder & addExpr(const MCExpr *Val)
Add a new MCExpr operand.
Instances of this class represent a single low-level machine instruction.
MCInstBuilder & addReg(unsigned Reg)
Add a new register operand.
MCInstBuilder & addImm(int64_t Val)
Add a new integer immediate operand.
void setOpcode(unsigned Op)
static MCOperand createFPImm(double Val)
static MCOperand createInst(const MCInst *Val)
void addOperand(const MCOperand &Op)
Instances of this class represent operands of the MCInst class.
static MCOperand createImm(int64_t Val)