LLVM  8.0.1
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/MCObjectWriter.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 "R600GenSubtargetInfo.inc"
#include "AMDGPUGenRegisterInfo.inc"
#include "R600GenRegisterInfo.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 NoSchedModel   NoSchedModelR600
 
#define GET_SUBTARGETINFO_MC_DESC
 
#define GET_REGINFO_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, std::unique_ptr< MCObjectWriter > &&OW, 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 35 of file AMDGPUMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC [1/2]

#define GET_REGINFO_MC_DESC

Definition at line 49 of file AMDGPUMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC [2/2]

#define GET_REGINFO_MC_DESC

Definition at line 49 of file AMDGPUMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC [1/2]

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 42 of file AMDGPUMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC [2/2]

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 42 of file AMDGPUMCTargetDesc.cpp.

◆ NoSchedModel

#define NoSchedModel   NoSchedModelR600

Definition at line 41 of file AMDGPUMCTargetDesc.cpp.

Function Documentation

◆ createAMDGPUAsmTargetStreamer()

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

Definition at line 85 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 74 of file AMDGPUMCTargetDesc.cpp.

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

Referenced by LLVMInitializeAMDGPUTargetMC().

◆ createAMDGPUMCInstrInfo()

static MCInstrInfo* createAMDGPUMCInstrInfo ( )
static

Definition at line 52 of file AMDGPUMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeAMDGPUTargetMC().

◆ createAMDGPUMCRegisterInfo()

static MCRegisterInfo* createAMDGPUMCRegisterInfo ( const Triple TT)
static

Definition at line 58 of file AMDGPUMCTargetDesc.cpp.

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

Referenced by LLVMInitializeAMDGPUTargetMC().

◆ createAMDGPUMCSubtargetInfo()

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

Definition at line 68 of file AMDGPUMCTargetDesc.cpp.

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

Referenced by LLVMInitializeAMDGPUTargetMC().

◆ createAMDGPUObjectTargetStreamer()

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

Definition at line 92 of file AMDGPUMCTargetDesc.cpp.

Referenced by LLVMInitializeAMDGPUTargetMC().

◆ createMCStreamer()

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

Definition at line 98 of file AMDGPUMCTargetDesc.cpp.

References llvm::createAMDGPUELFStreamer().

Referenced by LLVMInitializeAMDGPUTargetMC().

◆ LLVMInitializeAMDGPUTargetMC()

void LLVMInitializeAMDGPUTargetMC ( )