Remap the source-location atom of instruction I.
Declared in <llvm/Transforms/Utils/ValueMapper.h>
void
RemapSourceAtom(
Instruction* I,
ValueToValueMapTy& VM);
Called by RemapInstruction. This updates the instruction's atom group number if it has been mapped (e.g. with llvm::mapAtomInstance), which is necessary to distinguish source code atoms on duplicated code paths.
| Name | Description |
|---|---|
| I | Instruction whose debug-location atom may be remapped. |
| VM | Value map that may contain a mapped atom instance. |