New PM pass that removes redundant DBG_VALUE instructions.

Synopsis

Declared in <llvm/CodeGen/RemoveRedundantDebugValues.h>

class RemoveRedundantDebugValuesPass
    : public RequiredPassInfoMixin<RemoveRedundantDebugValuesPass>

Description

Eliminates DBG_VALUEs that appear in MIR after register allocation when they are redundant with respect to earlier debug value information.

Base Classes

Name

Description

RequiredPassInfoMixin<RemoveRedundantDebugValuesPass>

A CRTP mix‐in for passes that should not be skipped.

Member Functions

Name

Description

run

Remove redundant debug values in MF.

Static Member Functions

Name

Description

isRequired

Return true; required passes cannot be skipped.

Created with MrDocs