LLVM 20.0.0git
|
Class storing the complete set of values that are observed by DbgValues within the current function. More...
#include "CodeGen/LiveDebugValues/InstrRefBasedImpl.h"
Public Member Functions | |
DbgOpID | insert (DbgOp Op) |
If Op does not already exist in this map, it is inserted and the corresponding DbgOpID is returned. | |
DbgOp | find (DbgOpID ID) const |
Returns the DbgOp associated with ID . | |
void | clear () |
Class storing the complete set of values that are observed by DbgValues within the current function.
Allows 2-way lookup, with find
returning the Op for a given ID and insert
returning the ID for a given Op (creating one if none exists).
Definition at line 448 of file InstrRefBasedImpl.h.
|
inline |
Definition at line 478 of file InstrRefBasedImpl.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::clear(), and llvm::SmallVectorImpl< T >::clear().
Returns the DbgOp associated with ID
.
Should only be used for IDs returned from calling insert
from this map or DbgOpID::UndefID.
Definition at line 470 of file InstrRefBasedImpl.h.
References LiveDebugValues::DbgOpID::UndefID.
Referenced by LiveDebugValues::DbgOpID::dump(), TransferTracker::loadInlocs(), and TransferTracker::loadVarInloc().
If Op
does not already exist in this map, it is inserted and the corresponding DbgOpID is returned.
If Op already exists in this map, then no change is made and the existing ID for Op is returned. Calling this with the undef DbgOp will always return DbgOpID::UndefID.
Definition at line 461 of file InstrRefBasedImpl.h.
References LiveDebugValues::DbgOpID::UndefID.