[#llvm-RemoveRedundantDebugValuesPass] = xref:llvm.adoc[llvm]::RemoveRedundantDebugValuesPass :relfileprefix: ../ :mrdocs: New PM pass that removes redundant DBG_VALUE instructions. == Synopsis Declared in `<llvm/CodeGen/RemoveRedundantDebugValues.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class RemoveRedundantDebugValuesPass : public xref:llvm/RequiredPassInfoMixin-047.adoc[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 [cols="1,4"] |=== | Name| Description | `xref:llvm/RequiredPassInfoMixin-047.adoc[RequiredPassInfoMixin<RemoveRedundantDebugValuesPass>]` | A CRTP mix‐in for passes that should not be skipped. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/RemoveRedundantDebugValuesPass/run.adoc[`run`] | Remove redundant debug values in `MF.` |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/RemoveRedundantDebugValuesPass/isRequired.adoc[`isRequired`] | Return true; required passes cannot be skipped. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#