LLVM 22.0.0git
|
Mapping from DebugVariable to/from a unique identifying number. More...
#include "CodeGen/LiveDebugValues/InstrRefBasedImpl.h"
Public Member Functions | |
DebugVariableID | getDVID (const DebugVariable &Var) const |
DebugVariableID | insertDVID (DebugVariable &Var, const DILocation *Loc) |
const VarAndLoc & | lookupDVID (DebugVariableID ID) const |
void | clear () |
Mapping from DebugVariable to/from a unique identifying number.
Each DebugVariable consists of three pointers, and after a small amount of work to identify overlapping fragments of variables we mostly only use DebugVariables as identities of variables. It's much more compile-time efficient to use an ID number instead, which this class provides.
Definition at line 47 of file InstrRefBasedImpl.h.
|
inline |
Definition at line 71 of file InstrRefBasedImpl.h.
|
inline |
Definition at line 52 of file InstrRefBasedImpl.h.
References assert().
|
inline |
Definition at line 58 of file InstrRefBasedImpl.h.
References Size.
|
inline |
Definition at line 69 of file InstrRefBasedImpl.h.