Searched refs:hasFnAttr (Results 1 – 23 of 23) sorted by relevance
1391 bool hasFnAttr(Attribute::AttrKind Kind) const {1398 bool hasFnAttr(StringRef Kind) const { return hasFnAttrImpl(Kind); }1653 bool isStrictFP() const { return hasFnAttr(Attribute::StrictFP); }1656 bool isNoInline() const { return hasFnAttr(Attribute::NoInline); }1661 bool doesNotAccessMemory() const { return hasFnAttr(Attribute::ReadNone); }1668 return doesNotAccessMemory() || hasFnAttr(Attribute::ReadOnly);1676 return doesNotAccessMemory() || hasFnAttr(Attribute::WriteOnly);1685 return hasFnAttr(Attribute::ArgMemOnly);1694 return hasFnAttr(Attribute::InaccessibleMemOnly);1703 return hasFnAttr(Attribute::InaccessibleMemOrArgMemOnly);[all …]
370 bool hasFnAttr(Attribute::AttrKind Kind) const { in hasFnAttr() function371 CALLSITE_DELEGATE_GETTER(hasFnAttr(Kind)); in hasFnAttr()375 bool hasFnAttr(StringRef Kind) const { in hasFnAttr() function376 CALLSITE_DELEGATE_GETTER(hasFnAttr(Kind)); in hasFnAttr()
1669 bool canReturnTwice() const { return hasFnAttr(Attribute::ReturnsTwice); }3837 bool doesNoCfCheck() const { return hasFnAttr(Attribute::NoCfCheck); }3840 bool doesNotThrow() const { return hasFnAttr(Attribute::NoUnwind); }
266 if (!I->hasFnAttr(Attribute::StrictFP)) in setConstrainedFPCallAttr()
151 if (!CB->hasFnAttr(Attribute::WillReturn)) in isSafeToMoveBefore()153 if (!CB->hasFnAttr(Attribute::NoSync)) in isSafeToMoveBefore()
2115 return CI->hasFnAttr(Attribute::NoUnwind) && in isTrigLibCall()2116 CI->hasFnAttr(Attribute::ReadNone); in isTrigLibCall()2346 if (!CI->hasFnAttr(Attribute::Cold) && in optimizeErrorReporting()
2535 if (Call->hasFnAttr("gc-leaf-function")) in callsGCLeafFunction()
166 if (!CS.hasFnAttr(Attribute::AlwaysInline)) in getInlineCost()
114 if (CS.hasFnAttr(Attribute::Cold) && !CS->getMetadata("nosanitize")) in unlikelyExecuted()122 if (CI->hasFnAttr(Attribute::NoReturn)) in unlikelyExecuted()
1487 if (ICS.hasFnAttr(Attribute::NoSync)) in updateImpl()1565 if (ICS.hasFnAttr(Attribute::NoFree)) in updateImpl()1965 if (ICS.hasFnAttr(Attribute::NoRecurse)) in updateImpl()6070 bool UnwindBBIsDead = II->hasFnAttr(Attribute::NoUnwind); in run()6071 bool NormalBBIsDead = II->hasFnAttr(Attribute::NoReturn); in run()
270 if (CB && CB->isIndirectCall() && !CB->hasFnAttr("guard_nocf")) { in runOnFunction()
191 if (CS.hasFnAttr(Attribute::AlwaysInline)) { in getInlineCost()
1478 if (Call.hasFnAttr(Attribute::ReturnsTwice) && in visitCallBase()2141 if (Call.hasFnAttr(Attribute::AlwaysInline)) { in getInlineCost()
208 if (CI->hasFnAttr(Attribute::Cold)) in computePostDominatedByColdCall()
4446 if (CS.hasFnAttr(Attribute::WillReturn)) in isGuaranteedToTransferExecutionToSuccessor()
711 if (CS.hasFnAttr(Attribute::AlwaysInline) && isInlineViable(*Callee)) in ShouldInlinePointerAddress()
1946 if (!OptForSize && CI->hasFnAttr(Attribute::Cold)) in optimizeCallInst()4588 if (!OptForSize && CI->hasFnAttr(Attribute::Cold)) in FindAllMemoryUses()
1478 if (Call->hasFnAttr(Attribute::ReturnsTwice)) in callsFunctionThatReturnsTwice()
1400 if (Call->hasFnAttr(DeoptLowering)) { in getDeoptLowering()
1630 Call->hasFnAttr("trap-func-name")) in selectInstruction()
3201 if ((CI && CI->hasFnAttr("no_caller_saved_registers")) || in fastLowerCall()
3801 bool HasNCSR = (CI && CI->hasFnAttr("no_caller_saved_registers")) || in LowerCall()
697 return CS.hasFnAttr(Attribute::ReturnsTwice); in hasReturnsTwiceAttr()