Home
last modified time | relevance | path

Searched refs:getUnwindDest (Results 1 – 25 of 41) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DWasmEHFuncInfo.h39 const BasicBlock *getUnwindDest(const BasicBlock *BB) const { in getUnwindDest() function
62 MachineBasicBlock *getUnwindDest(MachineBasicBlock *MBB) const { in getUnwindDest() function
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp185 return CRI->getUnwindDest(); in getCleanupRetUnwindDest()
209 FuncletUnwindDest = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateStateNumbersForInvokes()
215 BasicBlock *InvokeUnwindDest = II->getUnwindDest(); in calculateStateNumbersForInvokes()
420 BasicBlock *UnwindDest = InnerCatchSwitch->getUnwindDest(); in calculateCXXStateNumbers()
421 if (!UnwindDest || UnwindDest == CatchSwitch->getUnwindDest()) in calculateCXXStateNumbers()
429 if (!UnwindDest || UnwindDest == CatchSwitch->getUnwindDest()) in calculateCXXStateNumbers()
540 BasicBlock *UnwindDest = InnerCatchSwitch->getUnwindDest(); in calculateSEHStateNumbers()
541 if (!UnwindDest || UnwindDest == CatchSwitch->getUnwindDest()) in calculateSEHStateNumbers()
549 if (!UnwindDest || UnwindDest == CatchSwitch->getUnwindDest()) in calculateSEHStateNumbers()
771 UnwindDest = Catch->getCatchSwitch()->getUnwindDest(); in calculateClrEHStateNumbers()
[all …]
H A DSjLjEHPrepare.cpp333 BasicBlock *UnwindBlock = Invoke->getUnwindDest(); in lowerAcrossUnwindEdges()
355 BasicBlock *UnwindBlock = Invoke->getUnwindDest(); in lowerAcrossUnwindEdges()
394 LPads.insert(II->getUnwindDest()->getLandingPadInst()); in setupEntryBlockAndCallSites()
H A DWasmEHPrepare.cpp391 const auto *UnwindBB = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateWasmEHInfo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DBlockExtractor.cpp104 BasicBlock *LPad = II->getUnwindDest(); in splitLandingPadPreds()
166 BlocksToExtractVec.push_back(II->getUnwindDest()); in runOnModule()
H A DDeadArgumentElimination.cpp201 NewCB = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in deleteDeadVarargs()
951 NewCB = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in removeDeadStuffFromFunction()
H A DArgumentPromotion.cpp284 NewCS = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in doPromotion()
H A DWholeProgramDevirt.cpp475 II->getUnwindDest()->removePredecessor(II->getParent()); in replaceAndErase()
1556 cast<InvokeInst>(CB).getUnwindDest(), Args); in applyICallBranchFunnel()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerInvoke.cpp66 II->getUnwindDest()->removePredecessor(&BB); in runImpl()
H A DInlineFunction.cpp137 : OuterResumeDest(II->getUnwindDest()) { in LandingPadInliningInfo()
280 UnwindDestToken = &*CatchSwitch->getUnwindDest()->getFirstNonPHIIt(); in getUnwindDestTokenHelper()
330 if (BasicBlock *RetUnwindDest = CleanupRet->getUnwindDest()) in getUnwindDestTokenHelper()
338 ChildUnwindDestToken = &*Invoke->getUnwindDest()->getFirstNonPHIIt(); in getUnwindDestTokenHelper()
525 assert(CatchSwitch->getUnwindDest() == nullptr && "Expected useless pad"); in getUnwindDestToken()
531 ->getUnwindDest() in getUnwindDestToken()
545 &*cast<InvokeInst>(U)->getUnwindDest()->getFirstNonPHIIt()) == in getUnwindDestToken()
623 BasicBlock *InvokeDest = II->getUnwindDest(); in HandleInlinedLandingPad()
680 BasicBlock *UnwindDest = II->getUnwindDest(); in HandleInlinedEHPad()
3047 BasicBlock *UnwindDest = II->getUnwindDest(); in InlineFunction()
H A DCodeExtractor.cpp124 if (auto *UBB = II->getUnwindDest()) in isBlockValidForExtraction()
133 if (auto *UBB = CSI->getUnwindDest()) in isBlockValidForExtraction()
163 if (auto *UBB = CRI->getUnwindDest()) in isBlockValidForExtraction()
H A DCallPromotionUtils.cpp90 for (PHINode &Phi : Invoke->getUnwindDest()->phis()) { in fixupPHINodeForUnwindDest()
H A DSimplifyCFG.cpp2706 BasicBlock *CurrUnwindBB = II->getUnwindDest(); in shouldBelongToSameSet()
2718 Invokes.front()->getUnwindDest(), in shouldBelongToSameSet()
5309 BasicBlock *UnwindDest = RI->getUnwindDest(); in removeEmptyCleanup()
5402 BasicBlock *UnwindDest = RI->getUnwindDest(); in mergeCleanupPad()
5545 if (II->getUnwindDest() == BB) { in simplifyUnreachable()
5556 if (CSI->getUnwindDest() == BB) { in simplifyUnreachable()
5586 CSI->getUnwindDest()}); in simplifyUnreachable()
5591 Predecessor->replaceAllUsesWith(CSI->getUnwindDest()); in simplifyUnreachable()
5609 assert(CRI->hasUnwindDest() && CRI->getUnwindDest() == BB && in simplifyUnreachable()
7741 assert(II->getNormalDest() != BB && II->getUnwindDest() == BB && in tryToMergeLandingPad()
H A DLocal.cpp2961 BasicBlock *UnwindDestBB = II->getUnwindDest(); in changeToCall()
3137 BasicBlock *UnwindDestBB = II->getUnwindDest(); in markAliveBlocks()
3222 UnwindDest = CRI->getUnwindDest(); in removeUnwindEdge()
3231 UnwindDest = CatchSwitch->getUnwindDest(); in removeUnwindEdge()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DInstruction.cpp548 BasicBlock *InvokeInst::getUnwindDest() const { in getUnwindDest() function in llvm::sandboxir::InvokeInst
550 Ctx.getValue(cast<llvm::InvokeInst>(Val)->getUnwindDest())); in getUnwindDest()
558 assert(getUnwindDest() == BB && "LLVM IR uses a different operan index!"); in setUnwindDest()
773 BasicBlock *CleanupReturnInst::getUnwindDest() const { in getUnwindDest() function in llvm::sandboxir::CleanupReturnInst
775 Ctx.getValue(cast<llvm::CleanupReturnInst>(Val)->getUnwindDest())); in getUnwindDest()
780 .emplaceIfTracking<GenericSetter<&CleanupReturnInst::getUnwindDest, in setUnwindDest()
1063 BasicBlock *CatchSwitchInst::getUnwindDest() const { in getUnwindDest() function in llvm::sandboxir::CatchSwitchInst
1065 Ctx.getValue(cast<llvm::CatchSwitchInst>(Val)->getUnwindDest())); in getUnwindDest()
1070 .emplaceIfTracking<GenericSetter<&CatchSwitchInst::getUnwindDest, in setUnwindDest()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroAnnotationElide.cpp81 II->getNormalDest(), II->getUnwindDest(), in processCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyExceptionInfo.cpp133 auto *UnwindDest = EHInfo->getUnwindDest(EHPad); in recalculate()
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp1151 IRB.CreateCondBr(Cmp, II->getUnwindDest(), II->getNormalDest()); in runEHOnFunction()
1548 return CRI->getUnwindDest(); in getCleanupRetUnwindDest()
1714 UnwindDest = CPI->getCatchSwitch()->getUnwindDest(); in handleLongjmpableCallsForWasmSjLj()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1861 II->getUnwindDest(), Flags, CallArgs, TransitionArgs, DeoptArgs, in makeStatepointExplicitImpl()
1874 BasicBlock *UnwindBlock = II->getUnwindDest(); in makeStatepointExplicitImpl()
2126 InsertClobbersAt(II->getUnwindDest()->getFirstInsertionPt()); in relocationViaAlloca()
2249 Func, Values, "", II->getUnwindDest()->getFirstInsertionPt())); in insertUseHolderAfter()
2586 Invoke->getUnwindDest()->getFirstInsertionPt(); in rematerializeLiveValues()
2680 normalizeForInvokeSafepoint(II->getUnwindDest(), II->getParent(), DT); in insertParsePoints()
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp429 tryUnify(LI.getUnwindDest(), RI.getUnwindDest()); in diff()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp2823 UnwindDest = II->getUnwindDest(); in getSuccPad()
2825 UnwindDest = CSI->getUnwindDest(); in getSuccPad()
2827 UnwindDest = cast<CleanupReturnInst>(Terminator)->getUnwindDest(); in getSuccPad()
4071 II.getUnwindDest()->isEHPad(), in visitInvokeInst()
4557 Check(II && II->getUnwindDest() == BB && II->getNormalDest() != BB, in visitEHPadPredecessors()
4570 Check(BB != CPI->getCatchSwitch()->getUnwindDest(), in visitEHPadPredecessors()
4584 Check(II->getUnwindDest() == BB && II->getNormalDest() != BB, in visitEHPadPredecessors()
4743 UnwindDest = CRI->getUnwindDest(); in visitFuncletPadInst()
4751 UnwindDest = CSI->getUnwindDest(); in visitFuncletPadInst()
4753 UnwindDest = II->getUnwindDest(); in visitFuncletPadInst()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DFunctionPropertiesAnalysis.cpp451 const auto *UnwindDest = II->getUnwindDest(); in FunctionPropertiesUpdater()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h3807 BasicBlock *getUnwindDest() const {
3823 return i == 0 ? getNormalDest() : getUnwindDest();
4157 BasicBlock *getUnwindDest() const {
4458 BasicBlock *getUnwindDest() const {
4478 return getUnwindDest();
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp495 II->getUnwindDest(), Args, OpBundles); in rewriteSetJmpCall()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DInstruction.h1465 LLVM_ABI BasicBlock *getUnwindDest() const;
1669 LLVM_ABI BasicBlock *getUnwindDest() const;
1776 LLVM_ABI BasicBlock *getUnwindDest() const;

12