Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DEscapeEnumerator.cpp55 if (F.doesNotThrow()) in Next()
64 if (!CI->doesNotThrow() && !CI->isMustTailCall()) in Next()
H A DInlineFunction.cpp547 if (!CI || CI->doesNotThrow()) in HandleCallsInBlockInlinedThroughInvoke()
842 if (CalledFn && CalledFn->isIntrinsic() && I->doesNotThrow() && in PropagateOperandBundles()
1824 bool MarkNoUnwind = CB.doesNotThrow(); in InlineFunction()
2230 if (MarkNoUnwind && !CI->doesNotThrow()) in InlineFunction()
H A DBuildLibCalls.cpp105 if (F.doesNotThrow()) in setDoesNotThrow()
H A DLocal.cpp2369 if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(&F)) { in markAliveBlocks()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DPruneEH.cpp84 SCCMightUnwind |= !F->doesNotThrow(); in runImpl()
87 bool CheckUnwind = !SCCMightUnwind && !F->doesNotThrow(); in runImpl()
185 if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(F)) { in SimplifyFunction()
H A DFunctionAttrs.cpp932 if (F->onlyReadsMemory() && F->doesNotThrow() && in addArgumentAttrs()
1549 [](const Function &F) { return F.doesNotThrow(); }, in inferAttrsFromFunctionBodies()
H A DFunctionImport.cpp1073 if (FS->fflags().NoUnwind && !F->doesNotThrow()) in thinLTOFinalizeInModule()
H A DAttributorAttributes.cpp4997 if (F.onlyReadsMemory() && F.doesNotThrow() && in determineFunctionCaptureCapabilities()
5011 if (F.doesNotThrow() && F.getReturnType()->isVoidTy()) in determineFunctionCaptureCapabilities()
5016 if (F.doesNotThrow() && ArgNo >= 0) { in determineFunctionCaptureCapabilities()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyUtilities.cpp96 if (F->doesNotThrow()) in mayThrow()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DFunction.h555 bool doesNotThrow() const { in doesNotThrow() function
640 return hasUWTable() || !doesNotThrow() || hasPersonalityFn(); in needsUnwindTableEntry()
H A DInstrTypes.h1899 bool doesNotThrow() const { return hasFnAttr(Attribute::NoUnwind); }
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMustExecute.cpp512 F.doesNotThrow(); in findForwardJoinPoint()
590 if (!F.hasFnAttribute(Attribute::WillReturn) || !F.doesNotThrow()) { in findForwardJoinPoint()
H A DCaptureTracking.cpp323 if (Call->onlyReadsMemory() && Call->doesNotThrow() && in DetermineUseCaptureKind()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DDwarfEHPrepare.cpp172 if (F.doesNotThrow()) in InsertUnwindResumeCalls()
H A DWinEHPrepare.cpp972 if (CalledFn && ((CalledFn->isIntrinsic() && CB->doesNotThrow()) || in removeImplausibleInstructions()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DEHStreamer.cpp181 MarkedNoUnwind = F->doesNotThrow(); in callToNoUnwindFunction()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86WinEHState.cpp623 return !Call.doesNotThrow(); in isStateStoreNeeded()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp147 if (!F->doesNotThrow()) in queryCallee()
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp403 return !F->doesNotThrow(); in canThrow()
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstruction.cpp687 return !CI->doesNotThrow(); in mayThrow()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1148 if (CI.getFunction()->doesNotThrow() && !CI.doesNotThrow()) { in visitCallInst()
3052 if (isa<InlineAsm>(Callee) && !Call.doesNotThrow()) { in visitCallBase()
H A DInstructionCombining.cpp2721 if (!CB.willReturn() || !CB.doesNotThrow()) in isRemovableWrite()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp312 if (Start->getFunction()->doesNotThrow()) in INITIALIZE_PASS_DEPENDENCY()
H A DDeadStoreElimination.cpp1022 return CB->use_empty() && CB->willReturn() && CB->doesNotThrow() && in isRemovable()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1469 if (!CurFn->doesNotThrow()) in GenerateCode()

12