llvm::Instruction::updateLocationAfterHoist

Update the debug location after hoisting this instruction to a predecessor.

Synopsis

Declared in <llvm/IR/Instruction.h>

void
updateLocationAfterHoist();

Description

Note: it is undefined behavior to call this on an instruction not currently inserted into a function.