LLVM  8.0.1
Macros | Functions
BPFMCTargetDesc.cpp File Reference
#include "MCTargetDesc/BPFMCTargetDesc.h"
#include "BPF.h"
#include "InstPrinter/BPFInstPrinter.h"
#include "MCTargetDesc/BPFMCAsmInfo.h"
#include "llvm/MC/MCInstrAnalysis.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/Host.h"
#include "llvm/Support/TargetRegistry.h"
#include "BPFGenInstrInfo.inc"
#include "BPFGenSubtargetInfo.inc"
#include "BPFGenRegisterInfo.inc"
Include dependency graph for BPFMCTargetDesc.cpp:

Go to the source code of this file.

Macros

#define GET_INSTRINFO_MC_DESC
 
#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, bool RelaxAll)
 
static MCInstPrintercreateBPFMCInstPrinter (const Triple &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
 
static MCInstrAnalysiscreateBPFInstrAnalysis (const MCInstrInfo *Info)
 
void LLVMInitializeBPFTargetMC ()
 

Macro Definition Documentation

◆ GET_INSTRINFO_MC_DESC

#define GET_INSTRINFO_MC_DESC

Definition at line 25 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 97 of file BPFMCTargetDesc.cpp.

Referenced by LLVMInitializeBPFTargetMC().

◆ createBPFMCInstPrinter()

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

◆ 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,
bool  RelaxAll 
)
static

Definition at line 53 of file BPFMCTargetDesc.cpp.

References llvm::createELFStreamer().

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()

void LLVMInitializeBPFTargetMC ( )