LLVM  13.0.0git
Macros | Functions
CSKYMCTargetDesc.cpp File Reference
#include "CSKYMCTargetDesc.h"
#include "CSKYAsmBackend.h"
#include "CSKYInstPrinter.h"
#include "CSKYMCAsmInfo.h"
#include "CSKYMCCodeEmitter.h"
#include "TargetInfo/CSKYTargetInfo.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/TargetRegistry.h"
#include "CSKYGenInstrInfo.inc"
#include "CSKYGenRegisterInfo.inc"
#include "CSKYGenSubtargetInfo.inc"
Include dependency graph for CSKYMCTargetDesc.cpp:

Go to the source code of this file.

Macros

#define GET_INSTRINFO_MC_DESC
 This file provides CSKY specific target descriptions. More...
 
#define GET_REGINFO_MC_DESC
 
#define GET_SUBTARGETINFO_MC_DESC
 

Functions

static MCAsmInfocreateCSKYMCAsmInfo (const MCRegisterInfo &MRI, const Triple &TT, const MCTargetOptions &Options)
 
static MCInstrInfocreateCSKYMCInstrInfo ()
 
static MCInstPrintercreateCSKYMCInstPrinter (const Triple &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
 
static MCRegisterInfocreateCSKYMCRegisterInfo (const Triple &TT)
 
static MCSubtargetInfocreateCSKYMCSubtargetInfo (const Triple &TT, StringRef CPU, StringRef FS)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeCSKYTargetMC ()
 

Macro Definition Documentation

◆ GET_INSTRINFO_MC_DESC

#define GET_INSTRINFO_MC_DESC

This file provides CSKY specific target descriptions.

Definition at line 24 of file CSKYMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC

#define GET_REGINFO_MC_DESC

Definition at line 27 of file CSKYMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 30 of file CSKYMCTargetDesc.cpp.

Function Documentation

◆ createCSKYMCAsmInfo()

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

◆ createCSKYMCInstPrinter()

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

Definition at line 53 of file CSKYMCTargetDesc.cpp.

References MRI.

Referenced by LLVMInitializeCSKYTargetMC().

◆ createCSKYMCInstrInfo()

static MCInstrInfo* createCSKYMCInstrInfo ( )
static

Definition at line 47 of file CSKYMCTargetDesc.cpp.

References Info.

Referenced by LLVMInitializeCSKYTargetMC().

◆ createCSKYMCRegisterInfo()

static MCRegisterInfo* createCSKYMCRegisterInfo ( const Triple TT)
static

Definition at line 61 of file CSKYMCTargetDesc.cpp.

References Info.

Referenced by LLVMInitializeCSKYTargetMC().

◆ createCSKYMCSubtargetInfo()

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

Definition at line 67 of file CSKYMCTargetDesc.cpp.

References llvm::X86AS::FS.

Referenced by LLVMInitializeCSKYTargetMC().

◆ LLVMInitializeCSKYTargetMC()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeCSKYTargetMC ( )