struct IRAttribute

Declaration

template <Attribute::AttrKind AK, typename BaseType>
struct IRAttribute { /* full declaration omitted */ };

Description

Helper class that provides common functionality to manifest IR attributes.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2836

Templates

Attribute::AttrKind AK
BaseType

Method Overview

Methods

IRAttribute<AK, BaseType>(
    const llvm::IRPosition& IRP)

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2837

Parameters

const llvm::IRPosition& IRP

Attribute::AttrKind getAttrKind() const

Description

Return the kind that identifies the abstract attribute implementation.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2873

virtual void getDeducedAttributes(
    llvm::LLVMContext& Ctx,
    SmallVectorImpl<llvm::Attribute>& Attrs) const

Description

Return the deduced attributes in \p Attrs.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2876

Parameters

llvm::LLVMContext& Ctx
SmallVectorImpl<llvm::Attribute>& Attrs

void initialize(llvm::Attributor& A)

Description

See AbstractAttribute::initialize(...).

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2840

Parameters

llvm::Attributor& A

llvm::ChangeStatus manifest(llvm::Attributor& A)

Description

See AbstractAttribute::manifest(...).

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2863

Parameters

llvm::Attributor& A