Lines Matching refs:Attribute
220 return hasFnAttr(Attribute::ReadNone);
223 if (DoesNotAccessMemory) addFnAttr(Attribute::ReadNone);
224 else removeFnAttr(Attribute::ReadNone);
229 return doesNotAccessMemory() || hasFnAttr(Attribute::ReadOnly);
232 if (OnlyReadsMemory) addFnAttr(Attribute::ReadOnly);
233 else removeFnAttr(Attribute::ReadOnly | Attribute::ReadNone);
238 return hasFnAttr(Attribute::NoReturn);
241 if (DoesNotReturn) addFnAttr(Attribute::NoReturn);
242 else removeFnAttr(Attribute::NoReturn);
247 return hasFnAttr(Attribute::NoUnwind);
250 if (DoesNotThrow) addFnAttr(Attribute::NoUnwind);
251 else removeFnAttr(Attribute::NoUnwind);
257 return hasFnAttr(Attribute::UWTable);
261 addFnAttr(Attribute::UWTable);
263 removeFnAttr(Attribute::UWTable);
274 return paramHasAttr(1, Attribute::StructRet);
280 return paramHasAttr(n, Attribute::NoAlias);
283 if (DoesNotAlias) addAttribute(n, Attribute::NoAlias);
284 else removeAttribute(n, Attribute::NoAlias);
290 return paramHasAttr(n, Attribute::NoCapture);
293 if (DoesNotCapture) addAttribute(n, Attribute::NoCapture);
294 else removeAttribute(n, Attribute::NoCapture);