Lines Matching refs:Attribute
59 bool hasAttribute(Attribute::AttrKind A) const;
62 Attribute::AttrKind getKindAsEnum() const;
79 static void Profile(FoldingSetNodeID &ID, Attribute::AttrKind Kind, in Profile()
90 static uint64_t getAttrMask(Attribute::AttrKind Val);
102 Attribute::AttrKind Kind;
105 EnumAttributeImpl(AttrEntryKind ID, Attribute::AttrKind Kind) in EnumAttributeImpl()
109 EnumAttributeImpl(Attribute::AttrKind Kind) in EnumAttributeImpl()
112 Attribute::AttrKind getEnumKind() const { return Kind; } in getEnumKind()
120 IntAttributeImpl(Attribute::AttrKind Kind, uint64_t Val) in IntAttributeImpl()
122 assert((Kind == Attribute::Alignment || Kind == Attribute::StackAlignment || in IntAttributeImpl()
123 Kind == Attribute::Dereferenceable || in IntAttributeImpl()
124 Kind == Attribute::DereferenceableOrNull || in IntAttributeImpl()
125 Kind == Attribute::AllocSize) && in IntAttributeImpl()
151 private TrailingObjects<AttributeSetNode, Attribute> {
158 AttributeSetNode(ArrayRef<Attribute> Attrs) in AttributeSetNode()
160 static_assert(Attribute::EndAttrKinds <= sizeof(AvailableAttrs) * CHAR_BIT, in AttributeSetNode()
163 std::copy(Attrs.begin(), Attrs.end(), getTrailingObjects<Attribute>()); in AttributeSetNode()
165 for (Attribute I : *this) { in AttributeSetNode()
178 static AttributeSetNode *get(LLVMContext &C, ArrayRef<Attribute> Attrs);
183 bool hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute()
189 Attribute getAttribute(Attribute::AttrKind Kind) const;
190 Attribute getAttribute(StringRef Kind) const;
199 typedef const Attribute *iterator;
200 iterator begin() const { return getTrailingObjects<Attribute>(); } in begin()
206 static void Profile(FoldingSetNodeID &ID, ArrayRef<Attribute> AttrList) { in Profile()
245 static_assert(Attribute::EndAttrKinds <= in AttributeSetImpl()
268 for (Attribute I : *Node) { in AttributeSetImpl()
309 bool hasFnAttribute(Attribute::AttrKind Kind) const { in hasFnAttribute()