class MCInstBuilder

Declaration

class MCInstBuilder { /* full declaration omitted */ };

Declared at: llvm/include/llvm/MC/MCInstBuilder.h:21

Member Variables

private llvm::MCInst Inst

Method Overview

  • public MCInstBuilder(unsigned int Opcode)
  • public llvm::MCInstBuilder & addDFPImm(uint64_t Val)
  • public llvm::MCInstBuilder & addExpr(const llvm::MCExpr * Val)
  • public llvm::MCInstBuilder & addImm(int64_t Val)
  • public llvm::MCInstBuilder & addInst(const llvm::MCInst * Val)
  • public llvm::MCInstBuilder & addOperand(const llvm::MCOperand & Op)
  • public llvm::MCInstBuilder & addReg(unsigned int Reg)
  • public llvm::MCInstBuilder & addSFPImm(uint32_t Val)
  • public llvm::MCInst & operator llvm::MCInst &()

Methods

MCInstBuilder(unsigned int Opcode)

Description

Create a new MCInstBuilder for an MCInst with a specific opcode.

Declared at: llvm/include/llvm/MC/MCInstBuilder.h:26

Parameters

unsigned int Opcode

llvm::MCInstBuilder& addDFPImm(uint64_t Val)

Description

Add a new floating point immediate operand.

Declared at: llvm/include/llvm/MC/MCInstBuilder.h:49

Parameters

uint64_t Val

llvm::MCInstBuilder& addExpr(
    const llvm::MCExpr* Val)

Description

Add a new MCExpr operand.

Declared at: llvm/include/llvm/MC/MCInstBuilder.h:55

Parameters

const llvm::MCExpr* Val

llvm::MCInstBuilder& addImm(int64_t Val)

Description

Add a new integer immediate operand.

Declared at: llvm/include/llvm/MC/MCInstBuilder.h:37

Parameters

int64_t Val

llvm::MCInstBuilder& addInst(
    const llvm::MCInst* Val)

Description

Add a new MCInst operand.

Declared at: llvm/include/llvm/MC/MCInstBuilder.h:61

Parameters

const llvm::MCInst* Val

llvm::MCInstBuilder& addOperand(
    const llvm::MCOperand& Op)

Description

Add an operand.

Declared at: llvm/include/llvm/MC/MCInstBuilder.h:67

Parameters

const llvm::MCOperand& Op

llvm::MCInstBuilder& addReg(unsigned int Reg)

Description

Add a new register operand.

Declared at: llvm/include/llvm/MC/MCInstBuilder.h:31

Parameters

unsigned int Reg

llvm::MCInstBuilder& addSFPImm(uint32_t Val)

Description

Add a new single floating point immediate operand.

Declared at: llvm/include/llvm/MC/MCInstBuilder.h:43

Parameters

uint32_t Val

llvm::MCInst& operator llvm::MCInst&()

Declared at: llvm/include/llvm/MC/MCInstBuilder.h:72