1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

minor interface changes.

llvm-svn: 24276
This commit is contained in:
Chris Lattner 2005-11-10 18:46:57 +00:00
parent 4868465cb6
commit 4e377b5d6d

View File

@ -19,16 +19,16 @@
#include <string>
namespace llvm {
class Value;
class Type;
class Module;
class Value;
class GlobalValue;
class Mangler {
/// This keeps track of which global values have had their names
/// mangled in the current module.
///
std::set<const Value *> MangledGlobals;
std::set<const GlobalValue*> MangledGlobals;
Module &M;
const char *Prefix;
@ -36,7 +36,7 @@ class Mangler {
unsigned TypeCounter;
std::map<const Type*, unsigned> TypeMap;
typedef std::map<const Value *, std::string> ValueMap;
typedef std::map<const Value*, std::string> ValueMap;
ValueMap Memo;
unsigned Count;
@ -55,6 +55,7 @@ public:
/// getValueName - Returns the mangled name of V, an LLVM Value,
/// in the current module.
///
std::string getValueName(const GlobalValue *V);
std::string getValueName(const Value *V);
/// makeNameProper - We don't want identifier names with ., space, or