llvm::Intrinsic::getAttributes

Return the attributes for an intrinsic.

Synopsis

Declared in <llvm/IR/Intrinsics.h>

AttributeList
getAttributes(
    LLVMContext& C,
    ID id,
    FunctionType* FT);

Return Value

The attribute list for the intrinsic.

Parameters

NameDescription
CContext used to construct the attribute list.
idIntrinsic ID whose attributes are requested.
FTFunction type of the intrinsic declaration.