LLVM  6.0.0svn
Macros | Functions
AMDGPUMCTargetDesc.cpp File Reference

This file provides AMDGPU specific target descriptions. More...

#include "AMDGPUMCTargetDesc.h"
#include "AMDGPUELFStreamer.h"
#include "AMDGPUMCAsmInfo.h"
#include "AMDGPUTargetStreamer.h"
#include "InstPrinter/AMDGPUInstPrinter.h"
#include "SIDefines.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCCodeEmitter.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MachineLocation.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/TargetRegistry.h"
#include "AMDGPUGenInstrInfo.inc"
#include "AMDGPUGenSubtargetInfo.inc"
#include "AMDGPUGenRegisterInfo.inc"
Include dependency graph for AMDGPUMCTargetDesc.cpp:

Go to the source code of this file.

Macros

#define GET_INSTRINFO_MC_DESC
 
#define GET_SUBTARGETINFO_MC_DESC
 
#define GET_REGINFO_MC_DESC
 

Functions

static MCInstrInfocreateAMDGPUMCInstrInfo ()
 
static MCRegisterInfocreateAMDGPUMCRegisterInfo (const Triple &TT)
 
static MCSubtargetInfocreateAMDGPUMCSubtargetInfo (const Triple &TT, StringRef CPU, StringRef FS)
 
static MCInstPrintercreateAMDGPUMCInstPrinter (const Triple &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
 
static MCTargetStreamercreateAMDGPUAsmTargetStreamer (MCStreamer &S, formatted_raw_ostream &OS, MCInstPrinter *InstPrint, bool isVerboseAsm)
 
static MCTargetStreamercreateAMDGPUObjectTargetStreamer (MCStreamer &S, const MCSubtargetInfo &STI)
 
static MCStreamercreateMCStreamer (const Triple &T, MCContext &Context, std::unique_ptr< MCAsmBackend > &&MAB, raw_pwrite_stream &OS, std::unique_ptr< MCCodeEmitter > &&Emitter, bool RelaxAll)
 
void LLVMInitializeAMDGPUTargetMC ()
 

Detailed Description

This file provides AMDGPU specific target descriptions.

Definition in file AMDGPUMCTargetDesc.cpp.

Macro Definition Documentation

◆ GET_INSTRINFO_MC_DESC

#define GET_INSTRINFO_MC_DESC

Definition at line 34 of file AMDGPUMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC

#define GET_REGINFO_MC_DESC

Definition at line 40 of file AMDGPUMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 37 of file AMDGPUMCTargetDesc.cpp.

Function Documentation

◆ createAMDGPUAsmTargetStreamer()

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

Definition at line 69 of file AMDGPUMCTargetDesc.cpp.

Referenced by LLVMInitializeAMDGPUTargetMC().

◆ createAMDGPUMCInstPrinter()

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

Definition at line 60 of file AMDGPUMCTargetDesc.cpp.

References llvm::Triple::getArch(), and llvm::Triple::r600.

Referenced by LLVMInitializeAMDGPUTargetMC().

◆ createAMDGPUMCInstrInfo()

static MCInstrInfo* createAMDGPUMCInstrInfo ( )
static

Definition at line 43 of file AMDGPUMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeAMDGPUTargetMC().

◆ createAMDGPUMCRegisterInfo()

static MCRegisterInfo* createAMDGPUMCRegisterInfo ( const Triple TT)
static

Definition at line 49 of file AMDGPUMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeAMDGPUTargetMC().

◆ createAMDGPUMCSubtargetInfo()

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

Definition at line 56 of file AMDGPUMCTargetDesc.cpp.

Referenced by LLVMInitializeAMDGPUTargetMC().

◆ createAMDGPUObjectTargetStreamer()

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

Definition at line 76 of file AMDGPUMCTargetDesc.cpp.

Referenced by LLVMInitializeAMDGPUTargetMC().

◆ createMCStreamer()

static MCStreamer* createMCStreamer ( const Triple T,
MCContext Context,
std::unique_ptr< MCAsmBackend > &&  MAB,
raw_pwrite_stream OS,
std::unique_ptr< MCCodeEmitter > &&  Emitter,
bool  RelaxAll 
)
static

Definition at line 82 of file AMDGPUMCTargetDesc.cpp.

References llvm::createAMDGPUELFStreamer().

Referenced by LLVMInitializeAMDGPUTargetMC().

◆ LLVMInitializeAMDGPUTargetMC()

void LLVMInitializeAMDGPUTargetMC ( )