LLVM
8.0.1
|
#include "MCTargetDesc/PPCMCTargetDesc.h"
#include "InstPrinter/PPCInstPrinter.h"
#include "MCTargetDesc/PPCMCAsmInfo.h"
#include "PPCTargetStreamer.h"
#include "llvm/ADT/SmallPtrSet.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"
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 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 () |
#define GET_INSTRINFO_MC_DESC |
Definition at line 42 of file PPCMCTargetDesc.cpp.
#define GET_REGINFO_MC_DESC |
Definition at line 48 of file PPCMCTargetDesc.cpp.
#define GET_SUBTARGETINFO_MC_DESC |
Definition at line 45 of file PPCMCTargetDesc.cpp.
|
static |
Definition at line 240 of file PPCMCTargetDesc.cpp.
Referenced by LLVMInitializePowerPCTargetMC().
|
static |
Definition at line 248 of file PPCMCTargetDesc.cpp.
References llvm::MCSubtargetInfo::getTargetTriple(), and llvm::Triple::isOSBinFormatELF().
Referenced by LLVMInitializePowerPCTargetMC().
|
static |
Definition at line 78 of file PPCMCTargetDesc.cpp.
References llvm::MCAsmInfo::addInitialFrameState(), llvm::MCCFIInstruction::createDefCfa(), D, llvm::ELF::decodePPC64LocalEntryOffset(), llvm::dyn_cast(), llvm::ELF::EF_PPC64_ABI, llvm::PPCTargetStreamer::emitAbiVersion(), llvm::MCTargetStreamer::emitAssignment(), llvm::PPCTargetStreamer::emitLocalEntry(), llvm::PPCTargetStreamer::emitMachine(), llvm::MCStreamer::EmitSymbolValue(), llvm::PPCTargetStreamer::emitTCEntry(), llvm::MCStreamer::EmitValueToAlignment(), llvm::ELF::encodePPC64LocalEntryOffset(), llvm::MCTargetStreamer::finish(), llvm::Triple::getArch(), llvm::MCContext::getAsmInfo(), llvm::MCStreamer::getContext(), llvm::MCRegisterInfo::getDwarfRegNum(), llvm::MCAssembler::getELFHeaderEFlags(), llvm::MCSymbol::getName(), llvm::MCSymbolELF::getOther(), llvm::MCTargetStreamer::getStreamer(), llvm::Triple::isOSDarwin(), llvm_unreachable, Other, llvm::Triple::ppc64, llvm::Triple::ppc64le, llvm::PPCTargetStreamer::PPCTargetStreamer(), llvm::MCExpr::print(), llvm::MCSymbol::print(), llvm::Ref, Reg, llvm::report_fatal_error(), llvm::MCAssembler::setELFHeaderEFlags(), llvm::MCSymbolELF::setOther(), llvm::ELF::STO_PPC64_LOCAL_MASK, llvm::MCTargetStreamer::Streamer, and llvm::ARMBuildAttrs::Symbol.
Referenced by LLVMInitializePowerPCTargetMC().
|
static |
Definition at line 255 of file PPCMCTargetDesc.cpp.
Referenced by LLVMInitializePowerPCTargetMC().
|
static |
Definition at line 56 of file PPCMCTargetDesc.cpp.
References X.
Referenced by LLVMInitializePowerPCTargetMC().
|
static |
Definition at line 62 of file PPCMCTargetDesc.cpp.
References llvm::Triple::getArch(), llvm::Triple::ppc64, llvm::Triple::ppc64le, RA, and X.
Referenced by LLVMInitializePowerPCTargetMC().
|
static |
Definition at line 73 of file PPCMCTargetDesc.cpp.
Referenced by LLVMInitializePowerPCTargetMC().
void LLVMInitializePowerPCTargetMC | ( | ) |
Definition at line 263 of file PPCMCTargetDesc.cpp.
References C, createAsmTargetStreamer(), createObjectTargetStreamer(), llvm::createPPCAsmBackend(), createPPCMCAsmInfo(), llvm::createPPCMCCodeEmitter(), createPPCMCInstPrinter(), createPPCMCInstrInfo(), createPPCMCRegisterInfo(), createPPCMCSubtargetInfo(), llvm::getThePPC32Target(), llvm::getThePPC64LETarget(), llvm::getThePPC64Target(), llvm::TargetRegistry::RegisterAsmTargetStreamer(), llvm::TargetRegistry::RegisterMCAsmBackend(), llvm::TargetRegistry::RegisterMCCodeEmitter(), llvm::TargetRegistry::RegisterMCInstPrinter(), llvm::TargetRegistry::RegisterMCInstrInfo(), llvm::TargetRegistry::RegisterMCRegInfo(), llvm::TargetRegistry::RegisterMCSubtargetInfo(), and llvm::TargetRegistry::RegisterObjectTargetStreamer().