LLVM 20.0.0git
Macros | Functions
LoongArchMCTargetDesc.cpp File Reference
#include "LoongArchMCTargetDesc.h"
#include "LoongArchBaseInfo.h"
#include "LoongArchELFStreamer.h"
#include "LoongArchInstPrinter.h"
#include "LoongArchMCAsmInfo.h"
#include "TargetInfo/LoongArchTargetInfo.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCCodeEmitter.h"
#include "llvm/MC/MCDwarf.h"
#include "llvm/MC/MCInstrAnalysis.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCObjectWriter.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"

Go to the source code of this file.

Macros

#define GET_INSTRINFO_MC_DESC
 
#define ENABLE_INSTR_PREDICATE_VERIFIER
 
#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 MCTargetStreamercreateLoongArchObjectTargetStreamer (MCStreamer &S, const MCSubtargetInfo &STI)
 
static MCInstrAnalysiscreateLoongArchInstrAnalysis (const MCInstrInfo *Info)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeLoongArchTargetMC ()
 

Macro Definition Documentation

◆ ENABLE_INSTR_PREDICATE_VERIFIER

#define ENABLE_INSTR_PREDICATE_VERIFIER

Definition at line 32 of file LoongArchMCTargetDesc.cpp.

◆ GET_INSTRINFO_MC_DESC

#define GET_INSTRINFO_MC_DESC

Definition at line 31 of file LoongArchMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC

#define GET_REGINFO_MC_DESC

Definition at line 35 of file LoongArchMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 38 of file LoongArchMCTargetDesc.cpp.

Function Documentation

◆ createLoongArchInstrAnalysis()

static MCInstrAnalysis * createLoongArchInstrAnalysis ( const MCInstrInfo Info)
static

Definition at line 188 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 75 of file LoongArchMCTargetDesc.cpp.

References MRI.

Referenced by LLVMInitializeLoongArchTargetMC().

◆ createLoongArchMCInstrInfo()

static MCInstrInfo * createLoongArchMCInstrInfo ( )
static

Definition at line 49 of file LoongArchMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeLoongArchTargetMC().

◆ createLoongArchMCRegisterInfo()

static MCRegisterInfo * createLoongArchMCRegisterInfo ( const Triple TT)
static

Definition at line 43 of file LoongArchMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeLoongArchTargetMC().

◆ createLoongArchMCSubtargetInfo()

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

Definition at line 56 of file LoongArchMCTargetDesc.cpp.

References llvm::StringRef::empty().

Referenced by LLVMInitializeLoongArchTargetMC().

◆ createLoongArchObjectTargetStreamer()

static MCTargetStreamer * createLoongArchObjectTargetStreamer ( MCStreamer S,
const MCSubtargetInfo STI 
)
static

◆ LLVMInitializeLoongArchTargetMC()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeLoongArchTargetMC ( )