LLVM  5.0.0
Macros | Functions
PPCMCTargetDesc.cpp File Reference
#include "MCTargetDesc/PPCMCTargetDesc.h"
#include "InstPrinter/PPCInstPrinter.h"
#include "MCTargetDesc/PPCMCAsmInfo.h"
#include "PPCTargetStreamer.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Triple.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCDwarf.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/MCSymbol.h"
#include "llvm/MC/MCSymbolELF.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/CodeGen.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Support/raw_ostream.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 MCInstrInfo * createPPCMCInstrInfo ()
 
static MCRegisterInfo * createPPCMCRegisterInfo (const Triple &TT)
 
static MCSubtargetInfo * createPPCMCSubtargetInfo (const Triple &TT, StringRef CPU, StringRef FS)
 
static MCAsmInfo * createPPCMCAsmInfo (const MCRegisterInfo &MRI, const Triple &TheTriple)
 
static void adjustCodeGenOpts (const Triple &TT, Reloc::Model RM, CodeModel::Model &CM)
 
static MCTargetStreamer * createAsmTargetStreamer (MCStreamer &S, formatted_raw_ostream &OS, MCInstPrinter *InstPrint, bool isVerboseAsm)
 
static MCTargetStreamer * createObjectTargetStreamer (MCStreamer &S, const MCSubtargetInfo &STI)
 
static MCInstPrinter * createPPCMCInstPrinter (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 41 of file PPCMCTargetDesc.cpp.

#define GET_REGINFO_MC_DESC

Definition at line 47 of file PPCMCTargetDesc.cpp.

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 44 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 231 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 246 of file PPCMCTargetDesc.cpp.

References llvm::Triple::isOSDarwin().

Referenced by LLVMInitializePowerPCTargetMC().

static MCInstrInfo* createPPCMCInstrInfo ( )
static

Definition at line 55 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 72 of file PPCMCTargetDesc.cpp.

Referenced by LLVMInitializePowerPCTargetMC().

void LLVMInitializePowerPCTargetMC ( )