LLVM 20.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/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/MCELFObjectWriter.h"
#include "llvm/MC/MCELFStreamer.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInstrAnalysis.h"
#include "llvm/MC/MCInstrInfo.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/MC/TargetRegistry.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/CodeGen.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/TargetParser/Triple.h"
#include "PPCGenInstrInfo.inc"
#include "PPCGenSubtargetInfo.inc"
#include "PPCGenRegisterInfo.inc"

Go to the source code of this file.

Macros

#define GET_INSTRINFO_MC_DESC
 
#define ENABLE_INSTR_PREDICATE_VERIFIER
 
#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)
 
static MCStreamercreatePPCXCOFFStreamer (const Triple &T, MCContext &Context, std::unique_ptr< MCAsmBackend > &&MAB, std::unique_ptr< MCObjectWriter > &&OW, std::unique_ptr< MCCodeEmitter > &&Emitter)
 
static MCTargetStreamercreateAsmTargetStreamer (MCStreamer &S, formatted_raw_ostream &OS, MCInstPrinter *InstPrint)
 
static MCTargetStreamercreateNullTargetStreamer (MCStreamer &S)
 
static MCTargetStreamercreateObjectTargetStreamer (MCStreamer &S, const MCSubtargetInfo &STI)
 
static MCInstPrintercreatePPCMCInstPrinter (const Triple &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
 
static MCInstrAnalysiscreatePPCMCInstrAnalysis (const MCInstrInfo *Info)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializePowerPCTargetMC ()
 

Macro Definition Documentation

◆ ENABLE_INSTR_PREDICATE_VERIFIER

#define ENABLE_INSTR_PREDICATE_VERIFIER

Definition at line 51 of file PPCMCTargetDesc.cpp.

◆ GET_INSTRINFO_MC_DESC

#define GET_INSTRINFO_MC_DESC

Definition at line 50 of file PPCMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC

#define GET_REGINFO_MC_DESC

Definition at line 57 of file PPCMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 54 of file PPCMCTargetDesc.cpp.

Function Documentation

◆ createAsmTargetStreamer()

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

Definition at line 440 of file PPCMCTargetDesc.cpp.

References OS.

Referenced by LLVMInitializePowerPCTargetMC(), and LLVMInitializeSystemZTargetMC().

◆ createNullTargetStreamer()

static MCTargetStreamer * createNullTargetStreamer ( MCStreamer S)
static

Definition at line 446 of file PPCMCTargetDesc.cpp.

◆ createObjectTargetStreamer()

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

◆ createPPCELFStreamer()

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

Definition at line 203 of file PPCMCTargetDesc.cpp.

References llvm::createPPCELFStreamer(), and Emitter.

◆ 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 460 of file PPCMCTargetDesc.cpp.

References MRI.

Referenced by LLVMInitializePowerPCTargetMC().

◆ createPPCMCInstrAnalysis()

static MCInstrAnalysis * createPPCMCInstrAnalysis ( const MCInstrInfo Info)
static

Definition at line 489 of file PPCMCTargetDesc.cpp.

References Info.

Referenced by LLVMInitializePowerPCTargetMC().

◆ createPPCMCInstrInfo()

static MCInstrInfo * createPPCMCInstrInfo ( )
static

Definition at line 149 of file PPCMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializePowerPCTargetMC().

◆ createPPCMCRegisterInfo()

static MCRegisterInfo * createPPCMCRegisterInfo ( const Triple TT)
static

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

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 
)
static

Definition at line 212 of file PPCMCTargetDesc.cpp.

References llvm::createPPCXCOFFStreamer(), and Emitter.

◆ LLVMInitializePowerPCTargetMC()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializePowerPCTargetMC ( )