14#ifndef LLVM_MC_MCINSTBUILDER_H
15#define LLVM_MC_MCINSTBUILDER_H
This class represents an Operation in the Expression.
Base class for the full range of assembler expressions which are needed for parsing.
MCInstBuilder & setLoc(SMLoc SM)
Set the location.
MCInstBuilder & addInst(const MCInst *Val)
Add a new MCInst operand.
MCInstBuilder & addSFPImm(uint32_t Val)
Add a new single floating point immediate operand.
MCInstBuilder & addOperand(const MCOperand &Op)
Add an operand.
MCInstBuilder(unsigned Opcode)
Create a new MCInstBuilder for an MCInst with a specific opcode.
MCInstBuilder & addReg(unsigned Reg)
Add a new register operand.
MCInstBuilder & addDFPImm(uint64_t Val)
Add a new floating point immediate operand.
MCInstBuilder & addImm(int64_t Val)
Add a new integer immediate operand.
MCInstBuilder & addExpr(const MCExpr *Val)
Add a new MCExpr operand.
Instances of this class represent a single low-level machine instruction.
void addOperand(const MCOperand Op)
void setOpcode(unsigned Op)
Instances of this class represent operands of the MCInst class.
static MCOperand createReg(unsigned Reg)
static MCOperand createExpr(const MCExpr *Val)
static MCOperand createSFPImm(uint32_t Val)
static MCOperand createImm(int64_t Val)
static MCOperand createDFPImm(uint64_t Val)
static MCOperand createInst(const MCInst *Val)
Represents a location in source code.
This is an optimization pass for GlobalISel generic memory operations.