LLVM API Documentation
#include "XCoreMCTargetDesc.h"
#include "InstPrinter/XCoreInstPrinter.h"
#include "XCoreMCAsmInfo.h"
#include "XCoreTargetStreamer.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/FormattedStream.h"
#include "llvm/Support/TargetRegistry.h"
#include "XCoreGenInstrInfo.inc"
#include "XCoreGenSubtargetInfo.inc"
#include "XCoreGenRegisterInfo.inc"
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 MCInstrInfo * | createXCoreMCInstrInfo () |
static MCRegisterInfo * | createXCoreMCRegisterInfo (StringRef TT) |
static MCSubtargetInfo * | createXCoreMCSubtargetInfo (StringRef TT, StringRef CPU, StringRef FS) |
static MCAsmInfo * | createXCoreMCAsmInfo (const MCRegisterInfo &MRI, StringRef TT) |
static MCCodeGenInfo * | createXCoreMCCodeGenInfo (StringRef TT, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL) |
static MCInstPrinter * | createXCoreMCInstPrinter (const Target &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI, const MCSubtargetInfo &STI) |
static MCStreamer * | createXCoreMCAsmStreamer (MCContext &Ctx, formatted_raw_ostream &OS, bool isVerboseAsm, bool useDwarfDirectory, MCInstPrinter *InstPrint, MCCodeEmitter *CE, MCAsmBackend *TAB, bool ShowInst) |
void | LLVMInitializeXCoreTargetMC () |
#define GET_INSTRINFO_MC_DESC |
Definition at line 28 of file XCoreMCTargetDesc.cpp.
#define GET_REGINFO_MC_DESC |
Definition at line 34 of file XCoreMCTargetDesc.cpp.
#define GET_SUBTARGETINFO_MC_DESC |
Definition at line 31 of file XCoreMCTargetDesc.cpp.
static MCAsmInfo* createXCoreMCAsmInfo | ( | const MCRegisterInfo & | MRI, |
StringRef | TT | ||
) | [static] |
Definition at line 56 of file XCoreMCTargetDesc.cpp.
References llvm::MCAsmInfo::addInitialFrameState(), and llvm::MCCFIInstruction::createDefCfa().
Referenced by LLVMInitializeXCoreTargetMC().
static MCStreamer* createXCoreMCAsmStreamer | ( | MCContext & | Ctx, |
formatted_raw_ostream & | OS, | ||
bool | isVerboseAsm, | ||
bool | useDwarfDirectory, | ||
MCInstPrinter * | InstPrint, | ||
MCCodeEmitter * | CE, | ||
MCAsmBackend * | TAB, | ||
bool | ShowInst | ||
) | [static] |
Definition at line 130 of file XCoreMCTargetDesc.cpp.
References llvm::createAsmStreamer().
Referenced by LLVMInitializeXCoreTargetMC().
static MCCodeGenInfo* createXCoreMCCodeGenInfo | ( | StringRef | TT, |
Reloc::Model | RM, | ||
CodeModel::Model | CM, | ||
CodeGenOpt::Level | OL | ||
) | [static] |
Definition at line 67 of file XCoreMCTargetDesc.cpp.
References llvm::Reloc::Default, llvm::CodeModel::Default, llvm::MCCodeGenInfo::InitMCCodeGenInfo(), llvm::CodeModel::Large, llvm::report_fatal_error(), llvm::CodeModel::Small, llvm::Reloc::Static, and llvm::X.
Referenced by LLVMInitializeXCoreTargetMC().
static MCInstPrinter* createXCoreMCInstPrinter | ( | const Target & | T, |
unsigned | SyntaxVariant, | ||
const MCAsmInfo & | MAI, | ||
const MCInstrInfo & | MII, | ||
const MCRegisterInfo & | MRI, | ||
const MCSubtargetInfo & | STI | ||
) | [static] |
Definition at line 84 of file XCoreMCTargetDesc.cpp.
Referenced by LLVMInitializeXCoreTargetMC().
static MCInstrInfo* createXCoreMCInstrInfo | ( | ) | [static] |
Definition at line 37 of file XCoreMCTargetDesc.cpp.
References llvm::X.
Referenced by LLVMInitializeXCoreTargetMC().
static MCRegisterInfo* createXCoreMCRegisterInfo | ( | StringRef | TT | ) | [static] |
Definition at line 43 of file XCoreMCTargetDesc.cpp.
References llvm::X.
Referenced by LLVMInitializeXCoreTargetMC().
static MCSubtargetInfo* createXCoreMCSubtargetInfo | ( | StringRef | TT, |
StringRef | CPU, | ||
StringRef | FS | ||
) | [static] |
Definition at line 49 of file XCoreMCTargetDesc.cpp.
References llvm::X.
Referenced by LLVMInitializeXCoreTargetMC().
void LLVMInitializeXCoreTargetMC | ( | ) |
Definition at line 141 of file XCoreMCTargetDesc.cpp.
References createXCoreMCAsmInfo(), createXCoreMCAsmStreamer(), createXCoreMCCodeGenInfo(), createXCoreMCInstPrinter(), createXCoreMCInstrInfo(), createXCoreMCRegisterInfo(), createXCoreMCSubtargetInfo(), llvm::TargetRegistry::RegisterAsmStreamer(), llvm::TargetRegistry::RegisterMCCodeGenInfo(), llvm::TargetRegistry::RegisterMCInstPrinter(), llvm::TargetRegistry::RegisterMCInstrInfo(), llvm::TargetRegistry::RegisterMCRegInfo(), llvm::TargetRegistry::RegisterMCSubtargetInfo(), llvm::TheXCoreTarget, and llvm::X.