LLVM 22.0.0git
llvm::DbgValueDef Struct Reference

A definition of a variable; can represent either a debug value, no definition (the variable has not yet been defined), or a phi value*. More...

#include "llvm/Transforms/Utils/DebugSSAUpdater.h"

Public Member Functions

 DbgValueDef ()
 DbgValueDef (int)
 DbgValueDef (bool IsMemory, Metadata *Locations, DIExpression *Expression)
 DbgValueDef (DbgVariableRecord *DVR)
 DbgValueDef (DbgSSAPhi *Phi)
bool agreesWith (DbgValueDef Other) const
 operator bool () const
bool operator== (DbgValueDef Other) const
bool operator!= (DbgValueDef Other) const
void print (raw_ostream &OS) const

Public Attributes

DbgSSAPhiPhi
bool IsUndef
bool IsMemory
MetadataLocations
DIExpressionExpression

Detailed Description

A definition of a variable; can represent either a debug value, no definition (the variable has not yet been defined), or a phi value*.

*Meaning multiple definitions that are live-in to a block from different predecessors, not a debug value that uses an IR PHINode.

Definition at line 46 of file DebugSSAUpdater.h.

Constructor & Destructor Documentation

◆ DbgValueDef() [1/5]

llvm::DbgValueDef::DbgValueDef ( )
inline

Definition at line 53 of file DebugSSAUpdater.h.

References Expression, IsMemory, IsUndef, Locations, and Phi.

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

◆ DbgValueDef() [2/5]

llvm::DbgValueDef::DbgValueDef ( int )
inline

Definition at line 56 of file DebugSSAUpdater.h.

References Expression, IsMemory, IsUndef, Locations, and Phi.

◆ DbgValueDef() [3/5]

llvm::DbgValueDef::DbgValueDef ( bool IsMemory,
Metadata * Locations,
DIExpression * Expression )
inline

Definition at line 59 of file DebugSSAUpdater.h.

References Expression, IsMemory, IsUndef, Locations, and Phi.

◆ DbgValueDef() [4/5]

◆ DbgValueDef() [5/5]

llvm::DbgValueDef::DbgValueDef ( DbgSSAPhi * Phi)
inline

Definition at line 69 of file DebugSSAUpdater.h.

References Expression, IsMemory, IsUndef, Locations, and Phi.

Member Function Documentation

◆ agreesWith()

bool llvm::DbgValueDef::agreesWith ( DbgValueDef Other) const
inline

◆ operator bool()

llvm::DbgValueDef::operator bool ( ) const
inline

Definition at line 81 of file DebugSSAUpdater.h.

References IsUndef.

◆ operator!=()

bool llvm::DbgValueDef::operator!= ( DbgValueDef Other) const
inline

Definition at line 83 of file DebugSSAUpdater.h.

References agreesWith(), DbgValueDef(), and llvm::Other.

◆ operator==()

bool llvm::DbgValueDef::operator== ( DbgValueDef Other) const
inline

Definition at line 82 of file DebugSSAUpdater.h.

References agreesWith(), DbgValueDef(), and llvm::Other.

◆ print()

void DbgValueDef::print ( raw_ostream & OS) const

Definition at line 23 of file DebugSSAUpdater.cpp.

References Expression, IsMemory, IsUndef, Locations, and Phi.

Referenced by llvm::operator<<().

Member Data Documentation

◆ Expression

DIExpression* llvm::DbgValueDef::Expression

◆ IsMemory

bool llvm::DbgValueDef::IsMemory

◆ IsUndef

◆ Locations

Metadata* llvm::DbgValueDef::Locations

◆ Phi


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