Helper class that provides common functionality to manifest IR attributes.
Synopsis
Declared in <llvm/Transforms/IPO/Attributor.h>
template<
Attribute::AttrKind AK,
typename BaseType,
typename AAType>
struct IRAttribute
: BaseType
Base Classes
Name |
Description |
|
Member Functions
Name |
Description |
|
Construct from |
Return the kind that identifies the abstract attribute implementation. |
|
|
Return the deduced attributes in |
See AbstractAttribute::manifest(...). |
Static Member Functions
Name |
Description |
Most boolean IRAttribute AAs don't do anything non‐trivial in their initializers while non‐boolean ones often do. Subclasses can change this. |
|
Return true if the IR attribute(s) associated with this AA are implied for an poison value. |
|
Return true if the IR attribute(s) associated with this AA are implied for an undef value. |
Static Data Members
Name |
Description |
Compile time access to the IR attribute kind. |
Derived Classes
Name |
Description |
An abstract interface for all align attributes. |
|
An abstract interface for all dereferenceable attribute. |
|
An abstract interface for memory access kind related attributes (readnone/readonly/writeonly). |
|
An abstract interface for all memory location attributes (readnone/argmemonly/inaccessiblememonly/inaccessibleorargmemonly). |
|
An abstract interface for all nonnull attributes. |
|
An abstract interface for all noalias attributes. |
|
An abstract interface for all nocapture attributes. |
|
An AbstractAttribute for nofree. |
|
An abstract attribute for norecurse. |
|
An AbstractAttribute for noreturn. |
|
An abstract interface for all noundef attributes. |
|
Abstract attribute for the no‐unwind function attribute. Abstract Attribute Classes ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ |
|
An abstract interface for all nonnull attributes. |
|
An abstract attribute for willreturn. |
Created with MrDocs