class AttributeMask

Declaration

class AttributeMask { /* full declaration omitted */ };

Description

This class stores enough information to efficiently remove some attributes from an existing AttrBuilder, AttributeSet or AttributeList.

Declared at: llvm/include/llvm/IR/Attributes.h:963

Member Variables

private std::bitset<Attribute::EndAttrKinds> Attrs
private std::set<SmallString<32>, std::less<>> TargetDepAttrs

Method Overview

Methods

AttributeMask()

Declared at: llvm/include/llvm/IR/Attributes.h:968

AttributeMask(const llvm::AttributeMask&)

Declared at: llvm/include/llvm/IR/Attributes.h:969

Parameters

const llvm::AttributeMask&

AttributeMask(llvm::AttributeMask&&)

Declared at: llvm/include/llvm/IR/Attributes.h:970

Parameters

llvm::AttributeMask&&

AttributeMask(llvm::AttributeSet AS)

Declared at: llvm/include/llvm/IR/Attributes.h:972

Parameters

llvm::AttributeSet AS

llvm::AttributeMask& addAttribute(
    Attribute::AttrKind Val)

Description

Add an attribute to the mask.

Declared at: llvm/include/llvm/IR/Attributes.h:978

Parameters

Attribute::AttrKind Val

llvm::AttributeMask& addAttribute(
    llvm::Attribute A)

Description

Add the Attribute object to the builder.

Declared at: llvm/include/llvm/IR/Attributes.h:986

Parameters

llvm::Attribute A

llvm::AttributeMask& addAttribute(
    llvm::StringRef A)

Description

Add the target-dependent attribute to the builder.

Declared at: llvm/include/llvm/IR/Attributes.h:995

Parameters

llvm::StringRef A

bool contains(Attribute::AttrKind A) const

Description

Return true if the builder has the specified attribute.

Declared at: llvm/include/llvm/IR/Attributes.h:1001

Parameters

Attribute::AttrKind A

bool contains(llvm::StringRef A) const

Description

Return true if the builder has the specified target-dependent attribute.

Declared at: llvm/include/llvm/IR/Attributes.h:1008

Parameters

llvm::StringRef A

bool contains(llvm::Attribute A) const

Description

Return true if the mask contains the specified attribute.

Declared at: llvm/include/llvm/IR/Attributes.h:1011

Parameters

llvm::Attribute A