LLVM: llvm::AttributeMask Class Reference (original) (raw)
This class stores enough information to efficiently remove some attributes from an existing AttrBuilder, AttributeSet or AttributeList. More...
#include "[llvm/IR/AttributeMask.h](AttributeMask%5F8h%5Fsource.html)"
| 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. |
This class stores enough information to efficiently remove some attributes from an existing AttrBuilder, AttributeSet or AttributeList.
Definition at line 29 of file AttributeMask.h.
| llvm::AttributeMask::AttributeMask ( ) | default |
|---|
◆ AttributeMask() [2/4]
References AttributeMask().
◆ AttributeMask() [3/4]
References AttributeMask().
◆ AttributeMask() [4/4]
| llvm::AttributeMask::AttributeMask ( AttributeSet AS) | inline |
|---|
◆ addAttribute() [1/3]
◆ addAttribute() [2/3]
◆ addAttribute() [3/3]
Add the target-dependent attribute to the builder.
Definition at line 61 of file AttributeMask.h.
References A(), and AttributeMask().
◆ contains() [1/3]
◆ contains() [2/3]
◆ contains() [3/3]
Return true if the builder has the specified target-dependent attribute.
Definition at line 74 of file AttributeMask.h.
References A().
The documentation for this class was generated from the following file:
- include/llvm/IR/AttributeMask.h