LLVM 20.0.0git
Public Member Functions | List of all members
llvm::BPFMCInstLower Class Reference

#include "Target/BPF/BPFMCInstLower.h"

Public Member Functions

 BPFMCInstLower (MCContext &ctx, AsmPrinter &printer)
 
void Lower (const MachineInstr *MI, MCInst &OutMI) const
 
MCOperand LowerSymbolOperand (const MachineOperand &MO, MCSymbol *Sym) const
 
MCSymbolGetGlobalAddressSymbol (const MachineOperand &MO) const
 
MCSymbolGetExternalSymbolSymbol (const MachineOperand &MO) const
 

Detailed Description

Definition at line 24 of file BPFMCInstLower.h.

Constructor & Destructor Documentation

◆ BPFMCInstLower()

llvm::BPFMCInstLower::BPFMCInstLower ( MCContext ctx,
AsmPrinter printer 
)
inline

Definition at line 30 of file BPFMCInstLower.h.

Member Function Documentation

◆ GetExternalSymbolSymbol()

MCSymbol * BPFMCInstLower::GetExternalSymbolSymbol ( const MachineOperand MO) const

◆ GetGlobalAddressSymbol()

MCSymbol * BPFMCInstLower::GetGlobalAddressSymbol ( const MachineOperand MO) const

Definition at line 27 of file BPFMCInstLower.cpp.

References llvm::MachineOperand::getGlobal(), and llvm::AsmPrinter::getSymbol().

Referenced by Lower().

◆ Lower()

void BPFMCInstLower::Lower ( const MachineInstr MI,
MCInst OutMI 
) const

◆ LowerSymbolOperand()

MCOperand BPFMCInstLower::LowerSymbolOperand ( const MachineOperand MO,
MCSymbol Sym 
) const

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