Lines Matching refs:Attribute
74 /// hasNonNullAttr - Return true if this argument has the nonnull attribute on
80 hasAttribute(getArgNo()+1, Attribute::NonNull))
88 /// hasByValAttr - Return true if this argument has the byval attribute on it
93 hasAttribute(getArgNo()+1, Attribute::ByVal);
96 /// \brief Return true if this argument has the inalloca attribute on it in
101 hasAttribute(getArgNo()+1, Attribute::InAlloca);
107 return Attrs.hasAttribute(getArgNo() + 1, Attribute::ByVal) ||
108 Attrs.hasAttribute(getArgNo() + 1, Attribute::InAlloca);
129 /// hasNestAttr - Return true if this argument has the nest attribute on
134 hasAttribute(getArgNo()+1, Attribute::Nest);
137 /// hasNoAliasAttr - Return true if this argument has the noalias attribute on
142 hasAttribute(getArgNo()+1, Attribute::NoAlias);
145 /// hasNoCaptureAttr - Return true if this argument has the nocapture attribute
150 hasAttribute(getArgNo()+1, Attribute::NoCapture);
153 /// hasSRetAttr - Return true if this argument has the sret attribute on
158 hasAttribute(getArgNo()+1, Attribute::StructRet);
161 /// hasReturnedAttr - Return true if this argument has the returned attribute on
165 hasAttribute(getArgNo()+1, Attribute::Returned);
168 /// hasZExtAttr - Return true if this argument has the zext attribute on it in
172 hasAttribute(getArgNo()+1, Attribute::ZExt);
175 /// hasSExtAttr Return true if this argument has the sext attribute on it in its
179 hasAttribute(getArgNo()+1, Attribute::SExt);
182 /// Return true if this argument has the readonly or readnone attribute on it
186 hasAttribute(getArgNo()+1, Attribute::ReadOnly) ||
188 hasAttribute(getArgNo()+1, Attribute::ReadNone);
194 "Trying to add more than one attribute set to an argument!");
204 "Trying to remove more than one attribute set from an argument!");
339 void Function::addAttribute(unsigned i, Attribute::AttrKind attr) {
932 if (CS && CS.hasFnAttr(Attribute::ReturnsTwice))