Home
last modified time | relevance | path

Searched refs:doesNotThrow (Results 1 – 25 of 35) 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.cpp570 if (!CI || CI->doesNotThrow()) in HandleCallsInBlockInlinedThroughInvoke()
992 if (CalledFn && CalledFn->isIntrinsic() && I->doesNotThrow() && in PropagateOperandBundles()
2534 bool MarkNoUnwind = CB.doesNotThrow(); in InlineFunction()
2959 if (MarkNoUnwind && !CI->doesNotThrow()) in InlineFunction()
H A DBuildLibCalls.cpp145 if (F.doesNotThrow()) in setDoesNotThrow()
H A DLocal.cpp3133 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.cpp75 if (F->doesNotThrow()) in mayThrow()
H A DWebAssemblyRegStackify.cpp150 if (!F->doesNotThrow()) in queryCallee()
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp397 return !F->doesNotThrow(); in canThrow()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h594 bool doesNotThrow() const { in doesNotThrow() function
682 return hasUWTable() || !doesNotThrow() || hasPersonalityFn(); in needsUnwindTableEntry()
H A DInstrTypes.h1955 bool doesNotThrow() const { return hasFnAttr(Attribute::NoUnwind); }
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMustExecute.cpp425 F.doesNotThrow(); in findForwardJoinPoint()
503 if (!F.hasFnAttribute(Attribute::WillReturn) || !F.doesNotThrow()) { in findForwardJoinPoint()
H A DCaptureTracking.cpp282 if (Call->onlyReadsMemory() && Call->doesNotThrow() && Call->willReturn() && in DetermineUseCaptureKind()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DDwarfEHPrepare.cpp173 if (F.doesNotThrow()) in InsertUnwindResumeCalls()
H A DStackProtector.cpp595 if (CB->doesNotReturn() && !CB->doesNotThrow()) { in InsertStackProtectors()
H A DWinEHPrepare.cpp1153 (CalledFn && CalledFn->isIntrinsic() && CB->doesNotThrow())) in removeImplausibleInstructions()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DEHStreamer.cpp179 MarkedNoUnwind = F->doesNotThrow(); in callToNoUnwindFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp644 return !Call.doesNotThrow(); in isStateStoreNeeded()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp1268 if (F->onlyReadsMemory() && F->doesNotThrow() && F->willReturn() && in addArgumentAttrs()
2016 [](const Function &F) { return F.doesNotThrow(); }, in inferAttrsFromFunctionBodies()
H A DFunctionImport.cpp1687 if (FS->fflags().NoUnwind && !F->doesNotThrow()) in thinLTOFinalizeInModule()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp1290 return CB->use_empty() && CB->willReturn() && CB->doesNotThrow() && in isRemovable()
2415 getIntersectedInitRangeList(Args, CB->doesNotThrow()); in getInitializesArgMemLoc()
H A DMemCpyOptimizer.cpp272 if (Start->getFunction()->doesNotThrow()) in mayBeVisibleThroughUnwinding()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp1174 return !cast<CallInst>(this)->doesNotThrow(); in mayThrow()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1699 if (CI.getFunction()->doesNotThrow() && !CI.doesNotThrow()) { in visitCallInst()
4213 if (isa<InlineAsm>(Callee) && !Call.doesNotThrow()) { in visitCallBase()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1668 if (!CurFn->doesNotThrow()) in GenerateCode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp163 return mayWriteToMemory() || !Fn->doesNotThrow() || !Fn->willReturn(); in mayHaveSideEffects()

12