LLVM 22.0.0git
llvm::SSAValueNameMap Class Reference

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)

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

Definition at line 325 of file DebugSSAUpdater.h.

Member Function Documentation

◆ addValue()

SSAValueNameMap::ValueID SSAValueNameMap::addValue ( Value * V)

Definition at line 376 of file DebugSSAUpdater.cpp.

References assert().

◆ getName()

std::string llvm::SSAValueNameMap::getName ( ValueID ID)
inline

Definition at line 327 of file DebugSSAUpdater.h.


The documentation for this class was generated from the following files: