LLVM  4.0.0
Macros | Functions
PPCMCTargetDesc.cpp File Reference
#include "PPCMCTargetDesc.h"
#include "InstPrinter/PPCInstPrinter.h"
#include "PPCMCAsmInfo.h"
#include "PPCTargetStreamer.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCELFStreamer.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCSymbolELF.h"
#include "llvm/MC/MachineLocation.h"
#include "llvm/Support/ELF.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 (const Triple &TT)
 
static MCSubtargetInfocreatePPCMCSubtargetInfo (const Triple &TT, StringRef CPU, StringRef FS)
 
static MCAsmInfocreatePPCMCAsmInfo (const MCRegisterInfo &MRI, const Triple &TheTriple)
 
static void adjustCodeGenOpts (const Triple &TT, Reloc::Model RM, CodeModel::Model &CM)
 
static MCTargetStreamercreateAsmTargetStreamer (MCStreamer &S, formatted_raw_ostream &OS, MCInstPrinter *InstPrint, bool isVerboseAsm)
 
static MCTargetStreamercreateObjectTargetStreamer (MCStreamer &S, const MCSubtargetInfo &STI)
 
static MCInstPrintercreatePPCMCInstPrinter (const Triple &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
 
void LLVMInitializePowerPCTargetMC ()
 

Macro Definition Documentation

#define GET_INSTRINFO_MC_DESC

Definition at line 34 of file PPCMCTargetDesc.cpp.

#define GET_REGINFO_MC_DESC

Definition at line 40 of file PPCMCTargetDesc.cpp.

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 37 of file PPCMCTargetDesc.cpp.

Function Documentation

static void adjustCodeGenOpts ( const Triple TT,
Reloc::Model  RM,
CodeModel::Model CM 
)
static
static MCTargetStreamer* createAsmTargetStreamer ( MCStreamer S,
formatted_raw_ostream OS,
MCInstPrinter InstPrint,
bool  isVerboseAsm 
)
static

Definition at line 207 of file PPCMCTargetDesc.cpp.

Referenced by LLVMInitializePowerPCTargetMC().

static MCTargetStreamer* createObjectTargetStreamer ( MCStreamer S,
const MCSubtargetInfo STI 
)
static
static MCAsmInfo* createPPCMCAsmInfo ( const MCRegisterInfo MRI,
const Triple TheTriple 
)
static
static MCInstPrinter* createPPCMCInstPrinter ( const Triple T,
unsigned  SyntaxVariant,
const MCAsmInfo MAI,
const MCInstrInfo MII,
const MCRegisterInfo MRI 
)
static

Definition at line 222 of file PPCMCTargetDesc.cpp.

References llvm::Triple::isOSDarwin().

Referenced by LLVMInitializePowerPCTargetMC().

static MCInstrInfo* createPPCMCInstrInfo ( )
static

Definition at line 47 of file PPCMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializePowerPCTargetMC().

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

Definition at line 64 of file PPCMCTargetDesc.cpp.

Referenced by LLVMInitializePowerPCTargetMC().

void LLVMInitializePowerPCTargetMC ( )