Home
last modified time | relevance | path

Searched refs:hasFnAttr (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstrTypes.h1391 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 …]
DCallSite.h370 bool hasFnAttr(Attribute::AttrKind Kind) const { in hasFnAttr() function
371 CALLSITE_DELEGATE_GETTER(hasFnAttr(Kind)); in hasFnAttr()
375 bool hasFnAttr(StringRef Kind) const { in hasFnAttr() function
376 CALLSITE_DELEGATE_GETTER(hasFnAttr(Kind)); in hasFnAttr()
DInstructions.h1669 bool canReturnTwice() const { return hasFnAttr(Attribute::ReturnsTwice); }
3837 bool doesNoCfCheck() const { return hasFnAttr(Attribute::NoCfCheck); }
3840 bool doesNotThrow() const { return hasFnAttr(Attribute::NoUnwind); }
DIRBuilder.h266 if (!I->hasFnAttr(Attribute::StrictFP)) in setConstrainedFPCallAttr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCodeMoverUtils.cpp151 if (!CB->hasFnAttr(Attribute::WillReturn)) in isSafeToMoveBefore()
153 if (!CB->hasFnAttr(Attribute::NoSync)) in isSafeToMoveBefore()
DSimplifyLibCalls.cpp2115 return CI->hasFnAttr(Attribute::NoUnwind) && in isTrigLibCall()
2116 CI->hasFnAttr(Attribute::ReadNone); in isTrigLibCall()
2346 if (!CI->hasFnAttr(Attribute::Cold) && in optimizeErrorReporting()
DLocal.cpp2535 if (Call->hasFnAttr("gc-leaf-function")) in callsGCLeafFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DAlwaysInliner.cpp166 if (!CS.hasFnAttr(Attribute::AlwaysInline)) in getInlineCost()
DHotColdSplitting.cpp114 if (CS.hasFnAttr(Attribute::Cold) && !CS->getMetadata("nosanitize")) in unlikelyExecuted()
122 if (CI->hasFnAttr(Attribute::NoReturn)) in unlikelyExecuted()
DAttributor.cpp1487 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/CFGuard/
DCFGuard.cpp270 if (CB && CB->isIndirectCall() && !CB->hasFnAttr("guard_nocf")) { in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInline.cpp191 if (CS.hasFnAttr(Attribute::AlwaysInline)) { in getInlineCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInlineCost.cpp1478 if (Call.hasFnAttr(Attribute::ReturnsTwice) && in visitCallBase()
2141 if (Call.hasFnAttr(Attribute::AlwaysInline)) { in getInlineCost()
DBranchProbabilityInfo.cpp208 if (CI->hasFnAttr(Attribute::Cold)) in computePostDominatedByColdCall()
DValueTracking.cpp4446 if (CS.hasFnAttr(Attribute::WillReturn)) in isGuaranteedToTransferExecutionToSuccessor()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSafeStack.cpp711 if (CS.hasFnAttr(Attribute::AlwaysInline) && isInlineViable(*Callee)) in ShouldInlinePointerAddress()
DCodeGenPrepare.cpp1946 if (!OptForSize && CI->hasFnAttr(Attribute::Cold)) in optimizeCallInst()
4588 if (!OptForSize && CI->hasFnAttr(Attribute::Cold)) in FindAllMemoryUses()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DFunction.cpp1478 if (Call->hasFnAttr(Attribute::ReturnsTwice)) in callsFunctionThatReturnsTwice()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1400 if (Call->hasFnAttr(DeoptLowering)) { in getDeoptLowering()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1630 Call->hasFnAttr("trap-func-name")) in selectInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FastISel.cpp3201 if ((CI && CI->hasFnAttr("no_caller_saved_registers")) || in fastLowerCall()
DX86ISelLowering.cpp3801 bool HasNCSR = (CI && CI->hasFnAttr("no_caller_saved_registers")) || in LowerCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp697 return CS.hasFnAttr(Attribute::ReturnsTwice); in hasReturnsTwiceAttr()