LLVM  8.0.1
Macros | Functions
RISCVMCTargetDesc.cpp File Reference
#include "RISCVMCTargetDesc.h"
#include "InstPrinter/RISCVInstPrinter.h"
#include "RISCVELFStreamer.h"
#include "RISCVMCAsmInfo.h"
#include "RISCVTargetStreamer.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)
 
static MCTargetStreamercreateRISCVObjectTargetStreamer (MCStreamer &S, const MCSubtargetInfo &STI)
 
static MCTargetStreamercreateRISCVAsmTargetStreamer (MCStreamer &S, formatted_raw_ostream &OS, MCInstPrinter *InstPrint, bool isVerboseAsm)
 
void LLVMInitializeRISCVTargetMC ()
 

Macro Definition Documentation

◆ GET_INSTRINFO_MC_DESC

#define GET_INSTRINFO_MC_DESC

This file provides RISCV-specific target descriptions.

Definition at line 28 of file RISCVMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC

#define GET_REGINFO_MC_DESC

Definition at line 31 of file RISCVMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 34 of file RISCVMCTargetDesc.cpp.

Function Documentation

◆ createRISCVAsmTargetStreamer()

static MCTargetStreamer* createRISCVAsmTargetStreamer ( MCStreamer S,
formatted_raw_ostream OS,
MCInstPrinter InstPrint,
bool  isVerboseAsm 
)
static

Definition at line 80 of file RISCVMCTargetDesc.cpp.

Referenced by LLVMInitializeRISCVTargetMC().

◆ createRISCVMCAsmInfo()

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

Definition at line 51 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 64 of file RISCVMCTargetDesc.cpp.

Referenced by LLVMInitializeRISCVTargetMC().

◆ createRISCVMCInstrInfo()

static MCInstrInfo* createRISCVMCInstrInfo ( )
static

Definition at line 39 of file RISCVMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeRISCVTargetMC().

◆ createRISCVMCRegisterInfo()

static MCRegisterInfo* createRISCVMCRegisterInfo ( const Triple TT)
static

Definition at line 45 of file RISCVMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeRISCVTargetMC().

◆ createRISCVMCSubtargetInfo()

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

Definition at line 56 of file RISCVMCTargetDesc.cpp.

References llvm::Triple::isArch64Bit().

Referenced by LLVMInitializeRISCVTargetMC().

◆ createRISCVObjectTargetStreamer()

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

◆ LLVMInitializeRISCVTargetMC()

void LLVMInitializeRISCVTargetMC ( )