Lines Matching refs:AttrSet
957 AttributeSet AttrSet, bool ForceReplace, in addIfNotExistent() argument
962 if (AttrSet.hasAttribute(Kind)) in addIfNotExistent()
969 if (AttrSet.hasAttribute(Kind)) { in addIfNotExistent()
979 MemoryEffects ME = Attr.getMemoryEffects() & AttrSet.getMemoryEffects(); in addIfNotExistent()
980 if (ME == AttrSet.getMemoryEffects()) in addIfNotExistent()
985 if (AttrSet.hasAttribute(Kind)) { in addIfNotExistent()
986 if (!ForceReplace && isEqualOrWorse(Attr, AttrSet.getAttribute(Kind))) in addIfNotExistent()
1162 auto HasAttrCB = [&](const Attribute::AttrKind &Kind, AttributeSet AttrSet, in hasAttr()
1164 if (AttrSet.hasAttribute(Kind)) { in hasAttr()
1203 AttributeSet AttrSet, AttributeMask &, in getAttrs()
1205 if (AttrSet.hasAttribute(Kind)) in getAttrs()
1206 Attrs.push_back(AttrSet.getAttribute(Kind)); in getAttrs()
1223 auto RemoveAttrCB = [&](const Attribute::AttrKind &Kind, AttributeSet AttrSet, in removeAttrs() argument
1225 if (!AttrSet.hasAttribute(Kind)) in removeAttrs()
1235 auto RemoveAttrCB = [&](StringRef Attr, AttributeSet AttrSet, in removeAttrs() argument
1237 if (!AttrSet.hasAttribute(Attr)) in removeAttrs()
1250 auto AddAttrCB = [&](const Attribute &Attr, AttributeSet AttrSet, in manifestAttrs() argument
1252 return addIfNotExistent(Ctx, Attr, AttrSet, ForceReplace, AB); in manifestAttrs()