LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
PPCMCTargetDesc.cpp File Reference
#include "PPCMCTargetDesc.h"
#include "InstPrinter/PPCInstPrinter.h"
#include "PPCMCAsmInfo.h"
#include "PPCTargetStreamer.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/MCSymbol.h"
#include "llvm/MC/MachineLocation.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/TargetRegistry.h"
#include "PPCGenInstrInfo.inc"
#include "PPCGenSubtargetInfo.inc"
#include "PPCGenRegisterInfo.inc"
Include dependency graph for PPCMCTargetDesc.cpp:

Go to the source code of this file.

Macros

#define GET_INSTRINFO_MC_DESC
 
#define GET_SUBTARGETINFO_MC_DESC
 
#define GET_REGINFO_MC_DESC
 

Functions

static MCInstrInfocreatePPCMCInstrInfo ()
 
static MCRegisterInfocreatePPCMCRegisterInfo (StringRef TT)
 
static MCSubtargetInfocreatePPCMCSubtargetInfo (StringRef TT, StringRef CPU, StringRef FS)
 
static MCAsmInfocreatePPCMCAsmInfo (const MCRegisterInfo &MRI, StringRef TT)
 
static MCCodeGenInfocreatePPCMCCodeGenInfo (StringRef TT, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL)
 
static MCStreamercreateMCStreamer (const Target &T, StringRef TT, MCContext &Ctx, MCAsmBackend &MAB, raw_ostream &OS, MCCodeEmitter *Emitter, bool RelaxAll, bool NoExecStack)
 
static MCStreamercreateMCAsmStreamer (MCContext &Ctx, formatted_raw_ostream &OS, bool isVerboseAsm, bool useLoc, bool useCFI, bool useDwarfDirectory, MCInstPrinter *InstPrint, MCCodeEmitter *CE, MCAsmBackend *TAB, bool ShowInst)
 
static MCInstPrintercreatePPCMCInstPrinter (const Target &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI, const MCSubtargetInfo &STI)
 
void LLVMInitializePowerPCTargetMC ()
 

Macro Definition Documentation

#define GET_INSTRINFO_MC_DESC

Definition at line 29 of file PPCMCTargetDesc.cpp.

#define GET_REGINFO_MC_DESC

Definition at line 35 of file PPCMCTargetDesc.cpp.

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 32 of file PPCMCTargetDesc.cpp.

Function Documentation

static MCStreamer* createMCAsmStreamer ( MCContext Ctx,
formatted_raw_ostream OS,
bool  isVerboseAsm,
bool  useLoc,
bool  useCFI,
bool  useDwarfDirectory,
MCInstPrinter InstPrint,
MCCodeEmitter CE,
MCAsmBackend TAB,
bool  ShowInst 
)
static

Definition at line 148 of file PPCMCTargetDesc.cpp.

References llvm::createAsmStreamer().

static MCStreamer* createMCStreamer ( const Target T,
StringRef  TT,
MCContext Ctx,
MCAsmBackend MAB,
raw_ostream OS,
MCCodeEmitter Emitter,
bool  RelaxAll,
bool  NoExecStack 
)
static
static MCAsmInfo* createPPCMCAsmInfo ( const MCRegisterInfo MRI,
StringRef  TT 
)
static
static MCCodeGenInfo* createPPCMCCodeGenInfo ( StringRef  TT,
Reloc::Model  RM,
CodeModel::Model  CM,
CodeGenOpt::Level  OL 
)
static
static MCInstPrinter* createPPCMCInstPrinter ( const Target T,
unsigned  SyntaxVariant,
const MCAsmInfo MAI,
const MCInstrInfo MII,
const MCRegisterInfo MRI,
const MCSubtargetInfo STI 
)
static
static MCInstrInfo* createPPCMCInstrInfo ( )
static

Definition at line 43 of file PPCMCTargetDesc.cpp.

References llvm::X.

Referenced by LLVMInitializePowerPCTargetMC().

static MCRegisterInfo* createPPCMCRegisterInfo ( StringRef  TT)
static
static MCSubtargetInfo* createPPCMCSubtargetInfo ( StringRef  TT,
StringRef  CPU,
StringRef  FS 
)
static

Definition at line 61 of file PPCMCTargetDesc.cpp.

References llvm::X.

Referenced by LLVMInitializePowerPCTargetMC().

void LLVMInitializePowerPCTargetMC ( )