|
LLVM
8.0.1
|
#include "InstPrinter/PPCInstPrinter.h"#include "MCTargetDesc/PPCMCExpr.h"#include "MCTargetDesc/PPCMCTargetDesc.h"#include "MCTargetDesc/PPCPredicates.h"#include "PPC.h"#include "PPCInstrInfo.h"#include "PPCMachineFunctionInfo.h"#include "PPCSubtarget.h"#include "PPCTargetMachine.h"#include "PPCTargetStreamer.h"#include "llvm/ADT/MapVector.h"#include "llvm/ADT/StringRef.h"#include "llvm/ADT/Triple.h"#include "llvm/ADT/Twine.h"#include "llvm/BinaryFormat/ELF.h"#include "llvm/BinaryFormat/MachO.h"#include "llvm/CodeGen/AsmPrinter.h"#include "llvm/CodeGen/MachineBasicBlock.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineModuleInfoImpls.h"#include "llvm/CodeGen/MachineOperand.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/StackMaps.h"#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"#include "llvm/IR/DataLayout.h"#include "llvm/IR/GlobalValue.h"#include "llvm/IR/Module.h"#include "llvm/MC/MCAsmInfo.h"#include "llvm/MC/MCContext.h"#include "llvm/MC/MCExpr.h"#include "llvm/MC/MCInst.h"#include "llvm/MC/MCInstBuilder.h"#include "llvm/MC/MCSectionELF.h"#include "llvm/MC/MCSectionMachO.h"#include "llvm/MC/MCStreamer.h"#include "llvm/MC/MCSymbol.h"#include "llvm/MC/MCSymbolELF.h"#include "llvm/MC/SectionKind.h"#include "llvm/Support/Casting.h"#include "llvm/Support/CodeGen.h"#include "llvm/Support/Debug.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/TargetRegistry.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetMachine.h"#include <algorithm>#include <cassert>#include <cstdint>#include <memory>#include <new>Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "asmprinter" |
Functions | |
| static AsmPrinter * | createPPCAsmPrinterPass (TargetMachine &tm, std::unique_ptr< MCStreamer > &&Streamer) |
| createPPCAsmPrinterPass - Returns a pass that prints the PPC assembly code for a MachineFunction to the given output stream, in a format that the Darwin assembler can deal with. More... | |
| void | LLVMInitializePowerPCAsmPrinter () |
| #define DEBUG_TYPE "asmprinter" |
Definition at line 73 of file PPCAsmPrinter.cpp.
|
static |
createPPCAsmPrinterPass - Returns a pass that prints the PPC assembly code for a MachineFunction to the given output stream, in a format that the Darwin assembler can deal with.
Definition at line 1639 of file PPCAsmPrinter.cpp.
References llvm::TargetMachine::getTargetTriple(), and llvm::Triple::isMacOSX().
Referenced by LLVMInitializePowerPCAsmPrinter().
| void LLVMInitializePowerPCAsmPrinter | ( | ) |
Definition at line 1647 of file PPCAsmPrinter.cpp.
References createPPCAsmPrinterPass(), llvm::getThePPC32Target(), llvm::getThePPC64LETarget(), llvm::getThePPC64Target(), and llvm::TargetRegistry::RegisterAsmPrinter().
1.8.13