Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DEscapeEnumerator.cpp55 if (F.doesNotThrow()) in Next()
64 if (!CI->doesNotThrow() && !CI->isMustTailCall()) in Next()
H A DInlineFunction.cpp551 if (!CI || CI->doesNotThrow()) in HandleCallsInBlockInlinedThroughInvoke()
970 if (CalledFn && CalledFn->isIntrinsic() && I->doesNotThrow() && in PropagateOperandBundles()
2208 bool MarkNoUnwind = CB.doesNotThrow(); in InlineFunction()
2631 if (MarkNoUnwind && !CI->doesNotThrow()) in InlineFunction()
H A DBuildLibCalls.cpp101 if (F.doesNotThrow()) in setDoesNotThrow()
H A DLocal.cpp3092 if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(&F)) { in markAliveBlocks()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyUtilities.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyUtilities.cpp74 if (F->doesNotThrow()) in mayThrow()
H A DWebAssemblyRegStackify.cpp147 if (!F->doesNotThrow()) in queryCallee()
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp398 return !F->doesNotThrow(); in canThrow()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h586 bool doesNotThrow() const { in doesNotThrow() function
674 return hasUWTable() || !doesNotThrow() || hasPersonalityFn(); in needsUnwindTableEntry()
H A DInstrTypes.h2015 bool doesNotThrow() const { return hasFnAttr(Attribute::NoUnwind); }
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMustExecute.cpp417 F.doesNotThrow(); in findForwardJoinPoint()
495 if (!F.hasFnAttribute(Attribute::WillReturn) || !F.doesNotThrow()) { in findForwardJoinPoint()
H A DCaptureTracking.cpp293 if (Call->onlyReadsMemory() && Call->doesNotThrow() && in DetermineUseCaptureKind()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DDwarfEHPrepare.cpp174 if (F.doesNotThrow()) in InsertUnwindResumeCalls()
H A DStackProtector.cpp573 if (CB->doesNotReturn() && !CB->doesNotThrow()) { in InsertStackProtectors()
H A DWinEHPrepare.cpp1118 if (CalledFn && ((CalledFn->isIntrinsic() && CB->doesNotThrow()) || in removeImplausibleInstructions()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp888 if (F->onlyReadsMemory() && F->doesNotThrow() && in addArgumentAttrs()
1623 [](const Function &F) { return F.doesNotThrow(); }, in inferAttrsFromFunctionBodies()
H A DFunctionImport.cpp1522 if (FS->fflags().NoUnwind && !F->doesNotThrow()) in thinLTOFinalizeInModule()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DEHStreamer.cpp180 MarkedNoUnwind = F->doesNotThrow(); in callToNoUnwindFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp619 return !Call.doesNotThrow(); in isStateStoreNeeded()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp1099 return !cast<CallInst>(this)->doesNotThrow(); in mayThrow()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1519 if (CI.getFunction()->doesNotThrow() && !CI.doesNotThrow()) { in visitCallInst()
3915 if (isa<InlineAsm>(Callee) && !Call.doesNotThrow()) { in visitCallBase()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp269 if (Start->getFunction()->doesNotThrow()) in mayBeVisibleThroughUnwinding()
H A DDeadStoreElimination.cpp1141 return CB->use_empty() && CB->willReturn() && CB->doesNotThrow() && in isRemovable()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1595 if (!CurFn->doesNotThrow()) in GenerateCode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp153 return mayWriteToMemory() || !Fn->doesNotThrow() || !Fn->willReturn(); in mayHaveSideEffects()

12