class AttributeImpl

Declaration

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

Description

This class represents a single, uniqued attribute. That attribute could be a single enum, a tuple, or a string.

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

Inherits from: FoldingSetBase::Node

Method Overview

Inherited from FoldingSetBase::Node:

Methods

AttributeImpl(const llvm::AttributeImpl&)

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

Parameters

const llvm::AttributeImpl&

AttributeImpl(
    llvm::AttributeImpl::AttrEntryKind KindID)

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

Parameters

llvm::AttributeImpl::AttrEntryKind KindID

static void Profile(llvm::FoldingSetNodeID& ID,
                    Attribute::AttrKind Kind,
                    llvm::Type* Ty)

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

Parameters

llvm::FoldingSetNodeID& ID
Attribute::AttrKind Kind
llvm::Type* Ty

static void Profile(llvm::FoldingSetNodeID& ID,
                    llvm::StringRef Kind,
                    llvm::StringRef Values)

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

Parameters

llvm::FoldingSetNodeID& ID
llvm::StringRef Kind
llvm::StringRef Values

static void Profile(llvm::FoldingSetNodeID& ID,
                    Attribute::AttrKind Kind,
                    uint64_t Val)

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

Parameters

llvm::FoldingSetNodeID& ID
Attribute::AttrKind Kind
uint64_t Val

void Profile(llvm::FoldingSetNodeID& ID) const

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

Parameters

llvm::FoldingSetNodeID& ID

Attribute::AttrKind getKindAsEnum() const

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

llvm::StringRef getKindAsString() const

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

uint64_t getValueAsInt() const

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

llvm::StringRef getValueAsString() const

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

llvm::Type* getValueAsType() const

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

bool hasAttribute(Attribute::AttrKind A) const

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

Parameters

Attribute::AttrKind A

bool hasAttribute(llvm::StringRef Kind) const

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

Parameters

llvm::StringRef Kind

bool isEnumAttribute() const

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

bool isIntAttribute() const

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

bool isStringAttribute() const

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

bool isTypeAttribute() const

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

virtual ~AttributeImpl()

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