LLVM 22.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 void | Profile (FoldingSetNodeID &ID, ArrayRef< Attribute > AttrList) |
This class represents a group of attributes that apply to one element: function, return type, or parameter.
Definition at line 293 of file AttributeImpl.h.
using llvm::AttributeSetNode::iterator = const Attribute * |
Definition at line 348 of file AttributeImpl.h.
|
delete |
|
inline |
Definition at line 350 of file AttributeImpl.h.
References llvm::TrailingObjects< AttributeSetNode, Attribute >::getTrailingObjects().
Referenced by end(), getAsString(), and Profile().
|
inline |
Definition at line 351 of file AttributeImpl.h.
References begin().
Referenced by getAsString(), and Profile().
|
static |
Definition at line 1267 of file Attributes.cpp.
References llvm::CallingConv::C, and llvm::sort().
|
static |
Definition at line 1304 of file Attributes.cpp.
References B(), and llvm::CallingConv::C.
Referenced by llvm::AttributeSet::get(), and llvm::AttributeSet::get().
MaybeAlign AttributeSetNode::getAlignment | ( | ) | const |
Definition at line 1339 of file Attributes.cpp.
References A().
AllocFnKind AttributeSetNode::getAllocKind | ( | ) | const |
Definition at line 1394 of file Attributes.cpp.
References A(), and llvm::Unknown.
std::optional< std::pair< unsigned, std::optional< unsigned > > > AttributeSetNode::getAllocSizeArgs | ( | ) | const |
Definition at line 1370 of file Attributes.cpp.
References A().
std::string AttributeSetNode::getAsString | ( | bool | InAttrGrp | ) | const |
Definition at line 1418 of file Attributes.cpp.
Attribute AttributeSetNode::getAttribute | ( | Attribute::AttrKind | Kind | ) | const |
Definition at line 1329 of file Attributes.cpp.
References A().
Definition at line 1335 of file Attributes.cpp.
Type * AttributeSetNode::getAttributeType | ( | Attribute::AttrKind | Kind | ) | const |
Definition at line 1351 of file Attributes.cpp.
References A().
CaptureInfo AttributeSetNode::getCaptureInfo | ( | ) | const |
Definition at line 1406 of file Attributes.cpp.
References A(), and llvm::CaptureInfo::all().
uint64_t AttributeSetNode::getDereferenceableBytes | ( | ) | const |
Definition at line 1357 of file Attributes.cpp.
References A().
uint64_t AttributeSetNode::getDereferenceableOrNullBytes | ( | ) | const |
Definition at line 1363 of file Attributes.cpp.
References A().
MemoryEffects AttributeSetNode::getMemoryEffects | ( | ) | const |
Definition at line 1400 of file Attributes.cpp.
References A(), and llvm::MemoryEffectsBase< IRMemLocation >::unknown().
FPClassTest AttributeSetNode::getNoFPClass | ( | ) | const |
Definition at line 1412 of file Attributes.cpp.
References A(), and llvm::fcNone.
|
inline |
Return the number of attributes this AttributeList contains.
Definition at line 321 of file AttributeImpl.h.
MaybeAlign AttributeSetNode::getStackAlignment | ( | ) | const |
Definition at line 1345 of file Attributes.cpp.
References A().
UWTableKind AttributeSetNode::getUWTableKind | ( | ) | const |
Definition at line 1388 of file Attributes.cpp.
References A(), and llvm::None.
std::optional< unsigned > AttributeSetNode::getVScaleRangeMax | ( | ) | const |
Definition at line 1382 of file Attributes.cpp.
References A().
unsigned AttributeSetNode::getVScaleRangeMin | ( | ) | const |
Definition at line 1376 of file Attributes.cpp.
References A().
|
inline |
Definition at line 323 of file AttributeImpl.h.
Definition at line 1308 of file Attributes.cpp.
|
inline |
Definition at line 327 of file AttributeImpl.h.
|
inline |
Definition at line 314 of file AttributeImpl.h.
|
delete |
|
inline |
Definition at line 353 of file AttributeImpl.h.
References llvm::ArrayRef(), begin(), end(), and Profile.
|
inlinestatic |
Definition at line 357 of file AttributeImpl.h.