Searched refs:hasFnAttr (Results 1 – 13 of 13) sorted by relevance
102 CS.hasFnAttr(Attribute::AlwaysInline) && in getInlineCost()
1626 bool hasFnAttr(Attribute::AttrKind A) const {1633 bool hasFnAttr(StringRef A) const {1687 bool isNoInline() const { return hasFnAttr(Attribute::NoInline); }1694 return hasFnAttr(Attribute::ReturnsTwice);1702 return hasFnAttr(Attribute::ReadNone);1710 return doesNotAccessMemory() || hasFnAttr(Attribute::ReadOnly);1719 return hasFnAttr(Attribute::ArgMemOnly);1726 bool doesNotReturn() const { return hasFnAttr(Attribute::NoReturn); }1732 bool doesNotThrow() const { return hasFnAttr(Attribute::NoUnwind); }1738 bool cannotDuplicate() const {return hasFnAttr(Attribute::NoDuplicate); }[all …]
258 bool hasFnAttr(Attribute::AttrKind A) const { in hasFnAttr() function259 CALLSITE_DELEGATE_GETTER(hasFnAttr(A)); in hasFnAttr()
179 if (CS.hasFnAttr(Attribute::Convergent)) in isSafeToMove()
511 if (CS.hasFnAttr(Attribute::Convergent)) in processCurrentLoop()
761 if (CS.hasFnAttr(Attribute::ReturnsTwice) && in visitCallSite()1378 if (CS.hasFnAttr(Attribute::AlwaysInline)) { in getInlineCost()
268 if (CI->hasFnAttr(Attribute::Cold)) { in calcColdCallHeuristics()
147 return CS && CS.hasFnAttr(Attribute::NoAlias); in hasNoAliasAttr()
1536 CI->hasFnAttr(Attribute::NoUnwind) && CI->hasFnAttr(Attribute::ReadNone); in isTrigLibCall()1733 if (!CI->hasFnAttr(Attribute::Cold) && in optimizeErrorReporting()
932 if (CS && CS.hasFnAttr(Attribute::ReturnsTwice)) in callsFunctionThatReturnsTwice()
1375 Call->hasFnAttr("trap-func-name")) in selectInstruction()
3530 !CS.hasFnAttr(llvm::Attribute::NoInline)) in EmitCall()
715 return CS->hasFnAttr(Attribute::ReturnsTwice); in hasReturnsTwiceAttr()