LLVM 17.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"

Collaboration diagram for LiveDebugValues::ResolvedDbgOp:
Collaboration graph
[legend]

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 304 of file InstrRefBasedImpl.h.

Constructor & Destructor Documentation

◆ ResolvedDbgOp() [1/2]

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

Definition at line 311 of file InstrRefBasedImpl.h.

◆ ResolvedDbgOp() [2/2]

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

Definition at line 312 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 314 of file InstrRefBasedImpl.h.

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

Member Data Documentation

◆ 

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

◆ IsConst

bool LiveDebugValues::ResolvedDbgOp::IsConst

Definition at line 309 of file InstrRefBasedImpl.h.

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

◆ Loc

LocIdx LiveDebugValues::ResolvedDbgOp::Loc

Definition at line 306 of file InstrRefBasedImpl.h.

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

◆ MO

MachineOperand LiveDebugValues::ResolvedDbgOp::MO

Definition at line 307 of file InstrRefBasedImpl.h.

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


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