ΒΆbool replaceDbgUsesWithUndef(llvm::Instruction* I)

Description

Replace all the uses of an SSA value in @llvm.dbg intrinsics with undef. This is useful for signaling that a variable, e.g. has been found dead and hence it's unavailable at a given program point. Returns true if the dbg values have been changed.

Declared at: llvm/include/llvm/Transforms/Utils/Local.h:179

Parameters

llvm::Instruction* I