llvm::CallBase::addAttributeAtIndex

addAttributeAtIndex overloads

Synopses

Declared in <llvm/IR/InstrTypes.h>

Add attribute Kind at attribute index i.

void
addAttributeAtIndex(
    unsigned int i,
    Attribute::AttrKind Kind);
» more...

Add attribute Attr at attribute index i.

void
addAttributeAtIndex(
    unsigned int i,
    Attribute Attr);
» more...

Parameters

NameDescription
iAttribute index (return, function, or parameter slot).
KindAttribute kind to add.
AttrAttribute to add.