Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp224 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 DWasmEHPrepare.cpp405 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 DInlineFunction.cpp228 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 DLocal.cpp2110 } 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 DCodeExtractor.cpp134 if (const auto *CSI = dyn_cast<CatchSwitchInst>(I)) { in isBlockValidForExtraction()
H A DSimplifyCFG.cpp4212 } 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 DCoroFrame.cpp438 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 DInstructions.h3918 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 DInstVisitor.h256 RetTy visitCatchSwitchInst(CatchSwitchInst &I) { in visitCatchSwitchInst()
H A DInstruction.def137 HANDLE_TERM_INST (10, CatchSwitch , CatchSwitchInst)
H A DIRBuilder.h956 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB,
959 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
/freebsd-12.1/contrib/llvm/lib/IR/
H A DInstructions.cpp847 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 DCore.cpp2758 } 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 DVerifier.cpp490 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 DInstruction.cpp591 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(this)) in mayThrow()
/freebsd-12.1/contrib/llvm/lib/Transforms/ObjCARC/
H A DPtrState.cpp271 if (isa<CatchSwitchInst>(InsertAfter)) in HandlePotentialUse()
H A DObjCARCContract.cpp621 while (isa<CatchSwitchInst>(InsertBB->getFirstNonPHI())) { in runOnFunction()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h52 class CatchSwitchInst; variable
824 void visitCatchSwitch(const CatchSwitchInst &I);
H A DFunctionLoweringInfo.cpp243 if (isa<CatchSwitchInst>(PadInst)) { in set()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGException.cpp913 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 DLICM.cpp342 return isa<CatchSwitchInst>(Exit->getTerminator()); in runOnLoop()
1205 if (isa<CatchSwitchInst>(BB->getTerminator())) in isNotUsedOrFreeInLoop()
H A DLoopStrengthReduce.cpp3399 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 DSCCP.cpp622 void visitCatchSwitchInst(CatchSwitchInst &CPI) { in visitCatchSwitchInst()
H A DIndVarSimplify.cpp1513 if (isa<CatchSwitchInst>(UsePhi->getParent()->getTerminator())) in widenIVUse()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp302 return isa<CatchSwitchInst>(Exit->getTerminator()); in getMaxNumOfPromotionsInLoop()

12