LLVM API Documentation

Defines | Functions
AMDGPUMCTargetDesc.cpp File Reference

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

#include "AMDGPUMCTargetDesc.h"
#include "AMDGPUMCAsmInfo.h"
#include "InstPrinter/AMDGPUInstPrinter.h"
#include "llvm/MC/MCCodeGenInfo.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.

Defines

#define GET_INSTRINFO_MC_DESC
#define GET_SUBTARGETINFO_MC_DESC
#define GET_REGINFO_MC_DESC

Functions

static MCInstrInfocreateAMDGPUMCInstrInfo ()
static MCRegisterInfocreateAMDGPUMCRegisterInfo (StringRef TT)
static MCSubtargetInfocreateAMDGPUMCSubtargetInfo (StringRef TT, StringRef CPU, StringRef FS)
static MCCodeGenInfocreateAMDGPUMCCodeGenInfo (StringRef TT, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL)
static MCInstPrintercreateAMDGPUMCInstPrinter (const Target &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI, const MCSubtargetInfo &STI)
static MCCodeEmittercreateAMDGPUMCCodeEmitter (const MCInstrInfo &MCII, const MCRegisterInfo &MRI, const MCSubtargetInfo &STI, MCContext &Ctx)
static MCStreamercreateMCStreamer (const Target &T, StringRef TT, MCContext &Ctx, MCAsmBackend &MAB, raw_ostream &_OS, MCCodeEmitter *_Emitter, const MCSubtargetInfo &STI, bool RelaxAll, bool NoExecStack)
void LLVMInitializeR600TargetMC ()

Detailed Description

This file provides AMDGPU specific target descriptions.

Definition in file AMDGPUMCTargetDesc.cpp.


Define Documentation

Definition at line 29 of file AMDGPUMCTargetDesc.cpp.

Definition at line 35 of file AMDGPUMCTargetDesc.cpp.

Definition at line 32 of file AMDGPUMCTargetDesc.cpp.


Function Documentation

static MCCodeEmitter* createAMDGPUMCCodeEmitter ( const MCInstrInfo MCII,
const MCRegisterInfo MRI,
const MCSubtargetInfo STI,
MCContext Ctx 
) [static]

Definition at line 57 of file AMDGPUMCTargetDesc.cpp.

References llvm::MCCodeGenInfo::InitMCCodeGenInfo(), and llvm::X.

Referenced by LLVMInitializeR600TargetMC().

static MCInstPrinter* createAMDGPUMCInstPrinter ( const Target T,
unsigned  SyntaxVariant,
const MCAsmInfo MAI,
const MCInstrInfo MII,
const MCRegisterInfo MRI,
const MCSubtargetInfo STI 
) [static]

Definition at line 65 of file AMDGPUMCTargetDesc.cpp.

Referenced by LLVMInitializeR600TargetMC().

static MCInstrInfo* createAMDGPUMCInstrInfo ( ) [static]

Definition at line 38 of file AMDGPUMCTargetDesc.cpp.

References llvm::X.

Referenced by LLVMInitializeR600TargetMC().

Definition at line 44 of file AMDGPUMCTargetDesc.cpp.

References llvm::X.

Referenced by LLVMInitializeR600TargetMC().

static MCSubtargetInfo* createAMDGPUMCSubtargetInfo ( StringRef  TT,
StringRef  CPU,
StringRef  FS 
) [static]

Definition at line 50 of file AMDGPUMCTargetDesc.cpp.

References llvm::X.

Referenced by LLVMInitializeR600TargetMC().

static MCStreamer* createMCStreamer ( const Target T,
StringRef  TT,
MCContext Ctx,
MCAsmBackend MAB,
raw_ostream _OS,
MCCodeEmitter _Emitter,
const MCSubtargetInfo STI,
bool  RelaxAll,
bool  NoExecStack 
) [static]

Definition at line 85 of file AMDGPUMCTargetDesc.cpp.

References llvm::createELFStreamer().

Referenced by LLVMInitializeR600TargetMC().