Lines Matching refs:AttrKind
81 Attribute Attribute::get(LLVMContext &Context, Attribute::AttrKind Kind, in get()
128 Attribute Attribute::get(LLVMContext &Context, Attribute::AttrKind Kind, in get()
195 Attribute::AttrKind Attribute::getAttrKindFromName(StringRef AttrName) { in getAttrKindFromName()
196 return StringSwitch<Attribute::AttrKind>(AttrName) in getAttrKindFromName()
204 StringRef Attribute::getNameFromAttrKind(Attribute::AttrKind AttrKind) { in getNameFromAttrKind() argument
205 switch (AttrKind) { in getNameFromAttrKind()
218 bool Attribute::doesAttrKindHaveArgument(Attribute::AttrKind AttrKind) { in doesAttrKindHaveArgument() argument
219 return AttrKind == Attribute::Alignment || in doesAttrKindHaveArgument()
220 AttrKind == Attribute::StackAlignment || in doesAttrKindHaveArgument()
221 AttrKind == Attribute::Dereferenceable || in doesAttrKindHaveArgument()
222 AttrKind == Attribute::AllocSize || in doesAttrKindHaveArgument()
223 AttrKind == Attribute::DereferenceableOrNull; in doesAttrKindHaveArgument()
254 Attribute::AttrKind Attribute::getKindAsEnum() const { in getKindAsEnum()
290 bool Attribute::hasAttribute(AttrKind Kind) const { in hasAttribute()
575 bool AttributeImpl::hasAttribute(Attribute::AttrKind A) const { in hasAttribute()
585 Attribute::AttrKind AttributeImpl::getKindAsEnum() const { in getKindAsEnum()
666 Attribute::AttrKind Kind) const { in addAttribute()
696 Attribute::AttrKind Kind) const { in removeAttribute()
722 bool AttributeSet::hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute()
730 Attribute AttributeSet::getAttribute(Attribute::AttrKind Kind) const { in getAttribute()
852 for (Attribute::AttrKind Kind = Attribute::None; in get()
853 Kind != Attribute::EndAttrKinds; Kind = Attribute::AttrKind(Kind + 1)) { in get()
910 AttributeSetNode::findEnumAttribute(Attribute::AttrKind Kind) const { in findEnumAttribute()
919 [](Attribute A, Attribute::AttrKind Kind) { in findEnumAttribute()
926 Attribute AttributeSetNode::getAttribute(Attribute::AttrKind Kind) const { in getAttribute()
1040 bool AttributeListImpl::hasAttrSomewhere(Attribute::AttrKind Kind, in hasAttrSomewhere()
1216 ArrayRef<Attribute::AttrKind> Kinds) { in get()
1224 ArrayRef<Attribute::AttrKind> Kinds, in get()
1269 Attribute::AttrKind Kind) const { in addAttribute()
1341 Attribute::AttrKind Kind) const { in removeAttribute()
1436 Attribute::AttrKind Kind) const { in hasAttribute()
1448 bool AttributeList::hasFnAttribute(Attribute::AttrKind Kind) const { in hasFnAttribute()
1457 Attribute::AttrKind Kind) const { in hasParamAttribute()
1461 bool AttributeList::hasAttrSomewhere(Attribute::AttrKind Attr, in hasAttrSomewhere()
1467 Attribute::AttrKind Kind) const { in getAttribute()
1591 Attribute::AttrKind Kind = Attr.getKindAsEnum(); in addAttribute()
1620 AttrBuilder &AttrBuilder::removeAttribute(Attribute::AttrKind Val) { in removeAttribute()
2043 Attribute::AttrKind Kind) { in isSet()
2048 Attribute::AttrKind Kind, bool Val) { in set()
2072 static enum Attribute::AttrKind getKind() { \