class EnumAttributeImpl

Declaration

class EnumAttributeImpl : public AttributeImpl { /* full declaration omitted */ };

Description

A set of classes that contain the value of the attribute object. There are three main categories: enum attribute entries, represented by Attribute::AttrKind; alignment attribute entries; and string attribute enties, which are for target-dependent attributes.

Declared at: llvm/lib/IR/AttributeImpl.h:113

Inherits from: AttributeImpl

Method Overview

Inherited from AttributeImpl:

Inherited from FoldingSetBase::Node:

Methods

EnumAttributeImpl(
    llvm::AttributeImpl::AttrEntryKind ID,
    Attribute::AttrKind Kind)

Declared at: llvm/lib/IR/AttributeImpl.h:119

Parameters

llvm::AttributeImpl::AttrEntryKind ID
Attribute::AttrKind Kind

EnumAttributeImpl(Attribute::AttrKind Kind)

Declared at: llvm/lib/IR/AttributeImpl.h:123

Parameters

Attribute::AttrKind Kind

Attribute::AttrKind getEnumKind() const

Declared at: llvm/lib/IR/AttributeImpl.h:126