salvageDebugInfo overloads
Declared in <llvm/CodeGen/GlobalISel/Utils.h>
Salvage debug records that use an instruction before it is deleted.
void
salvageDebugInfo(Instruction& I);
» more...
Assuming the instruction MI is going to be deleted, attempt to salvage debug users of MI by writing the effect of MI in a DIExpression.
void
salvageDebugInfo(
MachineRegisterInfo const& MRI,
MachineInstr& MI);
» more...
| Name | Description |
|---|---|
| I | Instruction about to be deleted whose debug uses may be salvaged. |
| MRI | Register information for the function. |
| MI | Instruction whose debug users may be salvaged. |