|
LLVM
3.7.0
|
#include "PPC.h"#include "InstPrinter/PPCInstPrinter.h"#include "MCTargetDesc/PPCMCExpr.h"#include "MCTargetDesc/PPCPredicates.h"#include "PPCMachineFunctionInfo.h"#include "PPCSubtarget.h"#include "PPCTargetMachine.h"#include "PPCTargetStreamer.h"#include "llvm/ADT/MapVector.h"#include "llvm/ADT/SmallString.h"#include "llvm/ADT/StringExtras.h"#include "llvm/CodeGen/AsmPrinter.h"#include "llvm/CodeGen/MachineConstantPool.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/MachineModuleInfoImpls.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/StackMaps.h"#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"#include "llvm/IR/Constants.h"#include "llvm/IR/DebugInfo.h"#include "llvm/IR/DerivedTypes.h"#include "llvm/IR/Mangler.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/MCSymbolELF.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Debug.h"#include "llvm/Support/ELF.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/MathExtras.h"#include "llvm/Support/TargetRegistry.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetInstrInfo.h"#include "llvm/Target/TargetOptions.h"#include "llvm/Target/TargetRegisterInfo.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "asmprinter" |
Functions | |
| static const char * | stripRegisterPrefix (const char *RegName) |
| stripRegisterPrefix - This method strips the character prefix from a register name so that only the number is left. More... | |
| static MCSymbol * | GetLazyPtr (MCSymbol *Sym, MCContext &Ctx) |
| static MCSymbol * | GetAnonSym (MCSymbol *Sym, MCContext &Ctx) |
| 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 65 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 1568 of file PPCAsmPrinter.cpp.
References llvm::TargetMachine::getTargetTriple(), and llvm::Triple::isMacOSX().
Referenced by LLVMInitializePowerPCAsmPrinter().
Definition at line 1321 of file PPCAsmPrinter.cpp.
References llvm::MCSymbol::getName(), and llvm::MCContext::getOrCreateSymbol().
Definition at line 1315 of file PPCAsmPrinter.cpp.
References llvm::MCSymbol::getName(), llvm::MCContext::getOrCreateSymbol(), llvm::StringRef::size(), and llvm::StringRef::substr().
| void LLVMInitializePowerPCAsmPrinter | ( | ) |
Definition at line 1576 of file PPCAsmPrinter.cpp.
References createPPCAsmPrinterPass(), llvm::TargetRegistry::RegisterAsmPrinter(), llvm::ThePPC32Target, llvm::ThePPC64LETarget, and llvm::ThePPC64Target.
stripRegisterPrefix - This method strips the character prefix from a register name so that only the number is left.
Used by for linux asm.
Definition at line 149 of file PPCAsmPrinter.cpp.
1.8.6