LLVM API Documentation

Defines | Functions
SparcMCTargetDesc.cpp File Reference
#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"
Include dependency graph for SparcMCTargetDesc.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 MCAsmInfocreateSparcMCAsmInfo (const MCRegisterInfo &MRI, StringRef TT)
static MCAsmInfocreateSparcV9MCAsmInfo (const MCRegisterInfo &MRI, StringRef TT)
static MCInstrInfocreateSparcMCInstrInfo ()
static MCRegisterInfocreateSparcMCRegisterInfo (StringRef TT)
static MCSubtargetInfocreateSparcMCSubtargetInfo (StringRef TT, StringRef CPU, StringRef FS)
static MCCodeGenInfocreateSparcMCCodeGenInfo (StringRef TT, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL)
static MCCodeGenInfocreateSparcV9MCCodeGenInfo (StringRef TT, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL)
static MCStreamercreateMCStreamer (const Target &T, StringRef TT, MCContext &Context, MCAsmBackend &MAB, raw_ostream &OS, MCCodeEmitter *Emitter, const MCSubtargetInfo &STI, bool RelaxAll, bool NoExecStack)
static MCStreamercreateMCAsmStreamer (MCContext &Ctx, formatted_raw_ostream &OS, bool isVerboseAsm, bool useDwarfDirectory, MCInstPrinter *InstPrint, MCCodeEmitter *CE, MCAsmBackend *TAB, bool ShowInst)
static MCInstPrintercreateSparcMCInstPrinter (const Target &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI, const MCSubtargetInfo &STI)
void LLVMInitializeSparcTargetMC ()

Define Documentation

Definition at line 27 of file SparcMCTargetDesc.cpp.

Definition at line 33 of file SparcMCTargetDesc.cpp.

Definition at line 30 of file SparcMCTargetDesc.cpp.


Function Documentation

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]
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().

Definition at line 60 of file SparcMCTargetDesc.cpp.

References llvm::X.

Referenced by LLVMInitializeSparcTargetMC().

static MCSubtargetInfo* createSparcMCSubtargetInfo ( StringRef  TT,
StringRef  CPU,
StringRef  FS 
) [static]
static MCAsmInfo* createSparcV9MCAsmInfo ( const MCRegisterInfo MRI,
StringRef  TT 
) [static]