LLVM 22.0.0git
LiveDebugValues::DbgValueProperties Class Reference

Meta qualifiers for a value. More...

#include "CodeGen/LiveDebugValues/InstrRefBasedImpl.h"

Public Member Functions

 DbgValueProperties (const DIExpression *DIExpr, bool Indirect, bool IsVariadic)
 DbgValueProperties (const MachineInstr &MI)
 Extract properties from an existing DBG_VALUE instruction.
bool isJoinable (const DbgValueProperties &Other) const
bool operator== (const DbgValueProperties &Other) const
bool operator!= (const DbgValueProperties &Other) const
unsigned getLocationOpCount () const

Public Attributes

const DIExpressionDIExpr
bool Indirect
bool IsVariadic

Detailed Description

Meta qualifiers for a value.

Pair of whatever expression is used to qualify the value, and Boolean of whether or not it's indirect.

Definition at line 314 of file InstrRefBasedImpl.h.

Constructor & Destructor Documentation

◆ DbgValueProperties() [1/2]

LiveDebugValues::DbgValueProperties::DbgValueProperties ( const DIExpression * DIExpr,
bool Indirect,
bool IsVariadic )
inline

Definition at line 316 of file InstrRefBasedImpl.h.

References DIExpr, Indirect, and IsVariadic.

Referenced by isJoinable(), operator!=(), and operator==().

◆ DbgValueProperties() [2/2]

LiveDebugValues::DbgValueProperties::DbgValueProperties ( const MachineInstr & MI)
inline

Extract properties from an existing DBG_VALUE instruction.

Definition at line 320 of file InstrRefBasedImpl.h.

References assert(), DIExpr, Indirect, IsVariadic, and MI.

Member Function Documentation

◆ getLocationOpCount()

unsigned LiveDebugValues::DbgValueProperties::getLocationOpCount ( ) const
inline

◆ isJoinable()

bool LiveDebugValues::DbgValueProperties::isJoinable ( const DbgValueProperties & Other) const
inline

◆ operator!=()

bool LiveDebugValues::DbgValueProperties::operator!= ( const DbgValueProperties & Other) const
inline

Definition at line 339 of file InstrRefBasedImpl.h.

References DbgValueProperties(), and llvm::Other.

◆ operator==()

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

Definition at line 334 of file InstrRefBasedImpl.h.

References DbgValueProperties(), DIExpr, Indirect, IsVariadic, and llvm::Other.

Member Data Documentation

◆ DIExpr

◆ Indirect

◆ IsVariadic


The documentation for this class was generated from the following file: