LLVM API Documentation
#include <Mangler.h>
Collaboration diagram for llvm::Mangler:
Public Member Functions | |
Mangler (Module &M, const char *Prefix="") | |
unsigned | getTypeID (const Type *Ty) |
std::string | getValueName (const Value *V) |
Static Public Member Functions | |
static std::string | makeNameProper (const std::string &x) |
Definition at line 27 of file Mangler.h.
|
Definition at line 117 of file Mangler.cpp. References llvm::Module::begin(), E, llvm::Module::end(), llvm::Module::gbegin(), llvm::Module::gend(), I, and M. |
|
getTypeID - Return a unique ID for the specified LLVM type. Definition at line 51 of file Mangler.cpp. References E. Referenced by getValueName(). |
|
getValueName - Returns the mangled name of V, an LLVM Value, in the current module. Definition at line 58 of file Mangler.cpp. References llvm::Value::getName(), llvm::Value::getType(), getTypeID(), llvm::Value::hasName(), makeNameProper(), name, llvm::cl::Prefix, and llvm::utostr(). Referenced by llvm::AsmPrinter::emitConstantValueOnly(), and llvm::AsmPrinter::setupMachineFunction(). |
|
makeNameProper - We don't want identifier names with ., space, or
Definition at line 31 of file Mangler.cpp. References E, I, and MangleLetter(). Referenced by getValueName(). |