Return Attribute with the given Kind. The returned attribute will be invalid if the Kind is not present in the builder.
Synopsis
Declared in <llvm/IR/Attributes.h>
Attribute
getAttribute(Attribute::AttrKind Kind) const;
Return Value
The attribute with the given kind, if present.
Parameters
Name |
Description |
Kind |
Enum attribute kind to look up. |
Created with MrDocs