Home
last modified time | relevance | path

Searched refs:doesNotThrow (Results 1 – 25 of 25) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DPruneEH.cpp87 SCCMightUnwind |= !F->doesNotThrow(); in runImpl()
90 bool CheckUnwind = !SCCMightUnwind && !F->doesNotThrow(); in runImpl()
188 if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(F)) { in SimplifyFunction()
H A DFunctionAttrs.cpp714 if (F->onlyReadsMemory() && F->doesNotThrow() && in addArgumentAttrs()
1329 [](const Function &F) { return F.doesNotThrow(); }, in inferAttrsFromFunctionBodies()
H A DAttributorAttributes.cpp4154 if (F.onlyReadsMemory() && F.doesNotThrow() && in determineFunctionCaptureCapabilities()
4168 if (F.doesNotThrow() && F.getReturnType()->isVoidTy()) in determineFunctionCaptureCapabilities()
4173 if (F.doesNotThrow() && ArgNo >= 0) { in determineFunctionCaptureCapabilities()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DEscapeEnumerator.cpp55 if (F.doesNotThrow()) in Next()
64 if (!CI->doesNotThrow() && !CI->isMustTailCall()) in Next()
H A DInlineFunction.cpp549 if (!CI || CI->doesNotThrow()) in HandleCallsInBlockInlinedThroughInvoke()
1793 bool MarkNoUnwind = CB.doesNotThrow(); in InlineFunction()
2299 if (CalledFn && CalledFn->isIntrinsic() && I->doesNotThrow()) in InlineFunction()
H A DCodeExtractor.cpp874 if (oldFunction->doesNotThrow()) in constructFunction()
H A DBuildLibCalls.cpp91 if (F.doesNotThrow()) in setDoesNotThrow()
H A DLocal.cpp2320 } else if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(&F)) { in markAliveBlocks()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyUtilities.cpp71 if (F->doesNotThrow()) in mayThrow()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DFunction.h608 bool doesNotThrow() const { in doesNotThrow() function
689 return hasUWTable() || !doesNotThrow() || hasPersonalityFn(); in needsUnwindTableEntry()
H A DInstrTypes.h1846 bool doesNotThrow() const { return hasFnAttr(Attribute::NoUnwind); }
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DCaptureTracking.cpp247 if (Call->onlyReadsMemory() && Call->doesNotThrow() && in PointerMayBeCaptured()
H A DMustExecute.cpp515 F.doesNotThrow(); in findForwardJoinPoint()
593 if (!F.hasFnAttribute(Attribute::WillReturn) || !F.doesNotThrow()) { in findForwardJoinPoint()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DEHStreamer.cpp184 MarkedNoUnwind = F->doesNotThrow(); in callToNoUnwindFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86WinEHState.cpp623 return !Call.doesNotThrow(); in isStateStoreNeeded()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DInstruction.cpp654 return !CI->doesNotThrow(); in mayThrow()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp148 if (!F->doesNotThrow()) in queryCallee()
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp289 return !F->doesNotThrow(); in canThrow()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp792 if (CI.getFunction()->doesNotThrow() && !CI.doesNotThrow()) { in visitCallInst()
2326 if (isa<InlineAsm>(Callee) && !Call.doesNotThrow()) { in visitCallBase()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp975 if (CalledFn && ((CalledFn->isIntrinsic() && CB->doesNotThrow()) || in removeImplausibleInstructions()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp320 if (!Start->getFunction()->doesNotThrow() && in INITIALIZE_PASS_DEPENDENCY()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1395 if (!CurFn->doesNotThrow()) in GenerateCode()
H A DCGCall.cpp4397 if (CalleeFn && CalleeFn->isIntrinsic() && CalleeFn->doesNotThrow()) in getBundlesForFunclet()
H A DCGObjCMac.cpp4476 if (cast<llvm::CallBase>(I).doesNotThrow()) in emitHazardsInNewBlocks()
H A DCGOpenMPRuntime.cpp11937 if (Fn->doesNotThrow()) { in emitCall()