llvm::MachineInstr::getOperandNo

Return the operand index corresponding to iterator I.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

unsigned int
getOperandNo(const_mop_iterator I) const;

Return Value

Zero-based operand index of I.

Parameters

NameDescription
IOperand iterator into this instruction.