[#llvm-SSAValueNameMap] = xref:llvm.adoc[llvm]::SSAValueNameMap :relfileprefix: ../ :mrdocs: Utility class used to store the names of SSA values after their owning modules have been destroyed. == Synopsis Declared in `<llvm/Transforms/Utils/DebugSSAUpdater.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class SSAValueNameMap; ---- == Description 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. == Type Aliases [cols="1,4"] |=== | Name| Description | xref:llvm/SSAValueNameMap/ValueID.adoc[`ValueID`] | Opaque identifier for a recorded SSA value name. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/SSAValueNameMap/addValue.adoc[`addValue`] | Record `V` and return a stable ID for its name. | xref:llvm/SSAValueNameMap/getName.adoc[`getName`] | Return the stored name for `ID.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#