LLVM 20.0.0git
|
#include "llvm/IR/AttributeMask.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 29 of file AttributeMask.h.
|
default |
|
delete |
|
default |
|
inline |
Definition at line 38 of file AttributeMask.h.
References A, and addAttribute().
|
inline |
Add the Attribute object to the builder.
Definition at line 52 of file AttributeMask.h.
References A, and addAttribute().
|
inline |
Add an attribute to the mask.
Definition at line 44 of file AttributeMask.h.
References assert(), and llvm::Attribute::EndAttrKinds.
Referenced by addAttribute(), adjustCallerSSPLevel(), AttributeMask(), llvm::AttributeFuncs::getUBImplyingAttributes(), moveFunctionAdaptingType(), and llvm::AttributeFuncs::typeIncompatible().
|
inline |
Add the target-dependent attribute to the builder.
Definition at line 61 of file AttributeMask.h.
References A.
Return true if the mask contains the specified attribute.
Definition at line 77 of file AttributeMask.h.
References A, and contains().
|
inline |
Return true if the builder has the specified attribute.
Definition at line 67 of file AttributeMask.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 74 of file AttributeMask.h.
References A.