ΒΆbool canReplaceOperandWithVariable(
const llvm::Instruction* I,
unsigned int OpIdx)
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:531
Parameters
- const llvm::Instruction* I
- unsigned int OpIdx