X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=include%2Fllvm%2FIR%2FValueSymbolTable.h;h=65bd7fc2fec17a9595a9ab0fdf7035f9dbddd976;hp=edeb31030ed409d36191b6114236c7e409c0ade6;hb=a2197f8f51c97ef61a814a7f16fd1eab20a47b5a;hpb=0e13c07553708c5ec5247aac8a67a7a263169902 diff --git a/include/llvm/IR/ValueSymbolTable.h b/include/llvm/IR/ValueSymbolTable.h index edeb31030ed..65bd7fc2fec 100644 --- a/include/llvm/IR/ValueSymbolTable.h +++ b/include/llvm/IR/ValueSymbolTable.h @@ -14,6 +14,7 @@ #ifndef LLVM_IR_VALUESYMBOLTABLE_H #define LLVM_IR_VALUESYMBOLTABLE_H +#include "llvm/ADT/SmallString.h" #include "llvm/ADT/StringMap.h" #include "llvm/IR/Value.h" #include "llvm/Support/DataTypes.h" @@ -99,6 +100,8 @@ public: /// @name Mutators /// @{ private: + ValueName *makeUniqueName(Value *V, SmallString<256> &UniqueName); + /// This method adds the provided value \p N to the symbol table. The Value /// must have a name which is used to place the value in the symbol table. /// If the inserted name conflicts, this renames the value.