Searched refs:doesNotThrow (Results 1 – 25 of 26) sorted by relevance
12
55 if (F.doesNotThrow()) in Next()64 if (!CI->doesNotThrow() && !CI->isMustTailCall()) in Next()
549 if (!CI || CI->doesNotThrow()) in HandleCallsInBlockInlinedThroughInvoke()1796 bool MarkNoUnwind = CB.doesNotThrow(); in InlineFunction()2306 if (CalledFn && CalledFn->isIntrinsic() && I->doesNotThrow()) in InlineFunction()
874 if (oldFunction->doesNotThrow()) in constructFunction()
91 if (F.doesNotThrow()) in setDoesNotThrow()
2335 } else if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(&F)) { in markAliveBlocks()
87 SCCMightUnwind |= !F->doesNotThrow(); in runImpl()90 bool CheckUnwind = !SCCMightUnwind && !F->doesNotThrow(); in runImpl()188 if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(F)) { in SimplifyFunction()
714 if (F->onlyReadsMemory() && F->doesNotThrow() && in addArgumentAttrs()1329 [](const Function &F) { return F.doesNotThrow(); }, in inferAttrsFromFunctionBodies()
4693 if (F.onlyReadsMemory() && F.doesNotThrow() && in determineFunctionCaptureCapabilities()4707 if (F.doesNotThrow() && F.getReturnType()->isVoidTy()) in determineFunctionCaptureCapabilities()4712 if (F.doesNotThrow() && ArgNo >= 0) { in determineFunctionCaptureCapabilities()
71 if (F->doesNotThrow()) in mayThrow()
609 bool doesNotThrow() const { in doesNotThrow() function690 return hasUWTable() || !doesNotThrow() || hasPersonalityFn(); in needsUnwindTableEntry()
1845 bool doesNotThrow() const { return hasFnAttr(Attribute::NoUnwind); }
247 if (Call->onlyReadsMemory() && Call->doesNotThrow() && in PointerMayBeCaptured()
515 F.doesNotThrow(); in findForwardJoinPoint()593 if (!F.hasFnAttribute(Attribute::WillReturn) || !F.doesNotThrow()) { in findForwardJoinPoint()
172 if (F.doesNotThrow()) in InsertUnwindResumeCalls()
975 if (CalledFn && ((CalledFn->isIntrinsic() && CB->doesNotThrow()) || in removeImplausibleInstructions()
184 MarkedNoUnwind = F->doesNotThrow(); in callToNoUnwindFunction()
623 return !Call.doesNotThrow(); in isStateStoreNeeded()
675 return !CI->doesNotThrow(); in mayThrow()
148 if (!F->doesNotThrow()) in queryCallee()
299 return !F->doesNotThrow(); in canThrow()
813 if (CI.getFunction()->doesNotThrow() && !CI.doesNotThrow()) { in visitCallInst()2422 if (isa<InlineAsm>(Callee) && !Call.doesNotThrow()) { in visitCallBase()
320 if (!Start->getFunction()->doesNotThrow() && in INITIALIZE_PASS_DEPENDENCY()
1409 if (!CurFn->doesNotThrow()) in GenerateCode()
4414 if (CalleeFn && CalleeFn->isIntrinsic() && CalleeFn->doesNotThrow()) in getBundlesForFunclet()
4476 if (cast<llvm::CallBase>(I).doesNotThrow()) in emitHazardsInNewBlocks()