class AttributeSetNode

Declaration

class AttributeSetNode : public Node, private TrailingObjects { /* full declaration omitted */ };

Description

This class represents a group of attributes that apply to one element: function, return type, or parameter.

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

Inherits from: FoldingSetBase::Node, TrailingObjects

Method Overview

Inherited from FoldingSetBase::Node:

Methods

AttributeSetNode(const llvm::AttributeSetNode&)

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

Parameters

const llvm::AttributeSetNode&

static void Profile(
    llvm::FoldingSetNodeID& ID,
    ArrayRef<llvm::Attribute> AttrList)

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

Parameters

llvm::FoldingSetNodeID& ID
ArrayRef<llvm::Attribute> AttrList

void Profile(llvm::FoldingSetNodeID& ID) const

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

Parameters

llvm::FoldingSetNodeID& ID

llvm::AttributeSetNode::iterator begin() const

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

llvm::AttributeSetNode::iterator end() const

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

static llvm::AttributeSetNode* get(
    llvm::LLVMContext& C,
    const llvm::AttrBuilder& B)

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

Parameters

llvm::LLVMContext& C
const llvm::AttrBuilder& B

static llvm::AttributeSetNode* get(
    llvm::LLVMContext& C,
    ArrayRef<llvm::Attribute> Attrs)

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

Parameters

llvm::LLVMContext& C
ArrayRef<llvm::Attribute> Attrs

llvm::MaybeAlign getAlignment() const

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

std::pair<unsigned int, Optional<unsigned int>>
getAllocSizeArgs() const

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

std::string getAsString(bool InAttrGrp) const

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

Parameters

bool InAttrGrp

llvm::Attribute getAttribute(
    Attribute::AttrKind Kind) const

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

Parameters

Attribute::AttrKind Kind

llvm::Attribute getAttribute(
    llvm::StringRef Kind) const

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

Parameters

llvm::StringRef Kind

llvm::Type* getByValType() const

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

uint64_t getDereferenceableBytes() const

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

uint64_t getDereferenceableOrNullBytes() const

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

unsigned int getNumAttributes() const

Description

Return the number of attributes this AttributeList contains.

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

llvm::MaybeAlign getStackAlignment() const

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

bool hasAttribute(llvm::StringRef Kind) const

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

Parameters

llvm::StringRef Kind

bool hasAttribute(Attribute::AttrKind Kind) const

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

Parameters

Attribute::AttrKind Kind

bool hasAttributes() const

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