Home
last modified time | relevance | path

Searched refs:CatchSwitchInst (Results 1 – 25 of 43) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp98 if (isa<CatchSwitchInst>(InsertPt)) in DemoteRegToStack()
100 if (isa<CatchSwitchInst>(InsertPt)) { in DemoteRegToStack()
151 if (isa<CatchSwitchInst>(InsertPt)) in DemotePHIToStack()
153 if (isa<CatchSwitchInst>(InsertPt)) { in DemotePHIToStack()
H A DInlineFunction.cpp238 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad()
257 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(CurrentPad)) { in getUnwindDestTokenHelper()
277 if (!isa<CleanupPadInst>(Child) && !isa<CatchSwitchInst>(Child)) in getUnwindDestTokenHelper()
317 } else if (isa<CleanupPadInst>(U) || isa<CatchSwitchInst>(U)) { in getUnwindDestTokenHelper()
502 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UselessPad)) { in getUnwindDestToken()
513 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken()
526 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken()
711 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(I)) { in HandleInlinedEHPad()
737 auto *NewCatchSwitch = CatchSwitchInst::Create( in HandleInlinedEHPad()
2169 if (isa<CatchSwitchInst>(CalledBB.getFirstNonPHI())) in InlineFunction()
[all …]
H A DMoveAutoInit.cpp184 while (isa<CatchSwitchInst>(UsersDominator->getFirstNonPHI())) { in runMoveAutoInit()
H A DLocal.cpp3061 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(Terminator)) { in markAliveBlocks()
3091 for (CatchSwitchInst::handler_iterator I = CatchSwitch->handler_begin(), in markAliveBlocks()
3136 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) { in removeUnwindEdge()
3137 auto *NewCatchSwitch = CatchSwitchInst::Create( in removeUnwindEdge()
H A DBasicBlockUtils.cpp791 else if (auto *CS = dyn_cast<CatchSwitchInst>(TI)) in setUnwindEdgeTo()
883 else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(PadInst)) in ehAwareSplitEdge()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp360 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) { in getEHPadFromPredecessor()
381 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateCXXStateNumbers()
416 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) { in calculateCXXStateNumbers()
502 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateSEHStateNumbers()
535 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) { in calculateSEHStateNumbers()
576 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(EHPad)) in isTopLevelPadForMSVC()
684 else if (const auto *CSI = dyn_cast<CatchSwitchInst>(FirstNonPHI)) in calculateClrEHStateNumbers()
721 const auto *CatchSwitch = cast<CatchSwitchInst>(Pad); in calculateClrEHStateNumbers()
782 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(U)) { in calculateClrEHStateNumbers()
804 if (auto *CSI = dyn_cast<CatchSwitchInst>(UserUnwindPad)) in calculateClrEHStateNumbers()
[all …]
H A DWasmEHPrepare.cpp395 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UnwindPad)) in calculateWasmEHInfo()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h4327 class CatchSwitchInst : public Instruction {
4337 CatchSwitchInst(const CatchSwitchInst &CSI);
4343 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
4351 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
4365 CatchSwitchInst *cloneImpl() const;
4370 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
4378 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
4498 struct OperandTraits<CatchSwitchInst> : public HungoffOperandTraits<2> {};
4500 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(CatchSwitchInst, Value)
4577 CatchSwitchInst *getCatchSwitch() const {
[all …]
H A DInstVisitor.h250 RetTy visitCatchSwitchInst(CatchSwitchInst &I) { in visitCatchSwitchInst()
H A DInstruction.def136 HANDLE_TERM_INST (10, CatchSwitch , CatchSwitchInst)
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp1083 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst
1095 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst
1106 CatchSwitchInst::CatchSwitchInst(const CatchSwitchInst &CSI) in CatchSwitchInst() function in CatchSwitchInst
1117 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, in init()
1134 void CatchSwitchInst::growOperands(unsigned Size) { in growOperands()
1143 void CatchSwitchInst::addHandler(BasicBlock *Handler) { in addHandler()
1151 void CatchSwitchInst::removeHandler(handler_iterator HI) { in removeHandler()
4970 CatchSwitchInst *CatchSwitchInst::cloneImpl() const { in cloneImpl()
4971 return new CatchSwitchInst(*this); in cloneImpl()
H A DCore.cpp2928 } else if (CatchSwitchInst *CSI = dyn_cast<CatchSwitchInst>(unwrap(Invoke))) { in LLVMGetUnwindDest()
2941 } else if (CatchSwitchInst *CSI = dyn_cast<CatchSwitchInst>(unwrap(Invoke))) { in LLVMSetUnwindDest()
3288 unwrap<CatchSwitchInst>(CatchSwitch)->addHandler(unwrap(Dest)); in LLVMAddHandler()
3292 return unwrap<CatchSwitchInst>(CatchSwitch)->getNumHandlers(); in LLVMGetNumHandlers()
3296 CatchSwitchInst *CSI = unwrap<CatchSwitchInst>(CatchSwitch); in LLVMGetHandlers()
3307 ->setCatchSwitch(unwrap<CatchSwitchInst>(CatchSwitch)); in LLVMSetParentCatchSwitch()
H A DVerifier.cpp586 void visitCatchSwitchInst(CatchSwitchInst &CatchSwitch);
2562 else if (auto *CSI = dyn_cast<CatchSwitchInst>(Terminator)) in getSuccPad()
4237 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad()
4290 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(TI)) { in visitEHPadPredecessors()
4312 Check(isa<FuncletPadInst>(FromPad) || isa<CatchSwitchInst>(FromPad), in visitEHPadPredecessors()
4380 Check(isa<CatchSwitchInst>(CPI.getParentPad()), in visitCatchPadInst()
4436 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(U)) { in visitFuncletPadInst()
4564 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FPI.getParentPad())) { in visitFuncletPadInst()
4581 void Verifier::visitCatchSwitchInst(CatchSwitchInst &CatchSwitch) { in visitCatchSwitchInst()
H A DInstruction.cpp1011 return cast<CatchSwitchInst>(this)->unwindsToCaller(); in mayThrow()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDivRemPairs.cpp290 if (PredBB && !isa<CatchSwitchInst>(PredBB->getTerminator()) && in optimizeDivRem()
H A DLICM.cpp480 return isa<CatchSwitchInst>(Exit->getTerminator()); in runOnLoop()
1384 if (isa<CatchSwitchInst>(BB->getTerminator())) in isNotUsedOrFoldableInLoop()
H A DLoopStrengthReduce.cpp3549 if (isa<CatchSwitchInst>(UserInst->getParent()->getTerminator())) in CollectLoopInvariantFixupsAndFormulae()
5278 if (isa<CatchSwitchInst>(Tentative)) in HoistInsertPosition()
5589 !isa<CatchSwitchInst>(BB->getTerminator())) { in RewriteForPHI()
5884 isa<CatchSwitchInst>(FirstNonPHI)) in LSRInstance()
5886 if (isa<CatchSwitchInst>(PredBB->getFirstNonPHI())) in LSRInstance()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DPtrState.cpp267 if (isa<CatchSwitchInst>(InsertAfter)) in HandlePotentialUse()
H A DObjCARCContract.cpp628 while (isa<CatchSwitchInst>(InsertBB->getFirstNonPHI())) { in run()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h54 class CatchSwitchInst; variable
501 void visitCatchSwitch(const CatchSwitchInst &I);
H A DFunctionLoweringInfo.cpp247 if (isa<CatchSwitchInst>(PadInst)) { in set()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1691 static Instruction *splitBeforeCatchSwitch(CatchSwitchInst *CatchSwitch) { in splitBeforeCatchSwitch()
1819 if (auto *CSI = dyn_cast<CatchSwitchInst>(DefBlock->getTerminator())) in insertSpills()
2208 if (CatchSwitchInst *CS = in rewritePHIs()
2209 dyn_cast<CatchSwitchInst>(Pred->getTerminator())) { in rewritePHIs()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGException.cpp980 llvm::CatchSwitchInst *CatchSwitch = in emitCatchPadBlock()
1024 llvm::CatchSwitchInst *CatchSwitch = in emitWasmCatchPadBlock()
1254 cast<llvm::CatchSwitchInst>(DispatchBlock->getFirstNonPHI()); in ExitCXXTryStmt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp1710 CatchSwitchInst *CatchSwitchLongjmp = in handleLongjmpableCallsForWasmSjLj()
1847 if (auto *CSI = dyn_cast<CatchSwitchInst>(BB.getFirstNonPHI())) { in handleLongjmpableCallsForWasmSjLj()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp500 return isa<CatchSwitchInst>(Exit->getTerminator()); in isPromotionPossible()

12