LLVM  14.0.0git
Macros | Functions
PPCMCTargetDesc.cpp File Reference
#include "MCTargetDesc/PPCMCTargetDesc.h"
#include "MCTargetDesc/PPCInstPrinter.h"
#include "MCTargetDesc/PPCMCAsmInfo.h"
#include "PPCELFStreamer.h"
#include "PPCTargetStreamer.h"
#include "PPCXCOFFStreamer.h"
#include "TargetInfo/PowerPCTargetInfo.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Triple.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCCodeEmitter.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/MCObjectWriter.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSectionXCOFF.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCSymbolELF.h"
#include "llvm/MC/MCSymbolXCOFF.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 MCInstrInfocreatePPCMCInstrInfo ()
 
static MCRegisterInfocreatePPCMCRegisterInfo (const Triple &TT)
 
static MCSubtargetInfocreatePPCMCSubtargetInfo (const Triple &TT, StringRef CPU, StringRef FS)
 
static MCAsmInfocreatePPCMCAsmInfo (const MCRegisterInfo &MRI, const Triple &TheTriple, const MCTargetOptions &Options)
 
static MCStreamercreatePPCELFStreamer (const Triple &T, MCContext &Context, std::unique_ptr< MCAsmBackend > &&MAB, std::unique_ptr< MCObjectWriter > &&OW, std::unique_ptr< MCCodeEmitter > &&Emitter, bool RelaxAll)
 
static MCStreamercreatePPCXCOFFStreamer (const Triple &T, MCContext &Context, std::unique_ptr< MCAsmBackend > &&MAB, std::unique_ptr< MCObjectWriter > &&OW, std::unique_ptr< MCCodeEmitter > &&Emitter, bool RelaxAll)
 
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)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializePowerPCTargetMC ()
 

Macro Definition Documentation

◆ GET_INSTRINFO_MC_DESC

#define GET_INSTRINFO_MC_DESC

Definition at line 49 of file PPCMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC

#define GET_REGINFO_MC_DESC

Definition at line 55 of file PPCMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 52 of file PPCMCTargetDesc.cpp.

Function Documentation

◆ createAsmTargetStreamer()

static MCTargetStreamer* createAsmTargetStreamer ( MCStreamer S,
formatted_raw_ostream OS,
MCInstPrinter InstPrint,
bool  isVerboseAsm 
)
static

Definition at line 346 of file PPCMCTargetDesc.cpp.

References S.

Referenced by LLVMInitializePowerPCTargetMC().

◆ createObjectTargetStreamer()

static MCTargetStreamer* createObjectTargetStreamer ( MCStreamer S,
const MCSubtargetInfo STI 
)
static

Definition at line 354 of file PPCMCTargetDesc.cpp.

References llvm::MCSubtargetInfo::getTargetTriple(), and S.

Referenced by LLVMInitializePowerPCTargetMC().

◆ createPPCELFStreamer()

static MCStreamer* createPPCELFStreamer ( const Triple T,
MCContext Context,
std::unique_ptr< MCAsmBackend > &&  MAB,
std::unique_ptr< MCObjectWriter > &&  OW,
std::unique_ptr< MCCodeEmitter > &&  Emitter,
bool  RelaxAll 
)
static

Definition at line 117 of file PPCMCTargetDesc.cpp.

References Context, llvm::createPPCELFStreamer(), and move.

◆ createPPCMCAsmInfo()

static MCAsmInfo* createPPCMCAsmInfo ( const MCRegisterInfo MRI,
const Triple TheTriple,
const MCTargetOptions Options 
)
static

◆ createPPCMCInstPrinter()

static MCInstPrinter* createPPCMCInstPrinter ( const Triple T,
unsigned  SyntaxVariant,
const MCAsmInfo MAI,
const MCInstrInfo MII,
const MCRegisterInfo MRI 
)
static

Definition at line 363 of file PPCMCTargetDesc.cpp.

References MRI, and T.

Referenced by LLVMInitializePowerPCTargetMC().

◆ createPPCMCInstrInfo()

static MCInstrInfo* createPPCMCInstrInfo ( )
static

Definition at line 63 of file PPCMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializePowerPCTargetMC().

◆ createPPCMCRegisterInfo()

static MCRegisterInfo* createPPCMCRegisterInfo ( const Triple TT)
static

Definition at line 69 of file PPCMCTargetDesc.cpp.

References llvm::Triple::ppc64, llvm::Triple::ppc64le, RA, and X.

Referenced by LLVMInitializePowerPCTargetMC().

◆ createPPCMCSubtargetInfo()

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

Definition at line 80 of file PPCMCTargetDesc.cpp.

References llvm::X86AS::FS.

Referenced by LLVMInitializePowerPCTargetMC().

◆ createPPCXCOFFStreamer()

static MCStreamer* createPPCXCOFFStreamer ( const Triple T,
MCContext Context,
std::unique_ptr< MCAsmBackend > &&  MAB,
std::unique_ptr< MCObjectWriter > &&  OW,
std::unique_ptr< MCCodeEmitter > &&  Emitter,
bool  RelaxAll 
)
static

Definition at line 125 of file PPCMCTargetDesc.cpp.

References Context, llvm::createPPCXCOFFStreamer(), and move.

◆ LLVMInitializePowerPCTargetMC()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializePowerPCTargetMC ( )