llvm::MachineOperand::getOperandNo

Returns the index of this operand in the instruction that it belongs to.

Synopsis

Declared in <llvm/CodeGen/MachineOperand.h>

unsigned int
getOperandNo() const;

Return Value

The zero-based index of this operand in its parent instruction.