replaceVariableLocationOp overloads

Synopses

Declared in <llvm/IR/IntrinsicInst.h>

Replace the location operand at index OpIdx with NewValue.

void
replaceVariableLocationOp(
    unsigned int OpIdx,
    Value* NewValue);

Replace location operand OldValue with NewValue.

void
replaceVariableLocationOp(
    Value* OldValue,
    Value* NewValue,
    bool AllowEmpty = false);

Parameters

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.

Created with MrDocs