Go to the documentation of this file.
14 #ifndef LLVM_MC_MCINSTBUILDER_H
15 #define LLVM_MC_MCINSTBUILDER_H
This is an optimization pass for GlobalISel generic memory operations.
static MCOperand createExpr(const MCExpr *Val)
static MCOperand createImm(int64_t Val)
Reg
All possible values of the reg field in the ModR/M byte.
Instances of this class represent a single low-level machine instruction.
MCInstBuilder(unsigned Opcode)
Create a new MCInstBuilder for an MCInst with a specific opcode.
void setOpcode(unsigned Op)
MCInstBuilder & addSFPImm(uint32_t Val)
Add a new single floating point immediate operand.
MCInstBuilder & addOperand(const MCOperand &Op)
Add an operand.
MCInstBuilder & addDFPImm(uint64_t Val)
Add a new floating point immediate operand.
static MCOperand createInst(const MCInst *Val)
void addOperand(const MCOperand Op)
MCInstBuilder & addImm(int64_t Val)
Add a new integer immediate operand.
static MCOperand createReg(unsigned Reg)
MCInstBuilder & addExpr(const MCExpr *Val)
Add a new MCExpr operand.
static MCOperand createSFPImm(uint32_t Val)
static MCOperand createDFPImm(uint64_t Val)
MCInstBuilder & addInst(const MCInst *Val)
Add a new MCInst operand.
MCInstBuilder & addReg(unsigned Reg)
Add a new register operand.
Instances of this class represent operands of the MCInst class.
Base class for the full range of assembler expressions which are needed for parsing.