Return an iterator to the position of the "Next" DbgRecord after this instruction, or std::nullopt. This is the position to pass to BasicBlock::reinsertInstInDbgRecords when re‐inserting an instruction.
Synopsis
Declared in <llvm/IR/Instruction.h>
std::optional<simple_ilist<DbgRecord>::iterator>
getDbgReinsertionPosition();
Return Value
Class template for optional values.
Created with MrDocs