LLVM 20.0.0git
Macros | Functions
BPFMCTargetDesc.cpp File Reference
#include "MCTargetDesc/BPFMCTargetDesc.h"
#include "MCTargetDesc/BPFInstPrinter.h"
#include "MCTargetDesc/BPFMCAsmInfo.h"
#include "TargetInfo/BPFTargetInfo.h"
#include "llvm/MC/MCInstrAnalysis.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/TargetParser/Host.h"
#include "BPFGenInstrInfo.inc"
#include "BPFGenSubtargetInfo.inc"
#include "BPFGenRegisterInfo.inc"

Go to the source code of this file.

Macros

#define GET_INSTRINFO_MC_DESC
 
#define ENABLE_INSTR_PREDICATE_VERIFIER
 
#define GET_SUBTARGETINFO_MC_DESC
 
#define GET_REGINFO_MC_DESC
 

Functions

static MCInstrInfocreateBPFMCInstrInfo ()
 
static MCRegisterInfocreateBPFMCRegisterInfo (const Triple &TT)
 
static MCSubtargetInfocreateBPFMCSubtargetInfo (const Triple &TT, StringRef CPU, StringRef FS)
 
static MCStreamercreateBPFMCStreamer (const Triple &T, MCContext &Ctx, std::unique_ptr< MCAsmBackend > &&MAB, std::unique_ptr< MCObjectWriter > &&OW, std::unique_ptr< MCCodeEmitter > &&Emitter)
 
static MCInstPrintercreateBPFMCInstPrinter (const Triple &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
 
static MCInstrAnalysiscreateBPFInstrAnalysis (const MCInstrInfo *Info)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeBPFTargetMC ()
 

Macro Definition Documentation

◆ ENABLE_INSTR_PREDICATE_VERIFIER

#define ENABLE_INSTR_PREDICATE_VERIFIER

Definition at line 25 of file BPFMCTargetDesc.cpp.

◆ GET_INSTRINFO_MC_DESC

#define GET_INSTRINFO_MC_DESC

Definition at line 24 of file BPFMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC

#define GET_REGINFO_MC_DESC

Definition at line 31 of file BPFMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 28 of file BPFMCTargetDesc.cpp.

Function Documentation

◆ createBPFInstrAnalysis()

static MCInstrAnalysis * createBPFInstrAnalysis ( const MCInstrInfo Info)
static

Definition at line 103 of file BPFMCTargetDesc.cpp.

References Info.

Referenced by LLVMInitializeBPFTargetMC().

◆ createBPFMCInstPrinter()

static MCInstPrinter * createBPFMCInstPrinter ( const Triple T,
unsigned  SyntaxVariant,
const MCAsmInfo MAI,
const MCInstrInfo MII,
const MCRegisterInfo MRI 
)
static

Definition at line 62 of file BPFMCTargetDesc.cpp.

References MRI.

Referenced by LLVMInitializeBPFTargetMC().

◆ createBPFMCInstrInfo()

static MCInstrInfo * createBPFMCInstrInfo ( )
static

Definition at line 36 of file BPFMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeBPFTargetMC().

◆ createBPFMCRegisterInfo()

static MCRegisterInfo * createBPFMCRegisterInfo ( const Triple TT)
static

Definition at line 42 of file BPFMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeBPFTargetMC().

◆ createBPFMCStreamer()

static MCStreamer * createBPFMCStreamer ( const Triple T,
MCContext Ctx,
std::unique_ptr< MCAsmBackend > &&  MAB,
std::unique_ptr< MCObjectWriter > &&  OW,
std::unique_ptr< MCCodeEmitter > &&  Emitter 
)
static

Definition at line 54 of file BPFMCTargetDesc.cpp.

References llvm::createELFStreamer(), and Emitter.

Referenced by LLVMInitializeBPFTargetMC().

◆ createBPFMCSubtargetInfo()

static MCSubtargetInfo * createBPFMCSubtargetInfo ( const Triple TT,
StringRef  CPU,
StringRef  FS 
)
static

Definition at line 48 of file BPFMCTargetDesc.cpp.

Referenced by LLVMInitializeBPFTargetMC().

◆ LLVMInitializeBPFTargetMC()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeBPFTargetMC ( )