LLVM API Documentation

PPCAsmPrinter.cpp File Reference

#include "PPC.h"
#include "PPCPredicates.h"
#include "PPCTargetMachine.h"
#include "PPCSubtarget.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/DwarfWriter.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/MC/MCSectionMachO.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/Target/TargetAsmInfo.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Target/TargetRegistry.h"
#include "llvm/Support/Mangler.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringSet.h"
#include "PPCGenAsmWriter.inc"

Include dependency graph for PPCAsmPrinter.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "asmprinter"

Functions

 STATISTIC (EmittedInsts,"Number of machine instrs printed")
static AsmPrinter * createPPCAsmPrinterPass (formatted_raw_ostream &o, TargetMachine &tm, const TargetAsmInfo *tai, bool verbose)
void LLVMInitializePowerPCAsmPrinter ()


Define Documentation

#define DEBUG_TYPE   "asmprinter"

Definition at line 19 of file PPCAsmPrinter.cpp.


Function Documentation

static AsmPrinter* createPPCAsmPrinterPass ( formatted_raw_ostream &  o,
TargetMachine &  tm,
const TargetAsmInfo *  tai,
bool  verbose 
) [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 1152 of file PPCAsmPrinter.cpp.

References llvm::TargetMachine::getSubtarget(), llvm::PPCSubtarget::isDarwin(), and Subtarget.

Referenced by LLVMInitializePowerPCAsmPrinter().

void LLVMInitializePowerPCAsmPrinter (  ) 

STATISTIC ( EmittedInsts  ,
"Number of machine instrs printed"   
)


Variable Documentation

std::string AnonSymbol

Definition at line 60 of file PPCAsmPrinter.cpp.

StringMap<FnStubInfo> FnStubs

Definition at line 84 of file PPCAsmPrinter.cpp.

StringMap<std::string> GVStubs

Definition at line 85 of file PPCAsmPrinter.cpp.

StringMap<std::string> HiddenGVStubs

Definition at line 85 of file PPCAsmPrinter.cpp.

uint64_t LabelID

std::string LazyPtr

Definition at line 60 of file PPCAsmPrinter.cpp.

Referenced by llvm::ARMJITInfo::emitFunctionStub().

Definition at line 372 of file PPCAsmPrinter.cpp.

std::string Stub

Definition at line 60 of file PPCAsmPrinter.cpp.

Referenced by llvm::JIT::runFunction().

Definition at line 86 of file PPCAsmPrinter.cpp.

StringMap<std::string> TOC

Definition at line 85 of file PPCAsmPrinter.cpp.