LLVM 22.0.0git
llvm::DbgValueRangeTable Class Reference

Utility class used to find and store the live debug ranges for variables in a module. More...

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

Public Member Functions

void addVariable (Function *F, DebugVariableAggregate DVA)
bool hasVariableEntry (DebugVariableAggregate DVA) const
bool hasSingleLocEntry (DebugVariableAggregate DVA) const
ArrayRef< DbgRangeEntrygetVariableRanges (DebugVariableAggregate DVA)
DbgValueDef getSingleLoc (DebugVariableAggregate DVA)
void printValues (DebugVariableAggregate DVA, raw_ostream &OS)

Detailed Description

Utility class used to find and store the live debug ranges for variables in a module.

This class uses the DebugSSAUpdater for each variable added with addVariable to find either a single-location value, e.g. #dbg_declare, or a set of live value ranges corresponding to the set of #dbg_value records.

Definition at line 339 of file DebugSSAUpdater.h.

Member Function Documentation

◆ addVariable()

◆ getSingleLoc()

DbgValueDef llvm::DbgValueRangeTable::getSingleLoc ( DebugVariableAggregate DVA)
inline

Definition at line 356 of file DebugSSAUpdater.h.

◆ getVariableRanges()

ArrayRef< DbgRangeEntry > llvm::DbgValueRangeTable::getVariableRanges ( DebugVariableAggregate DVA)
inline

Definition at line 353 of file DebugSSAUpdater.h.

◆ hasSingleLocEntry()

bool llvm::DbgValueRangeTable::hasSingleLocEntry ( DebugVariableAggregate DVA) const
inline

Definition at line 350 of file DebugSSAUpdater.h.

Referenced by printValues().

◆ hasVariableEntry()

bool llvm::DbgValueRangeTable::hasVariableEntry ( DebugVariableAggregate DVA) const
inline

Definition at line 346 of file DebugSSAUpdater.h.

Referenced by printValues().

◆ printValues()


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