|
LLVM 24.0.0git
|
This class represents a group of attributes that apply to one element: function, return type, or parameter. More...
#include "IR/AttributeImpl.h"
Public Types | |
| using | iterator = const Attribute * |
Static Public Member Functions | |
| static AttributeSetNode * | get (LLVMContext &C, const AttrBuilder &B) |
| static AttributeSetNode * | get (LLVMContext &C, ArrayRef< Attribute > Attrs) |
| static AttributeSetNode * | getSorted (LLVMContext &C, ArrayRef< Attribute > SortedAttrs) |
Additional Inherited Members | |
| Protected Attributes inherited from llvm::AttributeSetNodeBase | |
| AttributeBitSet | AvailableAttrs |
This class represents a group of attributes that apply to one element: function, return type, or parameter.
Definition at line 256 of file AttributeImpl.h.
| using llvm::AttributeSetNode::iterator = const Attribute * |
Definition at line 311 of file AttributeImpl.h.
|
delete |
|
inline |
Definition at line 313 of file AttributeImpl.h.
References llvm::TrailingObjects< AttributeSetNode, Attribute >::getTrailingObjects().
Referenced by end(), and getAsString().
|
inline |
|
static |
Definition at line 1316 of file Attributes.cpp.
References C(), getSorted(), and llvm::sort().
|
static |
Definition at line 1384 of file Attributes.cpp.
References B(), C(), and getSorted().
Referenced by llvm::AttributeSet::get(), and llvm::AttributeSet::get().
| MaybeAlign AttributeSetNode::getAlignment | ( | ) | const |
Definition at line 1419 of file Attributes.cpp.
References A().
| AllocFnKind AttributeSetNode::getAllocKind | ( | ) | const |
Definition at line 1480 of file Attributes.cpp.
References A(), and llvm::Unknown.
| std::optional< std::pair< unsigned, std::optional< unsigned > > > AttributeSetNode::getAllocSizeArgs | ( | ) | const |
Definition at line 1456 of file Attributes.cpp.
References A().
| std::string AttributeSetNode::getAsString | ( | bool | InAttrGrp | ) | const |
Definition at line 1504 of file Attributes.cpp.
| Attribute AttributeSetNode::getAttribute | ( | Attribute::AttrKind | Kind | ) | const |
Definition at line 1409 of file Attributes.cpp.
References A().
Definition at line 1415 of file Attributes.cpp.
| Type * AttributeSetNode::getAttributeType | ( | Attribute::AttrKind | Kind | ) | const |
Definition at line 1431 of file Attributes.cpp.
References A().
| CaptureInfo AttributeSetNode::getCaptureInfo | ( | ) | const |
Definition at line 1492 of file Attributes.cpp.
References A(), and llvm::CaptureInfo::all().
| DeadOnReturnInfo AttributeSetNode::getDeadOnReturnInfo | ( | ) | const |
Definition at line 1443 of file Attributes.cpp.
References A().
| uint64_t AttributeSetNode::getDereferenceableBytes | ( | ) | const |
Definition at line 1437 of file Attributes.cpp.
References A().
| uint64_t AttributeSetNode::getDereferenceableOrNullBytes | ( | ) | const |
Definition at line 1449 of file Attributes.cpp.
References A().
Definition at line 316 of file AttributeImpl.h.
References llvm::TrailingObjects< AttributeSetNode, Attribute >::getTrailingObjects().
| MemoryEffects AttributeSetNode::getMemoryEffects | ( | ) | const |
Definition at line 1486 of file Attributes.cpp.
References A(), and llvm::MemoryEffectsBase< IRMemLocation >::unknown().
| FPClassTest AttributeSetNode::getNoFPClass | ( | ) | const |
Definition at line 1498 of file Attributes.cpp.
References A(), and llvm::fcNone.
|
inline |
Return the number of attributes this AttributeList contains.
Definition at line 285 of file AttributeImpl.h.
|
static |
Definition at line 1360 of file Attributes.cpp.
References assert(), C(), llvm::ArrayRef< T >::empty(), isSortedAndUnique(), llvm::ArrayRef< T >::size(), and llvm::TrailingObjects< AttributeSetNode, Attribute >::totalSizeToAlloc().
Referenced by llvm::AttributeSet::addSortedAttributes(), get(), and get().
| MaybeAlign AttributeSetNode::getStackAlignment | ( | ) | const |
Definition at line 1425 of file Attributes.cpp.
References A().
| UWTableKind AttributeSetNode::getUWTableKind | ( | ) | const |
Definition at line 1474 of file Attributes.cpp.
References A(), and llvm::None.
| std::optional< unsigned > AttributeSetNode::getVScaleRangeMax | ( | ) | const |
Definition at line 1468 of file Attributes.cpp.
References A().
| unsigned AttributeSetNode::getVScaleRangeMin | ( | ) | const |
Definition at line 1462 of file Attributes.cpp.
References A().
|
inline |
Definition at line 424 of file Attributes.h.
Definition at line 1388 of file Attributes.cpp.
|
inline |
Definition at line 289 of file AttributeImpl.h.
|
inline |
Definition at line 275 of file AttributeImpl.h.
|
delete |