LLVM 22.0.0git
|
Utility class used to store the names of SSA values after their owning modules have been destroyed. More...
#include "llvm/Transforms/Utils/DebugSSAUpdater.h"
Public Types | |
using | ValueID = uint64_t |
Public Member Functions | |
ValueID | addValue (Value *V) |
std::string | getName (ValueID ID) |
Utility class used to store the names of SSA values after their owning modules have been destroyed.
Values are added via addValue
to receive a corresponding ID, which can then be used to retrieve the name of the SSA value via getName
at any point. Adding the same value multiple times returns the same ID, making addValue
idempotent.
Definition at line 319 of file DebugSSAUpdater.h.
Definition at line 325 of file DebugSSAUpdater.h.
SSAValueNameMap::ValueID SSAValueNameMap::addValue | ( | Value * | V | ) |
Definition at line 376 of file DebugSSAUpdater.cpp.
References assert().
|
inline |
Definition at line 327 of file DebugSSAUpdater.h.