LLVM API Documentation

SPUAsmPrinter.cpp File Reference

#include "SPU.h"
#include "SPUTargetMachine.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/Support/Mangler.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetAsmInfo.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringExtras.h"
#include <set>
#include "SPUGenAsmWriter.inc"

Include dependency graph for SPUAsmPrinter.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "asmprinter"

Functions

 STATISTIC (EmittedInsts,"Number of machine instrs printed")
const std::string bss_section (".bss")
static void PrintUnmangledNameSafely (const Value *V, raw_ostream &OS)
FunctionPassllvm::createSPUAsmPrinterPass (raw_ostream &o, SPUTargetMachine &tm)


Define Documentation

#define DEBUG_TYPE   "asmprinter"

Definition at line 16 of file SPUAsmPrinter.cpp.


Function Documentation

const std::string @581::bss_section ( ".bss"   )  [static]

static void PrintUnmangledNameSafely ( const Value V,
raw_ostream OS 
) [static]

PrintUnmangledNameSafely - Print out the printable characters in the name. Don't print things like
or .

Definition at line 501 of file SPUAsmPrinter.cpp.

References E, llvm::Value::getNameLen(), and llvm::Value::getNameStart().

@581::STATISTIC ( EmittedInsts  ,
"Number of machine instrs printed"   
) [static]


Variable Documentation

Definition at line 291 of file SPUAsmPrinter.cpp.

std::set<std::string> FnStubs

Definition at line 49 of file SPUAsmPrinter.cpp.

std::set<std::string> GVStubs

Definition at line 49 of file SPUAsmPrinter.cpp.

Definition at line 292 of file SPUAsmPrinter.cpp.




This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.