| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 224 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) { in getEHPadFromPredecessor() 242 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateCXXStateNumbers() 266 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) { in calculateCXXStateNumbers() 344 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateSEHStateNumbers() 376 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) { in calculateSEHStateNumbers() 417 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(EHPad)) in isTopLevelPadForMSVC() 513 else if (const auto *CSI = dyn_cast<CatchSwitchInst>(FirstNonPHI)) in calculateClrEHStateNumbers() 550 const auto *CatchSwitch = cast<CatchSwitchInst>(Pad); in calculateClrEHStateNumbers() 614 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(U)) { in calculateClrEHStateNumbers() 636 if (auto *CSI = dyn_cast<CatchSwitchInst>(UserUnwindPad)) in calculateClrEHStateNumbers() [all …]
|
| H A D | WasmEHPrepare.cpp | 405 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UnwindPad)) in calculateWasmEHInfo() 424 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UnwindPad)) in calculateWasmEHInfo()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 228 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad() 247 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(CurrentPad)) { in getUnwindDestTokenHelper() 267 if (!isa<CleanupPadInst>(Child) && !isa<CatchSwitchInst>(Child)) in getUnwindDestTokenHelper() 307 } else if (isa<CleanupPadInst>(U) || isa<CatchSwitchInst>(U)) { in getUnwindDestTokenHelper() 492 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UselessPad)) { in getUnwindDestToken() 503 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken() 516 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken() 706 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(I)) { in HandleInlinedEHPad() 732 auto *NewCatchSwitch = CatchSwitchInst::Create( in HandleInlinedEHPad() 1597 if (isa<CatchSwitchInst>(CalledBB.getFirstNonPHI())) in InlineFunction() [all …]
|
| H A D | Local.cpp | 2110 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(Terminator)) { in markAliveBlocks() 2139 for (CatchSwitchInst::handler_iterator I = CatchSwitch->handler_begin(), in markAliveBlocks() 2175 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) { in removeUnwindEdge() 2176 auto *NewCatchSwitch = CatchSwitchInst::Create( in removeUnwindEdge()
|
| H A D | CodeExtractor.cpp | 134 if (const auto *CSI = dyn_cast<CatchSwitchInst>(I)) { in isBlockValidForExtraction()
|
| H A D | SimplifyCFG.cpp | 4212 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(TI)) { in SimplifyUnreachable() 4219 for (CatchSwitchInst::handler_iterator I = CSI->handler_begin(), in SimplifyUnreachable()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 438 static Instruction *splitBeforeCatchSwitch(CatchSwitchInst *CatchSwitch) { in splitBeforeCatchSwitch() 542 if (auto *CSI = dyn_cast<CatchSwitchInst>(DefBlock->getTerminator())) in insertSpills() 607 else if (auto *CS = dyn_cast<CatchSwitchInst>(TI)) in setUnwindEdgeTo() 665 else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(PadInst)) in ehAwareSplitEdge()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 3918 class CatchSwitchInst : public Instruction { 3926 CatchSwitchInst(const CatchSwitchInst &CSI); 3932 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, 3940 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, 3954 CatchSwitchInst *cloneImpl() const; 3957 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest, 3965 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest, 4085 struct OperandTraits<CatchSwitchInst> : public HungoffOperandTraits<2> {}; 4087 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(CatchSwitchInst, Value) 4163 CatchSwitchInst *getCatchSwitch() const { [all …]
|
| H A D | InstVisitor.h | 256 RetTy visitCatchSwitchInst(CatchSwitchInst &I) { in visitCatchSwitchInst()
|
| H A D | Instruction.def | 137 HANDLE_TERM_INST (10, CatchSwitch , CatchSwitchInst)
|
| H A D | IRBuilder.h | 956 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB, 959 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Instructions.cpp | 847 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst 859 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst 870 CatchSwitchInst::CatchSwitchInst(const CatchSwitchInst &CSI) in CatchSwitchInst() function in CatchSwitchInst 881 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, in init() 898 void CatchSwitchInst::growOperands(unsigned Size) { in growOperands() 907 void CatchSwitchInst::addHandler(BasicBlock *Handler) { in addHandler() 915 void CatchSwitchInst::removeHandler(handler_iterator HI) { in removeHandler() 3991 CatchSwitchInst *CatchSwitchInst::cloneImpl() const { in cloneImpl() 3992 return new CatchSwitchInst(*this); in cloneImpl()
|
| H A D | Core.cpp | 2758 } else if (CatchSwitchInst *CSI = dyn_cast<CatchSwitchInst>(unwrap(Invoke))) { in LLVMGetUnwindDest() 2771 } else if (CatchSwitchInst *CSI = dyn_cast<CatchSwitchInst>(unwrap(Invoke))) { in LLVMSetUnwindDest() 3094 unwrap<CatchSwitchInst>(CatchSwitch)->addHandler(unwrap(Dest)); in LLVMAddHandler() 3098 return unwrap<CatchSwitchInst>(CatchSwitch)->getNumHandlers(); in LLVMGetNumHandlers() 3102 CatchSwitchInst *CSI = unwrap<CatchSwitchInst>(CatchSwitch); in LLVMGetHandlers() 3103 for (CatchSwitchInst::handler_iterator I = CSI->handler_begin(), in LLVMGetHandlers() 3114 ->setCatchSwitch(unwrap<CatchSwitchInst>(CatchSwitch)); in LLVMSetParentCatchSwitch()
|
| H A D | Verifier.cpp | 490 void visitCatchSwitchInst(CatchSwitchInst &CatchSwitch); 2056 else if (auto *CSI = dyn_cast<CatchSwitchInst>(Terminator)) in getSuccPad() 3480 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad() 3533 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(TI)) { in visitEHPadPredecessors() 3619 Assert(isa<CatchSwitchInst>(CPI.getParentPad()), in visitCatchPadInst() 3676 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(U)) { in visitFuncletPadInst() 3803 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FPI.getParentPad())) { in visitFuncletPadInst() 3820 void Verifier::visitCatchSwitchInst(CatchSwitchInst &CatchSwitch) { in visitCatchSwitchInst()
|
| H A D | Instruction.cpp | 591 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(this)) in mayThrow()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/ObjCARC/ |
| H A D | PtrState.cpp | 271 if (isa<CatchSwitchInst>(InsertAfter)) in HandlePotentialUse()
|
| H A D | ObjCARCContract.cpp | 621 while (isa<CatchSwitchInst>(InsertBB->getFirstNonPHI())) { in runOnFunction()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 52 class CatchSwitchInst; variable 824 void visitCatchSwitch(const CatchSwitchInst &I);
|
| H A D | FunctionLoweringInfo.cpp | 243 if (isa<CatchSwitchInst>(PadInst)) { in set()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGException.cpp | 913 llvm::CatchSwitchInst *CatchSwitch = in emitCatchPadBlock() 957 llvm::CatchSwitchInst *CatchSwitch = in emitWasmCatchPadBlock() 1182 cast<llvm::CatchSwitchInst>(DispatchBlock->getFirstNonPHI()); in ExitCXXTryStmt()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | LICM.cpp | 342 return isa<CatchSwitchInst>(Exit->getTerminator()); in runOnLoop() 1205 if (isa<CatchSwitchInst>(BB->getTerminator())) in isNotUsedOrFreeInLoop()
|
| H A D | LoopStrengthReduce.cpp | 3399 if (isa<CatchSwitchInst>(UserInst->getParent()->getTerminator())) in CollectLoopInvariantFixupsAndFormulae() 4922 if (isa<CatchSwitchInst>(Tentative)) in HoistInsertPosition() 5226 !isa<CatchSwitchInst>(BB->getTerminator())) { in RewriteForPHI() 5388 isa<CatchSwitchInst>(FirstNonPHI)) in LSRInstance() 5390 if (isa<CatchSwitchInst>(PredBB->getFirstNonPHI())) in LSRInstance()
|
| H A D | SCCP.cpp | 622 void visitCatchSwitchInst(CatchSwitchInst &CPI) { in visitCatchSwitchInst()
|
| H A D | IndVarSimplify.cpp | 1513 if (isa<CatchSwitchInst>(UsePhi->getParent()->getTerminator())) in widenIVUse()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 302 return isa<CatchSwitchInst>(Exit->getTerminator()); in getMaxNumOfPromotionsInLoop()
|