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 991 of file Attributes.h.
|
default |
|
delete |
|
default |
|
inline |
Definition at line 1000 of file Attributes.h.
References A, and addAttribute().
|
inline |
Add the Attribute object to the builder.
Definition at line 1014 of file Attributes.h.
References A, and addAttribute().
|
inline |
Add an attribute to the mask.
Definition at line 1006 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 1023 of file Attributes.h.
References A.
Return true if the mask contains the specified attribute.
Definition at line 1039 of file Attributes.h.
References A, and contains().
|
inline |
Return true if the builder has the specified attribute.
Definition at line 1029 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 1036 of file Attributes.h.
References A.