LLVM: llvm::IRAttribute< AK, BaseType, AAType (original) (raw)

Helper class that provides common functionality to manifest IR attributes. More...

#include "[llvm/Transforms/IPO/Attributor.h](Attributor%5F8h%5Fsource.html)"

Public Member Functions
IRAttribute (const IRPosition &IRP)
ChangeStatus manifest (Attributor &A) override
See AbstractAttribute::manifest(...).
Attribute::AttrKind getAttrKind () const
Return the kind that identifies the abstract attribute implementation.
virtual void getDeducedAttributes (Attributor &A, LLVMContext &Ctx, SmallVectorImpl< Attribute > &Attrs) const
Return the deduced attributes in Attrs.
Static Public Member Functions
static bool hasTrivialInitializer ()
Most boolean IRAttribute AAs don't do anything non-trivial in their initializers while non-boolean ones often do.
static bool isImpliedByUndef ()
Return true if the IR attribute(s) associated with this AA are implied for an undef value.
static bool isImpliedByPoison ()
Return true if the IR attribute(s) associated with this AA are implied for an poison value.
static bool isImpliedByIR (Attributor &A, const IRPosition &IRP, Attribute::AttrKind ImpliedAttributeKind=AK, bool IgnoreSubsumingPositions=false)
Static Public Attributes
static constexpr Attribute::AttrKind IRAttributeKind = AK
Compile time access to the IR attribute kind.

template<Attribute::AttrKind AK, typename BaseType, typename AAType>
struct llvm::IRAttribute< AK, BaseType, AAType >

Helper class that provides common functionality to manifest IR attributes.

Definition at line 3227 of file Attributor.h.

getAttrKind()

getDeducedAttributes()

hasTrivialInitializer()

isImpliedByIR()

isImpliedByPoison()

Return true if the IR attribute(s) associated with this AA are implied for an poison value.

Definition at line 3244 of file Attributor.h.

isImpliedByUndef()

Return true if the IR attribute(s) associated with this AA are implied for an undef value.

Definition at line 3240 of file Attributor.h.

manifest()

IRAttributeKind

Compile time access to the IR attribute kind.

Definition at line 3236 of file Attributor.h.


The documentation for this struct was generated from the following file: