Lines Matching refs:hasAttribute

333 bool Attribute::hasAttribute(AttrKind Kind) const {  in hasAttribute()  function in Attribute
334 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None); in hasAttribute()
337 bool Attribute::hasAttribute(StringRef Kind) const { in hasAttribute() function in Attribute
339 return pImpl && pImpl->hasAttribute(Kind); in hasAttribute()
343 assert(hasAttribute(Attribute::Alignment) && in getAlignment()
349 assert(hasAttribute(Attribute::StackAlignment) && in getStackAlignment()
355 assert(hasAttribute(Attribute::Dereferenceable) && in getDereferenceableBytes()
362 assert(hasAttribute(Attribute::DereferenceableOrNull) && in getDereferenceableOrNullBytes()
370 assert(hasAttribute(Attribute::AllocSize) && in getAllocSizeArgs()
376 assert(hasAttribute(Attribute::VScaleRange) && in getVScaleRangeMin()
382 assert(hasAttribute(Attribute::VScaleRange) && in getVScaleRangeMax()
388 assert(hasAttribute(Attribute::UWTable) && in getUWTableKind()
394 assert(hasAttribute(Attribute::AllocKind) && in getAllocKind()
400 assert(hasAttribute(Attribute::Memory) && in getMemoryEffects()
406 assert(hasAttribute(Attribute::NoFPClass) && in getNoFPClass()
446 if (hasAttribute(Attribute::Alignment)) in getAsString()
457 if (hasAttribute(Attribute::StackAlignment)) in getAsString()
460 if (hasAttribute(Attribute::Dereferenceable)) in getAsString()
463 if (hasAttribute(Attribute::DereferenceableOrNull)) in getAsString()
466 if (hasAttribute(Attribute::AllocSize)) { in getAsString()
477 if (hasAttribute(Attribute::VScaleRange)) { in getAsString()
485 if (hasAttribute(Attribute::UWTable)) { in getAsString()
496 if (hasAttribute(Attribute::AllocKind)) { in getAsString()
516 if (hasAttribute(Attribute::Memory)) { in getAsString()
558 if (hasAttribute(Attribute::NoFPClass)) { in getAsString()
643 bool AttributeImpl::hasAttribute(Attribute::AttrKind A) const { in hasAttribute() function in AttributeImpl
648 bool AttributeImpl::hasAttribute(StringRef Kind) const { in hasAttribute() function in AttributeImpl
722 if (hasAttribute(Kind)) return *this; in addAttribute()
750 if (!hasAttribute(Kind)) return *this; in removeAttribute()
758 if (!hasAttribute(Kind)) return *this; in removeAttribute()
779 bool AttributeSet::hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function in AttributeSet
780 return SetNode ? SetNode->hasAttribute(Kind) : false; in hasAttribute()
783 bool AttributeSet::hasAttribute(StringRef Kind) const { in hasAttribute() function in AttributeSet
784 return SetNode ? SetNode->hasAttribute(Kind) : false; in hasAttribute()
952 bool AttributeSetNode::hasAttribute(StringRef Kind) const { in hasAttribute() function in AttributeSetNode
959 if (!hasAttribute(Kind)) in findEnumAttribute()
969 assert(I != end() && I->hasAttribute(Kind) && "Presence check failed?"); in findEnumAttribute()
1107 if (!AvailableSomewhereAttrs.hasAttribute(Kind)) in hasAttrSomewhere()
1112 if (begin()[I].hasAttribute(Kind)) { in hasAttrSomewhere()
1334 if (Attrs.hasAttribute(Kind)) in addAttributeAtIndex()
1497 return getAttributes(Index).hasAttribute(Kind); in hasAttributeAtIndex()
1501 return getAttributes(Index).hasAttribute(Kind); in hasAttributeAtIndex()
1717 if (It != Attrs.end() && It->hasAttribute(Kind)) in addAttributeImpl()
1744 if (It != Attrs.end() && It->hasAttribute(Val)) in removeAttribute()
1751 if (It != Attrs.end() && It->hasAttribute(A)) in removeAttribute()
1904 if (It != Attrs.end() && It->hasAttribute(A)) in getAttribute()
1911 if (It != Attrs.end() && It->hasAttribute(A)) in getAttribute()