LLVM 17.0.0git
|
#include "llvm/IR/Attributes.h"
Public Member Functions | |
AttributeMask ()=default | |
AttributeMask (const AttributeMask &)=delete | |
AttributeMask (AttributeMask &&)=default | |
AttributeMask (AttributeSet AS) | |
AttributeMask & | addAttribute (Attribute::AttrKind Val) |
Add an attribute to the mask. | |
AttributeMask & | addAttribute (Attribute A) |
Add the Attribute object to the builder. | |
AttributeMask & | addAttribute (StringRef A) |
Add the target-dependent attribute to the builder. | |
bool | contains (Attribute::AttrKind A) const |
Return true if the builder has the specified attribute. | |
bool | contains (StringRef A) const |
Return true if the builder has the specified target-dependent attribute. | |
bool | contains (Attribute A) const |
Return true if the mask contains the specified attribute. | |
Definition at line 979 of file Attributes.h.
|
default |
|
delete |
|
default |
|
inline |
Definition at line 988 of file Attributes.h.
References A, and addAttribute().
|
inline |
Add the Attribute object to the builder.
Definition at line 1002 of file Attributes.h.
References A, and addAttribute().
|
inline |
Add an attribute to the mask.
Definition at line 994 of file Attributes.h.
References assert(), and llvm::Attribute::EndAttrKinds.
Referenced by addAttribute(), adjustCallerSSPLevel(), AttributeMask(), llvm::AttributeFuncs::getUBImplyingAttributes(), and llvm::AttributeFuncs::typeIncompatible().
|
inline |
Add the target-dependent attribute to the builder.
Definition at line 1011 of file Attributes.h.
References A.
Return true if the mask contains the specified attribute.
Definition at line 1027 of file Attributes.h.
References A, and contains().
|
inline |
Return true if the builder has the specified attribute.
Definition at line 1017 of file Attributes.h.
References A, assert(), and llvm::Attribute::EndAttrKinds.
Referenced by contains(), llvm::AttrBuilder::overlaps(), and llvm::AttrBuilder::remove().
Return true if the builder has the specified target-dependent attribute.
Definition at line 1024 of file Attributes.h.
References A.