Lines Matching refs:hasAttribute

426 bool Attribute::hasAttribute(AttrKind Kind) const {  in hasAttribute()  function in Attribute
427 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None); in hasAttribute()
430 bool Attribute::hasAttribute(StringRef Kind) const { in hasAttribute() function in Attribute
432 return pImpl && pImpl->hasAttribute(Kind); in hasAttribute()
436 assert(hasAttribute(Attribute::Alignment) && in getAlignment()
442 assert(hasAttribute(Attribute::StackAlignment) && in getStackAlignment()
448 assert(hasAttribute(Attribute::Dereferenceable) && in getDereferenceableBytes()
455 assert(hasAttribute(Attribute::DereferenceableOrNull) && in getDereferenceableOrNullBytes()
463 assert(hasAttribute(Attribute::AllocSize) && in getAllocSizeArgs()
469 assert(hasAttribute(Attribute::VScaleRange) && in getVScaleRangeMin()
475 assert(hasAttribute(Attribute::VScaleRange) && in getVScaleRangeMax()
481 assert(hasAttribute(Attribute::UWTable) && in getUWTableKind()
487 assert(hasAttribute(Attribute::AllocKind) && in getAllocKind()
493 assert(hasAttribute(Attribute::Memory) && in getMemoryEffects()
499 assert(hasAttribute(Attribute::Captures) && in getCaptureInfo()
505 assert(hasAttribute(Attribute::NoFPClass) && in getNoFPClass()
511 assert(hasAttribute(Attribute::Range) && in getRange()
517 assert(hasAttribute(Attribute::Initializes) && in getInitializes()
557 if (hasAttribute(Attribute::Alignment)) in getAsString()
568 if (hasAttribute(Attribute::StackAlignment)) in getAsString()
571 if (hasAttribute(Attribute::Dereferenceable)) in getAsString()
574 if (hasAttribute(Attribute::DereferenceableOrNull)) in getAsString()
577 if (hasAttribute(Attribute::AllocSize)) { in getAsString()
588 if (hasAttribute(Attribute::VScaleRange)) { in getAsString()
596 if (hasAttribute(Attribute::UWTable)) { in getAsString()
602 if (hasAttribute(Attribute::AllocKind)) { in getAsString()
622 if (hasAttribute(Attribute::Memory)) { in getAsString()
667 if (hasAttribute(Attribute::Captures)) { in getAsString()
674 if (hasAttribute(Attribute::NoFPClass)) { in getAsString()
681 if (hasAttribute(Attribute::Range)) { in getAsString()
693 if (hasAttribute(Attribute::Initializes)) { in getAsString()
825 bool AttributeImpl::hasAttribute(Attribute::AttrKind A) const { in hasAttribute() function in AttributeImpl
830 bool AttributeImpl::hasAttribute(StringRef Kind) const { in hasAttribute() function in AttributeImpl
931 if (hasAttribute(Kind)) return *this; in addAttribute()
959 if (!hasAttribute(Kind)) return *this; in removeAttribute()
967 if (!hasAttribute(Kind)) return *this; in removeAttribute()
1118 bool AttributeSet::hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute() function in AttributeSet
1119 return SetNode ? SetNode->hasAttribute(Kind) : false; in hasAttribute()
1122 bool AttributeSet::hasAttribute(StringRef Kind) const { in hasAttribute() function in AttributeSet
1123 return SetNode ? SetNode->hasAttribute(Kind) : false; in hasAttribute()
1295 bool AttributeSetNode::hasAttribute(StringRef Kind) const { in hasAttribute() function in AttributeSetNode
1302 if (!hasAttribute(Kind)) in findEnumAttribute()
1312 assert(I != end() && I->hasAttribute(Kind) && "Presence check failed?"); in findEnumAttribute()
1456 if (!AvailableSomewhereAttrs.hasAttribute(Kind)) in hasAttrSomewhere()
1461 if (begin()[I].hasAttribute(Kind)) { in hasAttrSomewhere()
1683 if (Attrs.hasAttribute(Kind)) in addAttributeAtIndex()
1877 return getAttributes(Index).hasAttribute(Kind); in hasAttributeAtIndex()
1881 return getAttributes(Index).hasAttribute(Kind); in hasAttributeAtIndex()
2105 if (It != Attrs.end() && It->hasAttribute(Kind)) in addAttributeImpl()
2132 if (It != Attrs.end() && It->hasAttribute(Val)) in removeAttribute()
2139 if (It != Attrs.end() && It->hasAttribute(A)) in removeAttribute()
2350 if (It != Attrs.end() && It->hasAttribute(A)) in getAttribute()
2357 if (It != Attrs.end() && It->hasAttribute(A)) in getAttribute()