ΒΆbool canReplaceOperandWithVariable(
    const llvm::Instruction* I,
    unsigned int OpIdx)

Description

Given an instruction, is it legal to set operand OpIdx to a non-constant value?

Declared at: llvm/include/llvm/Transforms/Utils/Local.h:481

Parameters

const llvm::Instruction* I
unsigned int OpIdx