| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | EscapeEnumerator.cpp | 55 if (F.doesNotThrow()) in Next() 64 if (!CI->doesNotThrow() && !CI->isMustTailCall()) in Next()
|
| H A D | InlineFunction.cpp | 547 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 D | BuildLibCalls.cpp | 105 if (F.doesNotThrow()) in setDoesNotThrow()
|
| H A D | Local.cpp | 2369 if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(&F)) { in markAliveBlocks()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | PruneEH.cpp | 84 SCCMightUnwind |= !F->doesNotThrow(); in runImpl() 87 bool CheckUnwind = !SCCMightUnwind && !F->doesNotThrow(); in runImpl() 185 if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(F)) { in SimplifyFunction()
|
| H A D | FunctionAttrs.cpp | 932 if (F->onlyReadsMemory() && F->doesNotThrow() && in addArgumentAttrs() 1549 [](const Function &F) { return F.doesNotThrow(); }, in inferAttrsFromFunctionBodies()
|
| H A D | FunctionImport.cpp | 1073 if (FS->fflags().NoUnwind && !F->doesNotThrow()) in thinLTOFinalizeInModule()
|
| H A D | AttributorAttributes.cpp | 4997 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 D | WebAssemblyUtilities.cpp | 96 if (F->doesNotThrow()) in mayThrow()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Function.h | 555 bool doesNotThrow() const { in doesNotThrow() function 640 return hasUWTable() || !doesNotThrow() || hasPersonalityFn(); in needsUnwindTableEntry()
|
| H A D | InstrTypes.h | 1899 bool doesNotThrow() const { return hasFnAttr(Attribute::NoUnwind); }
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | MustExecute.cpp | 512 F.doesNotThrow(); in findForwardJoinPoint() 590 if (!F.hasFnAttribute(Attribute::WillReturn) || !F.doesNotThrow()) { in findForwardJoinPoint()
|
| H A D | CaptureTracking.cpp | 323 if (Call->onlyReadsMemory() && Call->doesNotThrow() && in DetermineUseCaptureKind()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | DwarfEHPrepare.cpp | 172 if (F.doesNotThrow()) in InsertUnwindResumeCalls()
|
| H A D | WinEHPrepare.cpp | 972 if (CalledFn && ((CalledFn->isIntrinsic() && CB->doesNotThrow()) || in removeImplausibleInstructions()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | EHStreamer.cpp | 181 MarkedNoUnwind = F->doesNotThrow(); in callToNoUnwindFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 623 return !Call.doesNotThrow(); in isStateStoreNeeded()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyRegStackify.cpp | 147 if (!F->doesNotThrow()) in queryCallee()
|
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 403 return !F->doesNotThrow(); in canThrow()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Instruction.cpp | 687 return !CI->doesNotThrow(); in mayThrow()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 1148 if (CI.getFunction()->doesNotThrow() && !CI.doesNotThrow()) { in visitCallInst() 3052 if (isa<InlineAsm>(Callee) && !Call.doesNotThrow()) { in visitCallBase()
|
| H A D | InstructionCombining.cpp | 2721 if (!CB.willReturn() || !CB.doesNotThrow()) in isRemovableWrite()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 312 if (Start->getFunction()->doesNotThrow()) in INITIALIZE_PASS_DEPENDENCY()
|
| H A D | DeadStoreElimination.cpp | 1022 return CB->use_empty() && CB->willReturn() && CB->doesNotThrow() && in isRemovable()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 1469 if (!CurFn->doesNotThrow()) in GenerateCode()
|