| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | DemoteRegToStack.cpp | 98 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 D | InlineFunction.cpp | 238 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 D | MoveAutoInit.cpp | 184 while (isa<CatchSwitchInst>(UsersDominator->getFirstNonPHI())) { in runMoveAutoInit()
|
| H A D | Local.cpp | 3061 } 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 D | BasicBlockUtils.cpp | 791 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 D | WinEHPrepare.cpp | 360 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 D | WasmEHPrepare.cpp | 395 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UnwindPad)) in calculateWasmEHInfo()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 4327 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 D | InstVisitor.h | 250 RetTy visitCatchSwitchInst(CatchSwitchInst &I) { in visitCatchSwitchInst()
|
| H A D | Instruction.def | 136 HANDLE_TERM_INST (10, CatchSwitch , CatchSwitchInst)
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instructions.cpp | 1083 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 D | Core.cpp | 2928 } 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 D | Verifier.cpp | 586 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 D | Instruction.cpp | 1011 return cast<CatchSwitchInst>(this)->unwindsToCaller(); in mayThrow()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | DivRemPairs.cpp | 290 if (PredBB && !isa<CatchSwitchInst>(PredBB->getTerminator()) && in optimizeDivRem()
|
| H A D | LICM.cpp | 480 return isa<CatchSwitchInst>(Exit->getTerminator()); in runOnLoop() 1384 if (isa<CatchSwitchInst>(BB->getTerminator())) in isNotUsedOrFoldableInLoop()
|
| H A D | LoopStrengthReduce.cpp | 3549 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 D | PtrState.cpp | 267 if (isa<CatchSwitchInst>(InsertAfter)) in HandlePotentialUse()
|
| H A D | ObjCARCContract.cpp | 628 while (isa<CatchSwitchInst>(InsertBB->getFirstNonPHI())) { in run()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 54 class CatchSwitchInst; variable 501 void visitCatchSwitch(const CatchSwitchInst &I);
|
| H A D | FunctionLoweringInfo.cpp | 247 if (isa<CatchSwitchInst>(PadInst)) { in set()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 1691 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 D | CGException.cpp | 980 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 D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 1710 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 D | InstrProfiling.cpp | 500 return isa<CatchSwitchInst>(Exit->getTerminator()); in isPromotionPossible()
|