[#llvm-DbgVariableIntrinsic-replaceVariableLocationOp-0b8] = xref:llvm.adoc[llvm]::xref:llvm/DbgVariableIntrinsic.adoc[DbgVariableIntrinsic]::replaceVariableLocationOp :relfileprefix: ../../ :mrdocs: `replaceVariableLocationOp` overloads == Synopses Declared in `<llvm/IR/IntrinsicInst.h>` Replace the location operand at index `OpIdx` with `NewValue.` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:llvm/DbgVariableIntrinsic/replaceVariableLocationOp-0b1.adoc[replaceVariableLocationOp]( unsigned int OpIdx, xref:llvm/Value.adoc[Value]* NewValue); ---- [.small]#xref:llvm/DbgVariableIntrinsic/replaceVariableLocationOp-0b1.adoc[_» more..._]# Replace location operand `OldValue` with `NewValue.` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:llvm/DbgVariableIntrinsic/replaceVariableLocationOp-01.adoc[replaceVariableLocationOp]( xref:llvm/Value.adoc[Value]* OldValue, xref:llvm/Value.adoc[Value]* NewValue, bool AllowEmpty = false); ---- [.small]#xref:llvm/DbgVariableIntrinsic/replaceVariableLocationOp-01.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *OpIdx* | Zero‐based location operand index. | *NewValue* | Replacement location value. | *OldValue* | Existing location value to replace. | *AllowEmpty* | If true, allow the old value to be missing. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#