LLVM
15.0.0git
|
Identifies a unique instance of a variable. More...
#include "llvm/IR/DebugInfoMetadata.h"
Public Member Functions | |
DebugVariable (const DILocalVariable *Var, Optional< FragmentInfo > FragmentInfo, const DILocation *InlinedAt) | |
DebugVariable (const DILocalVariable *Var, const DIExpression *DIExpr, const DILocation *InlinedAt) | |
const DILocalVariable * | getVariable () const |
Optional< FragmentInfo > | getFragment () const |
const DILocation * | getInlinedAt () const |
FragmentInfo | getFragmentOrDefault () const |
bool | operator== (const DebugVariable &Other) const |
bool | operator< (const DebugVariable &Other) const |
Static Public Member Functions | |
static bool | isDefaultFragment (const FragmentInfo F) |
Identifies a unique instance of a variable.
Storage for identifying a potentially inlined instance of a variable, or a fragment thereof. This guarantees that exactly one variable instance may be identified by this class, even when that variable is a fragment of an aggregate variable and/or there is another inlined instance of the same source code variable nearby. This class does not necessarily uniquely identify that variable: it is possible that a DebugVariable with different parameters may point to the same variable instance, but not that one DebugVariable points to multiple variable instances.
Definition at line 3620 of file DebugInfoMetadata.h.
|
inline |
Definition at line 3632 of file DebugInfoMetadata.h.
|
inline |
Definition at line 3636 of file DebugInfoMetadata.h.
|
inline |
Definition at line 3643 of file DebugInfoMetadata.h.
Referenced by LiveDebugValues::MLocTracker::emitLoc().
|
inline |
Definition at line 3646 of file DebugInfoMetadata.h.
Referenced by LiveDebugValues::VLocTracker::considerOverlaps().
|
inline |
Definition at line 3644 of file DebugInfoMetadata.h.
Referenced by LiveDebugValues::VLocTracker::considerOverlaps(), LiveDebugValues::MLocTracker::emitLoc(), TransferTracker::emitMOLoc(), and TransferTracker::isEntryValueVariable().
|
inline |
Definition at line 3642 of file DebugInfoMetadata.h.
Referenced by LiveDebugValues::VLocTracker::considerOverlaps(), LiveDebugValues::MLocTracker::emitLoc(), TransferTracker::emitMOLoc(), and TransferTracker::isEntryValueVariable().
|
inlinestatic |
Definition at line 3650 of file DebugInfoMetadata.h.
References F.
|
inline |
Definition at line 3659 of file DebugInfoMetadata.h.
References Other.
|
inline |
Definition at line 3654 of file DebugInfoMetadata.h.
References Other.