llvm::CallBase::getOperandBundleForOperand

Return the operand bundle containing the operand at index OpIdx.

Synopsis

Declared in <llvm/IR/InstrTypes.h>

OperandBundleUse
getOperandBundleForOperand(unsigned int OpIdx) const;

Description

It is an error to call this with an OpIdx that does not correspond to a bundle operand.

Return Value

The operand bundle that owns OpIdx.

Parameters

NameDescription
OpIdxThe zero-based operand index.