LLVM API Documentation
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"
Go to the source code of this file.
This file provides AMDGPU specific target descriptions.
Definition in file AMDGPUMCTargetDesc.cpp.
#define GET_INSTRINFO_MC_DESC |
Definition at line 29 of file AMDGPUMCTargetDesc.cpp.
#define GET_REGINFO_MC_DESC |
Definition at line 35 of file AMDGPUMCTargetDesc.cpp.
#define GET_SUBTARGETINFO_MC_DESC |
Definition at line 32 of file AMDGPUMCTargetDesc.cpp.
static MCCodeEmitter* createAMDGPUMCCodeEmitter | ( | const MCInstrInfo & | MCII, |
const MCRegisterInfo & | MRI, | ||
const MCSubtargetInfo & | STI, | ||
MCContext & | Ctx | ||
) | [static] |
Definition at line 74 of file AMDGPUMCTargetDesc.cpp.
References llvm::createR600MCCodeEmitter(), llvm::createSIMCCodeEmitter(), and llvm::MCSubtargetInfo::getFeatureBits().
Referenced by LLVMInitializeR600TargetMC().
static MCCodeGenInfo* createAMDGPUMCCodeGenInfo | ( | StringRef | TT, |
Reloc::Model | RM, | ||
CodeModel::Model | CM, | ||
CodeGenOpt::Level | OL | ||
) | [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().
static MCRegisterInfo* createAMDGPUMCRegisterInfo | ( | StringRef | TT | ) | [static] |
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().
void LLVMInitializeR600TargetMC | ( | ) |
Definition at line 95 of file AMDGPUMCTargetDesc.cpp.
References llvm::createAMDGPUAsmBackend(), createAMDGPUMCCodeEmitter(), createAMDGPUMCCodeGenInfo(), createAMDGPUMCInstPrinter(), createAMDGPUMCInstrInfo(), createAMDGPUMCRegisterInfo(), createAMDGPUMCSubtargetInfo(), createMCStreamer(), llvm::TargetRegistry::RegisterMCAsmBackend(), llvm::TargetRegistry::RegisterMCCodeEmitter(), llvm::TargetRegistry::RegisterMCCodeGenInfo(), llvm::TargetRegistry::RegisterMCInstPrinter(), llvm::TargetRegistry::RegisterMCInstrInfo(), llvm::TargetRegistry::RegisterMCObjectStreamer(), llvm::TargetRegistry::RegisterMCRegInfo(), llvm::TargetRegistry::RegisterMCSubtargetInfo(), llvm::TheAMDGPUTarget, and Y.