LLVM 17.0.0git
|
Helper class that provides common functionality to manifest IR attributes. More...
#include "llvm/Transforms/IPO/Attributor.h"
Public Member Functions | |
IRAttribute (const IRPosition &IRP) | |
void | initialize (Attributor &A) override |
See AbstractAttribute::initialize(...). | |
ChangeStatus | manifest (Attributor &A) override |
See AbstractAttribute::manifest(...). | |
Attribute::AttrKind | getAttrKind () const |
Return the kind that identifies the abstract attribute implementation. | |
virtual void | getDeducedAttributes (LLVMContext &Ctx, SmallVectorImpl< Attribute > &Attrs) const |
Return the deduced attributes in Attrs . | |
Helper class that provides common functionality to manifest IR attributes.
Definition at line 3070 of file Attributor.h.
|
inline |
Definition at line 3071 of file Attributor.h.
|
inline |
Return the kind that identifies the abstract attribute implementation.
Definition at line 3107 of file Attributor.h.
Referenced by llvm::IRAttribute< AK, BaseType >::getDeducedAttributes(), and llvm::IRAttribute< AK, BaseType >::initialize().
|
inlinevirtual |
Return the deduced attributes in Attrs
.
Definition at line 3110 of file Attributor.h.
References llvm::Attribute::get(), and llvm::IRAttribute< AK, BaseType >::getAttrKind().
Referenced by llvm::IRAttribute< AK, BaseType >::manifest().
|
inlineoverride |
See AbstractAttribute::initialize(...).
Definition at line 3074 of file Attributor.h.
References A, llvm::IRPosition::getAnchorScope(), llvm::IRPosition::getAssociatedValue(), llvm::IRAttribute< AK, BaseType >::getAttrKind(), and llvm::IRPosition::isFnInterfaceKind().
|
inlineoverride |
See AbstractAttribute::manifest(...).
Definition at line 3097 of file Attributor.h.
References A, llvm::IRAttribute< AK, BaseType >::getDeducedAttributes(), llvm::IRAttributeManifest::manifestAttrs(), and llvm::UNCHANGED.