LLVM  15.0.0git
Macros | Functions
LoongArchMCTargetDesc.cpp File Reference
#include "LoongArchMCTargetDesc.h"
#include "LoongArchBaseInfo.h"
#include "LoongArchInstPrinter.h"
#include "LoongArchMCAsmInfo.h"
#include "TargetInfo/LoongArchTargetInfo.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCDwarf.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/Support/Compiler.h"
#include "LoongArchGenInstrInfo.inc"
#include "LoongArchGenRegisterInfo.inc"
#include "LoongArchGenSubtargetInfo.inc"
Include dependency graph for LoongArchMCTargetDesc.cpp:

Go to the source code of this file.

Macros

#define GET_INSTRINFO_MC_DESC
 
#define GET_REGINFO_MC_DESC
 
#define GET_SUBTARGETINFO_MC_DESC
 

Functions

static MCRegisterInfocreateLoongArchMCRegisterInfo (const Triple &TT)
 
static MCInstrInfocreateLoongArchMCInstrInfo ()
 
static MCSubtargetInfocreateLoongArchMCSubtargetInfo (const Triple &TT, StringRef CPU, StringRef FS)
 
static MCAsmInfocreateLoongArchMCAsmInfo (const MCRegisterInfo &MRI, const Triple &TT, const MCTargetOptions &Options)
 
static MCInstPrintercreateLoongArchMCInstPrinter (const Triple &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
 
static MCInstrAnalysiscreateLoongArchInstrAnalysis (const MCInstrInfo *Info)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeLoongArchTargetMC ()
 

Macro Definition Documentation

◆ GET_INSTRINFO_MC_DESC

#define GET_INSTRINFO_MC_DESC

Definition at line 27 of file LoongArchMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC

#define GET_REGINFO_MC_DESC

Definition at line 30 of file LoongArchMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 33 of file LoongArchMCTargetDesc.cpp.

Function Documentation

◆ createLoongArchInstrAnalysis()

static MCInstrAnalysis* createLoongArchInstrAnalysis ( const MCInstrInfo Info)
static

Definition at line 99 of file LoongArchMCTargetDesc.cpp.

References Info.

Referenced by LLVMInitializeLoongArchTargetMC().

◆ createLoongArchMCAsmInfo()

static MCAsmInfo* createLoongArchMCAsmInfo ( const MCRegisterInfo MRI,
const Triple TT,
const MCTargetOptions Options 
)
static

◆ createLoongArchMCInstPrinter()

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

Definition at line 70 of file LoongArchMCTargetDesc.cpp.

References MRI.

Referenced by LLVMInitializeLoongArchTargetMC().

◆ createLoongArchMCInstrInfo()

static MCInstrInfo* createLoongArchMCInstrInfo ( )
static

Definition at line 44 of file LoongArchMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeLoongArchTargetMC().

◆ createLoongArchMCRegisterInfo()

static MCRegisterInfo* createLoongArchMCRegisterInfo ( const Triple TT)
static

Definition at line 38 of file LoongArchMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeLoongArchTargetMC().

◆ createLoongArchMCSubtargetInfo()

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

Definition at line 51 of file LoongArchMCTargetDesc.cpp.

References llvm::StringRef::empty(), and llvm::X86AS::FS.

Referenced by LLVMInitializeLoongArchTargetMC().

◆ LLVMInitializeLoongArchTargetMC()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeLoongArchTargetMC ( )