class TypeAttributeImpl

Declaration

class TypeAttributeImpl : public EnumAttributeImpl { /* 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:161

Inherits from: EnumAttributeImpl

Method Overview

Inherited from EnumAttributeImpl:

Inherited from AttributeImpl:

Inherited from FoldingSetBase::Node:

Methods

TypeAttributeImpl(Attribute::AttrKind Kind,
                  llvm::Type* Ty)

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

Parameters

Attribute::AttrKind Kind
llvm::Type* Ty

llvm::Type* getTypeValue() const

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