LLVM  8.0.1
Macros | Functions
LanaiMCTargetDesc.cpp File Reference
#include "LanaiMCTargetDesc.h"
#include "InstPrinter/LanaiInstPrinter.h"
#include "LanaiMCAsmInfo.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Triple.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrAnalysis.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/TargetRegistry.h"
#include <cstdint>
#include <string>
#include "LanaiGenInstrInfo.inc"
#include "LanaiGenSubtargetInfo.inc"
#include "LanaiGenRegisterInfo.inc"
Include dependency graph for LanaiMCTargetDesc.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 MCInstrInfocreateLanaiMCInstrInfo ()
 
static MCRegisterInfocreateLanaiMCRegisterInfo (const Triple &)
 
static MCSubtargetInfocreateLanaiMCSubtargetInfo (const Triple &TT, StringRef CPU, StringRef FS)
 
static MCStreamercreateMCStreamer (const Triple &T, MCContext &Context, std::unique_ptr< MCAsmBackend > &&MAB, std::unique_ptr< MCObjectWriter > &&OW, std::unique_ptr< MCCodeEmitter > &&Emitter, bool RelaxAll)
 
static MCInstPrintercreateLanaiMCInstPrinter (const Triple &, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
 
static MCRelocationInfocreateLanaiElfRelocation (const Triple &TheTriple, MCContext &Ctx)
 
static MCInstrAnalysiscreateLanaiInstrAnalysis (const MCInstrInfo *Info)
 
void LLVMInitializeLanaiTargetMC ()
 

Macro Definition Documentation

◆ GET_INSTRINFO_MC_DESC

#define GET_INSTRINFO_MC_DESC

Definition at line 30 of file LanaiMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC

#define GET_REGINFO_MC_DESC

Definition at line 36 of file LanaiMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 33 of file LanaiMCTargetDesc.cpp.

Function Documentation

◆ createLanaiElfRelocation()

static MCRelocationInfo* createLanaiElfRelocation ( const Triple TheTriple,
MCContext Ctx 
)
static

◆ createLanaiInstrAnalysis()

static MCInstrAnalysis* createLanaiInstrAnalysis ( const MCInstrInfo Info)
static

Definition at line 122 of file LanaiMCTargetDesc.cpp.

Referenced by LLVMInitializeLanaiTargetMC().

◆ createLanaiMCInstPrinter()

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

Definition at line 74 of file LanaiMCTargetDesc.cpp.

Referenced by LLVMInitializeLanaiTargetMC().

◆ createLanaiMCInstrInfo()

static MCInstrInfo* createLanaiMCInstrInfo ( )
static

Definition at line 41 of file LanaiMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeLanaiTargetMC().

◆ createLanaiMCRegisterInfo()

static MCRegisterInfo* createLanaiMCRegisterInfo ( const Triple )
static

Definition at line 47 of file LanaiMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeLanaiTargetMC().

◆ createLanaiMCSubtargetInfo()

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

Definition at line 54 of file LanaiMCTargetDesc.cpp.

Referenced by LLVMInitializeLanaiTargetMC().

◆ createMCStreamer()

static MCStreamer* createMCStreamer ( const Triple T,
MCContext Context,
std::unique_ptr< MCAsmBackend > &&  MAB,
std::unique_ptr< MCObjectWriter > &&  OW,
std::unique_ptr< MCCodeEmitter > &&  Emitter,
bool  RelaxAll 
)
static

◆ LLVMInitializeLanaiTargetMC()

void LLVMInitializeLanaiTargetMC ( )