LLVM 22.0.0git
LiveDebugValues::ResolvedDbgOp Struct Reference

A DbgOp whose ID (if any) has resolved to an actual location, LocIdx. More...

#include "CodeGen/LiveDebugValues/InstrRefBasedImpl.h"

Public Member Functions

 ResolvedDbgOp (LocIdx Loc)
 ResolvedDbgOp (MachineOperand MO)
bool operator== (const ResolvedDbgOp &Other) const
void dump (const MLocTracker *MTrack) const

Public Attributes

union { 
   LocIdx   Loc 
   MachineOperand   MO 
}; 
bool IsConst

Detailed Description

A DbgOp whose ID (if any) has resolved to an actual location, LocIdx.

Used when working with concrete debug values, i.e. when joining MLocs and VLocs in the TransferTracker or emitting DBG_VALUE/DBG_VALUE_LIST instructions in the MLocTracker.

Definition at line 382 of file InstrRefBasedImpl.h.

Constructor & Destructor Documentation

◆ ResolvedDbgOp() [1/2]

LiveDebugValues::ResolvedDbgOp::ResolvedDbgOp ( LocIdx Loc)
inline

Definition at line 389 of file InstrRefBasedImpl.h.

References IsConst, and Loc.

Referenced by operator==().

◆ ResolvedDbgOp() [2/2]

LiveDebugValues::ResolvedDbgOp::ResolvedDbgOp ( MachineOperand MO)
inline

Definition at line 390 of file InstrRefBasedImpl.h.

References IsConst, and MO.

Member Function Documentation

◆ dump()

void ResolvedDbgOp::dump ( const MLocTracker * MTrack) const

◆ operator==()

bool LiveDebugValues::ResolvedDbgOp::operator== ( const ResolvedDbgOp & Other) const
inline

Definition at line 392 of file InstrRefBasedImpl.h.

References IsConst, Loc, MO, llvm::Other, and ResolvedDbgOp().

Member Data Documentation

◆ [union]

◆ IsConst

bool LiveDebugValues::ResolvedDbgOp::IsConst

Definition at line 387 of file InstrRefBasedImpl.h.

Referenced by dump(), operator==(), ResolvedDbgOp(), and ResolvedDbgOp().

◆ Loc

LocIdx LiveDebugValues::ResolvedDbgOp::Loc

Definition at line 384 of file InstrRefBasedImpl.h.

Referenced by dump(), operator==(), and ResolvedDbgOp().

◆ MO

MachineOperand LiveDebugValues::ResolvedDbgOp::MO

Definition at line 385 of file InstrRefBasedImpl.h.

Referenced by dump(), operator==(), and ResolvedDbgOp().


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