llvm::CallBase::getParamAttr

Return parameter attribute Kind for argument ArgNo.

Synopses

Declared in <llvm/IR/InstrTypes.h>

Return parameter attribute Kind for argument ArgNo.

Attribute
getParamAttr(
    unsigned int ArgNo,
    Attribute::AttrKind Kind) const;
» more...

Return parameter attribute Kind for argument ArgNo.

Attribute
getParamAttr(
    unsigned int ArgNo,
    StringRef Kind) const;
» more...

Return Value

The attribute, or an invalid attribute if not present.

Parameters

NameDescription
ArgNoZero-based argument index.
KindParameter attribute kind to query.