LLVM API Documentation
#include "SparcMCTargetDesc.h"
#include "InstPrinter/SparcInstPrinter.h"
#include "SparcMCAsmInfo.h"
#include "SparcTargetStreamer.h"
#include "llvm/MC/MCCodeGenInfo.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/TargetRegistry.h"
#include "SparcGenInstrInfo.inc"
#include "SparcGenSubtargetInfo.inc"
#include "SparcGenRegisterInfo.inc"
Go to the source code of this file.
#define GET_INSTRINFO_MC_DESC |
Definition at line 27 of file SparcMCTargetDesc.cpp.
#define GET_REGINFO_MC_DESC |
Definition at line 33 of file SparcMCTargetDesc.cpp.
#define GET_SUBTARGETINFO_MC_DESC |
Definition at line 30 of file SparcMCTargetDesc.cpp.
static MCStreamer* createMCAsmStreamer | ( | MCContext & | Ctx, |
formatted_raw_ostream & | OS, | ||
bool | isVerboseAsm, | ||
bool | useDwarfDirectory, | ||
MCInstPrinter * | InstPrint, | ||
MCCodeEmitter * | CE, | ||
MCAsmBackend * | TAB, | ||
bool | ShowInst | ||
) | [static] |
Definition at line 137 of file SparcMCTargetDesc.cpp.
References llvm::createAsmStreamer().
static MCStreamer* createMCStreamer | ( | const Target & | T, |
StringRef | TT, | ||
MCContext & | Context, | ||
MCAsmBackend & | MAB, | ||
raw_ostream & | OS, | ||
MCCodeEmitter * | Emitter, | ||
const MCSubtargetInfo & | STI, | ||
bool | RelaxAll, | ||
bool | NoExecStack | ||
) | [static] |
Definition at line 125 of file SparcMCTargetDesc.cpp.
References llvm::createELFStreamer().
Referenced by LLVMInitializeSparcTargetMC().
static MCAsmInfo* createSparcMCAsmInfo | ( | const MCRegisterInfo & | MRI, |
StringRef | TT | ||
) | [static] |
Definition at line 36 of file SparcMCTargetDesc.cpp.
References llvm::MCAsmInfo::addInitialFrameState(), llvm::MCCFIInstruction::createDefCfa(), and llvm::MCRegisterInfo::getDwarfRegNum().
Referenced by LLVMInitializeSparcTargetMC().
static MCCodeGenInfo* createSparcMCCodeGenInfo | ( | StringRef | TT, |
Reloc::Model | RM, | ||
CodeModel::Model | CM, | ||
CodeGenOpt::Level | OL | ||
) | [static] |
Definition at line 87 of file SparcMCTargetDesc.cpp.
References llvm::CodeModel::Default, llvm::MCCodeGenInfo::InitMCCodeGenInfo(), llvm::CodeModel::JITDefault, llvm::CodeModel::Small, and llvm::X.
Referenced by LLVMInitializeSparcTargetMC().
static MCInstPrinter* createSparcMCInstPrinter | ( | const Target & | T, |
unsigned | SyntaxVariant, | ||
const MCAsmInfo & | MAI, | ||
const MCInstrInfo & | MII, | ||
const MCRegisterInfo & | MRI, | ||
const MCSubtargetInfo & | STI | ||
) | [static] |
Definition at line 148 of file SparcMCTargetDesc.cpp.
Referenced by LLVMInitializeSparcTargetMC().
static MCInstrInfo* createSparcMCInstrInfo | ( | ) | [static] |
Definition at line 54 of file SparcMCTargetDesc.cpp.
References llvm::X.
Referenced by LLVMInitializeSparcTargetMC().
static MCRegisterInfo* createSparcMCRegisterInfo | ( | StringRef | TT | ) | [static] |
Definition at line 60 of file SparcMCTargetDesc.cpp.
References llvm::X.
Referenced by LLVMInitializeSparcTargetMC().
static MCSubtargetInfo* createSparcMCSubtargetInfo | ( | StringRef | TT, |
StringRef | CPU, | ||
StringRef | FS | ||
) | [static] |
Definition at line 66 of file SparcMCTargetDesc.cpp.
References llvm::StringRef::empty(), llvm::Triple::getArch(), llvm::Triple::sparcv9, and llvm::X.
Referenced by LLVMInitializeSparcTargetMC().
static MCAsmInfo* createSparcV9MCAsmInfo | ( | const MCRegisterInfo & | MRI, |
StringRef | TT | ||
) | [static] |
Definition at line 45 of file SparcMCTargetDesc.cpp.
References llvm::MCAsmInfo::addInitialFrameState(), llvm::MCCFIInstruction::createDefCfa(), and llvm::MCRegisterInfo::getDwarfRegNum().
Referenced by LLVMInitializeSparcTargetMC().
static MCCodeGenInfo* createSparcV9MCCodeGenInfo | ( | StringRef | TT, |
Reloc::Model | RM, | ||
CodeModel::Model | CM, | ||
CodeGenOpt::Level | OL | ||
) | [static] |
Definition at line 104 of file SparcMCTargetDesc.cpp.
References llvm::CodeModel::Default, llvm::MCCodeGenInfo::InitMCCodeGenInfo(), llvm::CodeModel::JITDefault, llvm::CodeModel::Large, llvm::CodeModel::Medium, llvm::Reloc::PIC_, llvm::CodeModel::Small, and llvm::X.
Referenced by LLVMInitializeSparcTargetMC().
void LLVMInitializeSparcTargetMC | ( | ) |
Definition at line 157 of file SparcMCTargetDesc.cpp.
References llvm::createMCAsmStreamer(), createMCStreamer(), llvm::createSparcAsmBackend(), createSparcMCAsmInfo(), llvm::createSparcMCCodeEmitter(), createSparcMCCodeGenInfo(), createSparcMCInstPrinter(), createSparcMCInstrInfo(), createSparcMCRegisterInfo(), createSparcMCSubtargetInfo(), createSparcV9MCAsmInfo(), createSparcV9MCCodeGenInfo(), llvm::TargetRegistry::RegisterAsmStreamer(), 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::TheSparcTarget, llvm::TheSparcV9Target, llvm::X, and Y.