Home
last modified time | relevance | path

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

12

/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DWinEHPrepare.cpp226 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) { in getEHPadFromPredecessor()
247 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateCXXStateNumbers()
281 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) { in calculateCXXStateNumbers()
367 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateSEHStateNumbers()
399 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) { in calculateSEHStateNumbers()
440 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(EHPad)) in isTopLevelPadForMSVC()
536 else if (const auto *CSI = dyn_cast<CatchSwitchInst>(FirstNonPHI)) in calculateClrEHStateNumbers()
573 const auto *CatchSwitch = cast<CatchSwitchInst>(Pad); in calculateClrEHStateNumbers()
637 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(U)) { in calculateClrEHStateNumbers()
659 if (auto *CSI = dyn_cast<CatchSwitchInst>(UserUnwindPad)) in calculateClrEHStateNumbers()
[all …]
DWasmEHPrepare.cpp358 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UnwindPad)) in calculateWasmEHInfo()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DInlineFunction.cpp237 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad()
256 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(CurrentPad)) { in getUnwindDestTokenHelper()
276 if (!isa<CleanupPadInst>(Child) && !isa<CatchSwitchInst>(Child)) in getUnwindDestTokenHelper()
316 } else if (isa<CleanupPadInst>(U) || isa<CatchSwitchInst>(U)) { in getUnwindDestTokenHelper()
501 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UselessPad)) { in getUnwindDestToken()
512 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken()
525 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken()
722 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(I)) { in HandleInlinedEHPad()
748 auto *NewCatchSwitch = CatchSwitchInst::Create( in HandleInlinedEHPad()
1857 if (isa<CatchSwitchInst>(CalledBB.getFirstNonPHI())) in InlineFunction()
[all …]
DLocal.cpp2349 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(Terminator)) { in markAliveBlocks()
2379 for (CatchSwitchInst::handler_iterator I = CatchSwitch->handler_begin(), in markAliveBlocks()
2426 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) { in removeUnwindEdge()
2427 auto *NewCatchSwitch = CatchSwitchInst::Create( in removeUnwindEdge()
DBasicBlockUtils.cpp534 else if (auto *CS = dyn_cast<CatchSwitchInst>(TI)) in setUnwindEdgeTo()
626 else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(PadInst)) in ehAwareSplitEdge()
DSCCPSolver.cpp299 void visitCatchSwitchInst(CatchSwitchInst &CPI) { in visitCatchSwitchInst()
DCodeExtractor.cpp139 if (const auto *CSI = dyn_cast<CatchSwitchInst>(I)) { in isBlockValidForExtraction()
DSimplifyIndVar.cpp1666 if (isa<CatchSwitchInst>(UsePhi->getParent()->getTerminator())) in widenIVUse()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DInstructions.h4220 class CatchSwitchInst : public Instruction {
4230 CatchSwitchInst(const CatchSwitchInst &CSI);
4236 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
4244 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
4258 CatchSwitchInst *cloneImpl() const;
4263 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
4267 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4271 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
4274 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4391 struct OperandTraits<CatchSwitchInst> : public HungoffOperandTraits<2> {};
[all …]
DInstVisitor.h252 RetTy visitCatchSwitchInst(CatchSwitchInst &I) { in visitCatchSwitchInst()
DInstruction.def136 HANDLE_TERM_INST (10, CatchSwitch , CatchSwitchInst)
DIRBuilder.h1112 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB,
1115 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DInstructions.cpp1102 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst
1114 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst
1125 CatchSwitchInst::CatchSwitchInst(const CatchSwitchInst &CSI) in CatchSwitchInst() function in CatchSwitchInst
1136 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, in init()
1153 void CatchSwitchInst::growOperands(unsigned Size) { in growOperands()
1162 void CatchSwitchInst::addHandler(BasicBlock *Handler) { in addHandler()
1170 void CatchSwitchInst::removeHandler(handler_iterator HI) { in removeHandler()
4542 CatchSwitchInst *CatchSwitchInst::cloneImpl() const { in cloneImpl()
4543 return new CatchSwitchInst(*this); in cloneImpl()
DCore.cpp2938 } else if (CatchSwitchInst *CSI = dyn_cast<CatchSwitchInst>(unwrap(Invoke))) { in LLVMGetUnwindDest()
2951 } else if (CatchSwitchInst *CSI = dyn_cast<CatchSwitchInst>(unwrap(Invoke))) { in LLVMSetUnwindDest()
3296 unwrap<CatchSwitchInst>(CatchSwitch)->addHandler(unwrap(Dest)); in LLVMAddHandler()
3300 return unwrap<CatchSwitchInst>(CatchSwitch)->getNumHandlers(); in LLVMGetNumHandlers()
3304 CatchSwitchInst *CSI = unwrap<CatchSwitchInst>(CatchSwitch); in LLVMGetHandlers()
3315 ->setCatchSwitch(unwrap<CatchSwitchInst>(CatchSwitch)); in LLVMSetParentCatchSwitch()
DVerifier.cpp535 void visitCatchSwitchInst(CatchSwitchInst &CatchSwitch);
2252 else if (auto *CSI = dyn_cast<CatchSwitchInst>(Terminator)) in getSuccPad()
3862 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad()
3915 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(TI)) { in visitEHPadPredecessors()
4001 Assert(isa<CatchSwitchInst>(CPI.getParentPad()), in visitCatchPadInst()
4058 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(U)) { in visitFuncletPadInst()
4185 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FPI.getParentPad())) { in visitFuncletPadInst()
4202 void Verifier::visitCatchSwitchInst(CatchSwitchInst &CatchSwitch) { in visitCatchSwitchInst()
DInstruction.cpp678 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(this)) in mayThrow()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
DPtrState.cpp267 if (isa<CatchSwitchInst>(InsertAfter)) in HandlePotentialUse()
DObjCARCContract.cpp622 while (isa<CatchSwitchInst>(InsertBB->getFirstNonPHI())) { in run()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h50 class CatchSwitchInst; variable
652 void visitCatchSwitch(const CatchSwitchInst &I);
DFunctionLoweringInfo.cpp259 if (isa<CatchSwitchInst>(PadInst)) { in set()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp1472 static Instruction *splitBeforeCatchSwitch(CatchSwitchInst *CatchSwitch) { in splitBeforeCatchSwitch()
1601 if (auto *CSI = dyn_cast<CatchSwitchInst>(DefBlock->getTerminator())) in insertSpills()
1906 if (CatchSwitchInst *CS = in rewritePHIs()
1907 dyn_cast<CatchSwitchInst>(Pred->getTerminator())) { in rewritePHIs()
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DCGException.cpp956 llvm::CatchSwitchInst *CatchSwitch = in emitCatchPadBlock()
1000 llvm::CatchSwitchInst *CatchSwitch = in emitWasmCatchPadBlock()
1225 cast<llvm::CatchSwitchInst>(DispatchBlock->getFirstNonPHI()); in ExitCXXTryStmt()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DLICM.cpp462 return isa<CatchSwitchInst>(Exit->getTerminator()); in runOnLoop()
1454 if (isa<CatchSwitchInst>(BB->getTerminator())) in isNotUsedOrFreeInLoop()
DLoopStrengthReduce.cpp3486 if (isa<CatchSwitchInst>(UserInst->getParent()->getTerminator())) in CollectLoopInvariantFixupsAndFormulae()
5122 if (isa<CatchSwitchInst>(Tentative)) in HoistInsertPosition()
5428 !isa<CatchSwitchInst>(BB->getTerminator())) { in RewriteForPHI()
5685 isa<CatchSwitchInst>(FirstNonPHI)) in LSRInstance()
5687 if (isa<CatchSwitchInst>(PredBB->getFirstNonPHI())) in LSRInstance()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp338 return isa<CatchSwitchInst>(Exit->getTerminator()); in isPromotionPossible()

12