Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DEscapeEnumerator.cpp55 if (F.doesNotThrow()) in Next()
64 if (!CI->doesNotThrow() && !CI->isMustTailCall()) in Next()
H A DInlineFunction.cpp550 if (!CI || CI->doesNotThrow()) in HandleCallsInBlockInlinedThroughInvoke()
972 if (CalledFn && CalledFn->isIntrinsic() && I->doesNotThrow() && in PropagateOperandBundles()
2049 bool MarkNoUnwind = CB.doesNotThrow(); in InlineFunction()
2467 if (MarkNoUnwind && !CI->doesNotThrow()) in InlineFunction()
H A DBuildLibCalls.cpp101 if (F.doesNotThrow()) in setDoesNotThrow()
H A DLocal.cpp2477 if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(&F)) { in markAliveBlocks()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyUtilities.cpp96 if (F->doesNotThrow()) in mayThrow()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DFunction.h535 bool doesNotThrow() const { in doesNotThrow() function
620 return hasUWTable() || !doesNotThrow() || hasPersonalityFn(); in needsUnwindTableEntry()
H A DInstrTypes.h1899 bool doesNotThrow() const { return hasFnAttr(Attribute::NoUnwind); }
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DMustExecute.cpp522 F.doesNotThrow(); in findForwardJoinPoint()
600 if (!F.hasFnAttribute(Attribute::WillReturn) || !F.doesNotThrow()) { in findForwardJoinPoint()
H A DCaptureTracking.cpp308 if (Call->onlyReadsMemory() && Call->doesNotThrow() && in DetermineUseCaptureKind()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DDwarfEHPrepare.cpp172 if (F.doesNotThrow()) in InsertUnwindResumeCalls()
H A DStackProtector.cpp463 if (CB->doesNotReturn() && !CB->doesNotThrow()) { in InsertStackProtectors()
H A DWinEHPrepare.cpp969 if (CalledFn && ((CalledFn->isIntrinsic() && CB->doesNotThrow()) || in removeImplausibleInstructions()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp845 if (F->onlyReadsMemory() && F->doesNotThrow() && in addArgumentAttrs()
1462 [](const Function &F) { return F.doesNotThrow(); }, in inferAttrsFromFunctionBodies()
H A DFunctionImport.cpp1074 if (FS->fflags().NoUnwind && !F->doesNotThrow()) in thinLTOFinalizeInModule()
H A DAttributorAttributes.cpp5701 if (F.onlyReadsMemory() && F.doesNotThrow() && in determineFunctionCaptureCapabilities()
5715 if (F.doesNotThrow() && F.getReturnType()->isVoidTy()) in determineFunctionCaptureCapabilities()
5720 if (F.doesNotThrow() && ArgNo >= 0) { in determineFunctionCaptureCapabilities()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DEHStreamer.cpp181 MarkedNoUnwind = F->doesNotThrow(); in callToNoUnwindFunction()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86WinEHState.cpp623 return !Call.doesNotThrow(); in isStateStoreNeeded()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp147 if (!F->doesNotThrow()) in queryCallee()
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp403 return !F->doesNotThrow(); in canThrow()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DInstruction.cpp737 return !CI->doesNotThrow(); in mayThrow()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1167 if (CI.getFunction()->doesNotThrow() && !CI.doesNotThrow()) { in visitCallInst()
3227 if (isa<InlineAsm>(Callee) && !Call.doesNotThrow()) { in visitCallBase()
H A DInstructionCombining.cpp2735 if (!CB.willReturn() || !CB.doesNotThrow()) in isRemovableWrite()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp312 if (Start->getFunction()->doesNotThrow()) in INITIALIZE_PASS_DEPENDENCY()
H A DDeadStoreElimination.cpp1101 return CB->use_empty() && CB->willReturn() && CB->doesNotThrow() && in isRemovable()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1492 if (!CurFn->doesNotThrow()) in GenerateCode()

12