LLVM  6.0.0svn
Macros | Functions
RISCVMCTargetDesc.cpp File Reference
#include "RISCVMCTargetDesc.h"
#include "InstPrinter/RISCVInstPrinter.h"
#include "RISCVMCAsmInfo.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/MC/MCAsmInfo.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 "RISCVGenInstrInfo.inc"
#include "RISCVGenRegisterInfo.inc"
#include "RISCVGenSubtargetInfo.inc"
Include dependency graph for RISCVMCTargetDesc.cpp:

Go to the source code of this file.

Macros

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

Functions

static MCInstrInfocreateRISCVMCInstrInfo ()
 
static MCRegisterInfocreateRISCVMCRegisterInfo (const Triple &TT)
 
static MCAsmInfocreateRISCVMCAsmInfo (const MCRegisterInfo &MRI, const Triple &TT)
 
static MCSubtargetInfocreateRISCVMCSubtargetInfo (const Triple &TT, StringRef CPU, StringRef FS)
 
static MCInstPrintercreateRISCVMCInstPrinter (const Triple &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
 
void LLVMInitializeRISCVTargetMC ()
 

Macro Definition Documentation

◆ GET_INSTRINFO_MC_DESC

#define GET_INSTRINFO_MC_DESC

This file provides RISCV-specific target descriptions.

Definition at line 26 of file RISCVMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC

#define GET_REGINFO_MC_DESC

Definition at line 29 of file RISCVMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 32 of file RISCVMCTargetDesc.cpp.

Function Documentation

◆ createRISCVMCAsmInfo()

static MCAsmInfo* createRISCVMCAsmInfo ( const MCRegisterInfo MRI,
const Triple TT 
)
static

Definition at line 49 of file RISCVMCTargetDesc.cpp.

Referenced by LLVMInitializeRISCVTargetMC().

◆ createRISCVMCInstPrinter()

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

Definition at line 62 of file RISCVMCTargetDesc.cpp.

Referenced by LLVMInitializeRISCVTargetMC().

◆ createRISCVMCInstrInfo()

static MCInstrInfo* createRISCVMCInstrInfo ( )
static

Definition at line 37 of file RISCVMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeRISCVTargetMC().

◆ createRISCVMCRegisterInfo()

static MCRegisterInfo* createRISCVMCRegisterInfo ( const Triple TT)
static

Definition at line 43 of file RISCVMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeRISCVTargetMC().

◆ createRISCVMCSubtargetInfo()

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

Definition at line 54 of file RISCVMCTargetDesc.cpp.

References llvm::Triple::isArch64Bit().

Referenced by LLVMInitializeRISCVTargetMC().

◆ LLVMInitializeRISCVTargetMC()

void LLVMInitializeRISCVTargetMC ( )