LLVM: llvm::BPFMCInstLower Class Reference (original) (raw)

#include "[Target/BPF/BPFMCInstLower.h](BPFMCInstLower%5F8h%5Fsource.html)"

Public Member Functions
BPFMCInstLower (MCContext &ctx, BPFAsmPrinter &printer)
void Lower (const MachineInstr *MI, MCInst &OutMI) const
MCOperand LowerSymbolOperand (const MachineOperand &MO, MCSymbol *Sym) const
MCSymbol * GetGlobalAddressSymbol (const MachineOperand &MO) const
MCSymbol * GetExternalSymbolSymbol (const MachineOperand &MO) const

Definition at line 24 of file BPFMCInstLower.h.

GetExternalSymbolSymbol()

GetGlobalAddressSymbol()

Lower()

Definition at line 50 of file BPFMCInstLower.cpp.

References llvm::MCInst::addOperand(), llvm::MCSymbolRefExpr::create(), llvm::MCOperand::createExpr(), llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::errs(), GetExternalSymbolSymbol(), GetGlobalAddressSymbol(), llvm_unreachable, LowerSymbolOperand(), MI, llvm::MachineOperand::MO_ConstantPoolIndex, llvm::MachineOperand::MO_ExternalSymbol, llvm::MachineOperand::MO_GlobalAddress, llvm::MachineOperand::MO_Immediate, llvm::MachineOperand::MO_JumpTableIndex, llvm::MachineOperand::MO_MachineBasicBlock, llvm::MachineOperand::MO_Register, llvm::MachineOperand::MO_RegisterMask, and llvm::MCInst::setOpcode().

Referenced by llvm::BPFAsmPrinter::emitInstruction().

LowerSymbolOperand()


The documentation for this class was generated from the following files: