#include "llvm/IR/ValueSymbolTable.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Type.h"
#include "llvm/IR/Value.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/TargetParser/Triple.h"
#include <cassert>
#include <utility>
usingnamespacellvm;
#define DEBUG_TYPE …
ValueSymbolTable::~ValueSymbolTable() { … }
ValueName *ValueSymbolTable::makeUniqueName(Value *V,
SmallString<256> &UniqueName) { … }
void ValueSymbolTable::reinsertValue(Value *V) { … }
void ValueSymbolTable::removeValueName(ValueName *V) { … }
ValueName *ValueSymbolTable::createValueName(StringRef Name, Value *V) { … }
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
LLVM_DUMP_METHOD void ValueSymbolTable::dump() const {
for (const auto &I : *this) {
I.getValue()->dump();
}
}
#endif