Return true if data operand i has implied attribute Kind.

Synopsis

Declared in <llvm/IR/InstrTypes.h>

bool
dataOperandHasImpliedAttr(
    unsigned int i,
    Attribute::AttrKind Kind) const;

Description

Data operands include call arguments and values used in operand bundles, but does not include the callee operand.

The index i is interpreted as

i in [0, arg_size) ‐> argument number (]`i)` i in [arg_size, data_operand_size) ‐> bundle operand at index] (i) in the operand list.

Return Value

True if the data operand has Kind.

Parameters

Name

Description

i

Zero‐based data operand index.

Kind

Attribute kind to test (direct or bundle‐implied).

Created with MrDocs