• Home
  • Raw
  • Download

Lines Matching refs:Attr

505       Attribute Attr = *II;  in Raw()  local
508 if (Attr.isStringAttribute()) continue; in Raw()
510 Attribute::AttrKind Kind = Attr.getKindAsEnum(); in Raw()
647 Attribute::AttrKind Attr) const { in addAttribute()
648 if (hasAttribute(Idx, Attr)) return *this; in addAttribute()
649 return addAttributes(C, Idx, AttributeSet::get(C, Idx, Attr)); in addAttribute()
709 Attribute::AttrKind Attr) const { in removeAttribute()
710 if (!hasAttribute(Idx, Attr)) return *this; in removeAttribute()
711 return removeAttributes(C, Idx, AttributeSet::get(C, Idx, Attr)); in removeAttribute()
810 bool AttributeSet::hasAttrSomewhere(Attribute::AttrKind Attr) const { in hasAttrSomewhere()
816 if (II->hasAttribute(Attr)) in hasAttrSomewhere()
951 AttrBuilder &AttrBuilder::addAttribute(Attribute Attr) { in addAttribute() argument
952 if (Attr.isStringAttribute()) { in addAttribute()
953 addAttribute(Attr.getKindAsString(), Attr.getValueAsString()); in addAttribute()
957 Attribute::AttrKind Kind = Attr.getKindAsEnum(); in addAttribute()
961 Alignment = Attr.getAlignment(); in addAttribute()
963 StackAlignment = Attr.getStackAlignment(); in addAttribute()
995 Attribute Attr = *I; in removeAttributes() local
996 if (Attr.isEnumAttribute() || Attr.isAlignAttribute()) { in removeAttributes()
1005 assert(Attr.isStringAttribute() && "Invalid attribute type!"); in removeAttributes()
1007 Iter = TargetDepAttrs.find(Attr.getKindAsString()); in removeAttributes()
1083 Attribute Attr = *I; in hasAttributes() local
1084 if (Attr.isEnumAttribute() || Attr.isAlignAttribute()) { in hasAttributes()
1088 assert(Attr.isStringAttribute() && "Invalid attribute kind!"); in hasAttributes()
1089 return TargetDepAttrs.find(Attr.getKindAsString())!=TargetDepAttrs.end(); in hasAttributes()