LLVM
8.0.1
|
#include "llvm/MC/MCInstBuilder.h"
Public Member Functions | |
MCInstBuilder (unsigned Opcode) | |
Create a new MCInstBuilder for an MCInst with a specific opcode. More... | |
MCInstBuilder & | addReg (unsigned Reg) |
Add a new register operand. More... | |
MCInstBuilder & | addImm (int64_t Val) |
Add a new integer immediate operand. More... | |
MCInstBuilder & | addFPImm (double Val) |
Add a new floating point immediate operand. More... | |
MCInstBuilder & | addExpr (const MCExpr *Val) |
Add a new MCExpr operand. More... | |
MCInstBuilder & | addInst (const MCInst *Val) |
Add a new MCInst operand. More... | |
MCInstBuilder & | addOperand (const MCOperand &Op) |
Add an operand. More... | |
operator MCInst & () | |
Definition at line 22 of file MCInstBuilder.h.
|
inline |
Create a new MCInstBuilder for an MCInst with a specific opcode.
Definition at line 27 of file MCInstBuilder.h.
References llvm::MCInst::setOpcode().
|
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().
|
inline |
Add a new floating point immediate operand.
Definition at line 44 of file MCInstBuilder.h.
References llvm::MCInst::addOperand(), and llvm::MCOperand::createFPImm().
|
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 convertFPR32ToFPR64(), llvm::createRISCVMCCodeEmitter(), llvm::SystemZAsmPrinter::EmitInstruction(), llvm::ARMAsmPrinter::EmitInstruction(), lowerRIEfLow(), lowerRIHigh(), lowerRILow(), and llvm::ARMAsmPrinter::runOnMachineFunction().
|
inline |
Add a new MCInst operand.
Definition at line 56 of file MCInstBuilder.h.
References llvm::MCInst::addOperand(), and llvm::MCOperand::createInst().
|
inline |
Add an operand.
Definition at line 62 of file MCInstBuilder.h.
References llvm::MCInst::addOperand().
Referenced by llvm::createRISCVMCCodeEmitter().
|
inline |
Add a new register operand.
Definition at line 32 of file MCInstBuilder.h.
References llvm::MCInst::addOperand(), and llvm::MCOperand::createReg().
Referenced by convertFPR32ToFPR64(), llvm::createRISCVMCCodeEmitter(), llvm::SystemZAsmPrinter::EmitInstruction(), llvm::ARMAsmPrinter::EmitInstruction(), lowerRIEfLow(), lowerRIHigh(), lowerRILow(), lowerSubvectorLoad(), lowerSubvectorStore(), and llvm::ARMAsmPrinter::runOnMachineFunction().
|
inline |
Definition at line 67 of file MCInstBuilder.h.