LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
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 381 of file InstrRefBasedImpl.h.

Constructor & Destructor Documentation

◆ ResolvedDbgOp() [1/2]

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

Definition at line 388 of file InstrRefBasedImpl.h.

◆ ResolvedDbgOp() [2/2]

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

Definition at line 389 of file InstrRefBasedImpl.h.

Member Function Documentation

◆ dump()

void ResolvedDbgOp::dump ( const MLocTracker MTrack) const

◆ operator==()

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

Definition at line 391 of file InstrRefBasedImpl.h.

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

Member Data Documentation

◆ 

union { ... } LiveDebugValues::ResolvedDbgOp::@461

◆ IsConst

bool LiveDebugValues::ResolvedDbgOp::IsConst

Definition at line 386 of file InstrRefBasedImpl.h.

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

◆ Loc

LocIdx LiveDebugValues::ResolvedDbgOp::Loc

Definition at line 383 of file InstrRefBasedImpl.h.

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

◆ MO

MachineOperand LiveDebugValues::ResolvedDbgOp::MO

Definition at line 384 of file InstrRefBasedImpl.h.

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


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