LLVM 22.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 449 of file InstrRefBasedImpl.h.
|
inline |
Definition at line 479 of file InstrRefBasedImpl.h.
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 471 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 462 of file InstrRefBasedImpl.h.
References LiveDebugValues::DbgOpID::UndefID.