LLVM API Documentation
#include <MCInstBuilder.h>
Public Member Functions | |
MCInstBuilder (unsigned Opcode) | |
Create a new MCInstBuilder for an MCInst with a specific opcode. | |
MCInstBuilder & | addReg (unsigned Reg) |
Add a new register operand. | |
MCInstBuilder & | addImm (int64_t Val) |
Add a new integer immediate operand. | |
MCInstBuilder & | addFPImm (double Val) |
Add a new floating point immediate operand. | |
MCInstBuilder & | addExpr (const MCExpr *Val) |
Add a new MCExpr operand. | |
MCInstBuilder & | addInst (const MCInst *Val) |
Add a new MCInst operand. | |
operator MCInst & () |
Definition at line 22 of file MCInstBuilder.h.
llvm::MCInstBuilder::MCInstBuilder | ( | unsigned | Opcode | ) | [inline] |
Create a new MCInstBuilder for an MCInst with a specific opcode.
Definition at line 27 of file MCInstBuilder.h.
References llvm::MCInst::setOpcode().
MCInstBuilder& llvm::MCInstBuilder::addExpr | ( | const MCExpr * | Val | ) | [inline] |
Add a new MCExpr operand.
Definition at line 50 of file MCInstBuilder.h.
References llvm::MCInst::addOperand(), and llvm::MCOperand::CreateExpr().
Referenced by llvm::SystemZAsmPrinter::EmitInstruction().
MCInstBuilder& llvm::MCInstBuilder::addFPImm | ( | double | Val | ) | [inline] |
Add a new floating point immediate operand.
Definition at line 44 of file MCInstBuilder.h.
References llvm::MCInst::addOperand(), and llvm::MCOperand::CreateFPImm().
MCInstBuilder& llvm::MCInstBuilder::addImm | ( | int64_t | Val | ) | [inline] |
Add a new integer immediate operand.
Definition at line 38 of file MCInstBuilder.h.
References llvm::MCInst::addOperand(), and llvm::MCOperand::CreateImm().
Referenced by llvm::SystemZAsmPrinter::EmitInstruction(), llvm::ARMAsmPrinter::EmitInstruction(), lowerRIEfLow(), lowerRIHigh(), and lowerRILow().
MCInstBuilder& llvm::MCInstBuilder::addInst | ( | const MCInst * | Val | ) | [inline] |
Add a new MCInst operand.
Definition at line 56 of file MCInstBuilder.h.
References llvm::MCInst::addOperand(), and llvm::MCOperand::CreateInst().
MCInstBuilder& llvm::MCInstBuilder::addReg | ( | unsigned | Reg | ) | [inline] |
Add a new register operand.
Definition at line 32 of file MCInstBuilder.h.
References llvm::MCInst::addOperand(), and llvm::MCOperand::CreateReg().
Referenced by llvm::SystemZAsmPrinter::EmitInstruction(), llvm::ARMAsmPrinter::EmitInstruction(), lowerRIEfLow(), lowerRIHigh(), and lowerRILow().
llvm::MCInstBuilder::operator MCInst & | ( | ) | [inline] |
Definition at line 61 of file MCInstBuilder.h.