A definition of a variable; can represent either a debug.

Synopsis

Declared in <llvm/Transforms/Utils/DebugSSAUpdater.h>

struct DbgValueDef;

Description

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.

Member Functions

Name

Description

DbgValueDef [constructor]

Constructors

agreesWith

Return true if this definition agrees with Other.

print

Print this definition to OS.

operator bool

Return true if this is not an undef definition.

operator==

Return true if this definition agrees with Other.

operator!=

Return true if this definition does not agree with Other.

Data Members

Name

Description

Expression

DIExpression applied to Locations for this definition.

IsMemory

True when Locations describes a memory address of the variable.

IsUndef

True when this definition is undef (the variable is not yet defined).

Locations

Metadata describing the location(s) of the variable value.

Phi

SSA phi that produces this definition, or null if this is a concrete def.

Created with MrDocs