LLVM: llvm::SSAValueNameMap Class Reference (original) (raw)
Utility class used to store the names of SSA values after their owning modules have been destroyed. More...
#include "[llvm/Transforms/Utils/DebugSSAUpdater.h](DebugSSAUpdater%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| ValueID | addValue (Value *V) |
| std::string | getName (ValueID ID) |
Detailed Description
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.
Member Typedef Documentation
◆ ValueID
Member Function Documentation
◆ addValue()
| SSAValueNameMap::ValueID SSAValueNameMap::addValue | ( | Value * | V | ) |
|---|
◆ getName()
| std::string llvm::SSAValueNameMap::getName ( ValueID ID) | inline |
|---|
The documentation for this class was generated from the following files:
- include/llvm/Transforms/Utils/DebugSSAUpdater.h
- lib/Transforms/Utils/DebugSSAUpdater.cpp