Class used to determine the live ranges of debug variables in IR using SSA construction (via the SSAUpdaterImpl class), used for analysis purposes.

Synopsis

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

class DebugSSAUpdater;

Member Functions

Name

Description

DebugSSAUpdater [constructor]

Constructors

~DebugSSAUpdater [destructor]

Destroy owned DbgSSABlock wrappers.

operator= [deleted]

Deleted copy assignment.

addAvailableValue

Indicate that a rewritten value is available in the specified block with the specified value.

findValueForBlock

Return the value for the specified block if the DebugSSAUpdater has one, otherwise return nullptr.

getDbgSSABlock

For a given BB, create a wrapper block for it. Stores it in the DebugSSAUpdater block map.

getValueAtEndOfBlock

Construct SSA form, materializing a value that is live at the end of the specified block.

getValueInMiddleOfBlock

Construct SSA form, materializing a value that is live in the middle of the specified block.

hasValueForBlock

Return true if the DebugSSAUpdater already has a value for the specified block.

initialize

Clear available values in preparation for a new SSA construction.

reset

Reset available values and destroy owned block wrappers.

Friends

Name

Description

llvm::SSAUpdaterTraits

Traits used by SSAUpdaterImpl to adapt an SSA updater implementation.

Created with MrDocs