| /freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
| HD | WinEHPrepare.cpp | 225 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) { in getEHPadFromPredecessor() 243 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateCXXStateNumbers() 267 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) { in calculateCXXStateNumbers() 345 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateSEHStateNumbers() 377 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) { in calculateSEHStateNumbers() 418 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(EHPad)) in isTopLevelPadForMSVC() 514 else if (const auto *CSI = dyn_cast<CatchSwitchInst>(FirstNonPHI)) in calculateClrEHStateNumbers() 551 const auto *CatchSwitch = cast<CatchSwitchInst>(Pad); in calculateClrEHStateNumbers() 615 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(U)) { in calculateClrEHStateNumbers() 637 if (auto *CSI = dyn_cast<CatchSwitchInst>(UserUnwindPad)) in calculateClrEHStateNumbers() [all …]
|
| HD | WasmEHPrepare.cpp | 367 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UnwindPad)) in calculateWasmEHInfo()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| HD | InlineFunction.cpp | 221 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad() 240 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(CurrentPad)) { in getUnwindDestTokenHelper() 260 if (!isa<CleanupPadInst>(Child) && !isa<CatchSwitchInst>(Child)) in getUnwindDestTokenHelper() 300 } else if (isa<CleanupPadInst>(U) || isa<CatchSwitchInst>(U)) { in getUnwindDestTokenHelper() 485 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UselessPad)) { in getUnwindDestToken() 496 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken() 509 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken() 699 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(I)) { in HandleInlinedEHPad() 725 auto *NewCatchSwitch = CatchSwitchInst::Create( in HandleInlinedEHPad() 1659 if (isa<CatchSwitchInst>(CalledBB.getFirstNonPHI())) in InlineFunction() [all …]
|
| HD | Local.cpp | 2141 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(Terminator)) { in markAliveBlocks() 2170 for (CatchSwitchInst::handler_iterator I = CatchSwitch->handler_begin(), in markAliveBlocks() 2206 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) { in removeUnwindEdge() 2207 auto *NewCatchSwitch = CatchSwitchInst::Create( in removeUnwindEdge()
|
| HD | CodeExtractor.cpp | 136 if (const auto *CSI = dyn_cast<CatchSwitchInst>(I)) { in isBlockValidForExtraction()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
| HD | Instructions.cpp | 992 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst 1004 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst 1015 CatchSwitchInst::CatchSwitchInst(const CatchSwitchInst &CSI) in CatchSwitchInst() function in CatchSwitchInst 1026 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, in init() 1043 void CatchSwitchInst::growOperands(unsigned Size) { in growOperands() 1052 void CatchSwitchInst::addHandler(BasicBlock *Handler) { in addHandler() 1060 void CatchSwitchInst::removeHandler(handler_iterator HI) { in removeHandler() 4306 CatchSwitchInst *CatchSwitchInst::cloneImpl() const { in cloneImpl() 4307 return new CatchSwitchInst(*this); in cloneImpl()
|
| HD | Core.cpp | 2866 } else if (CatchSwitchInst *CSI = dyn_cast<CatchSwitchInst>(unwrap(Invoke))) { in LLVMGetUnwindDest() 2879 } else if (CatchSwitchInst *CSI = dyn_cast<CatchSwitchInst>(unwrap(Invoke))) { in LLVMSetUnwindDest() 3224 unwrap<CatchSwitchInst>(CatchSwitch)->addHandler(unwrap(Dest)); in LLVMAddHandler() 3228 return unwrap<CatchSwitchInst>(CatchSwitch)->getNumHandlers(); in LLVMGetNumHandlers() 3232 CatchSwitchInst *CSI = unwrap<CatchSwitchInst>(CatchSwitch); in LLVMGetHandlers() 3233 for (CatchSwitchInst::handler_iterator I = CSI->handler_begin(), in LLVMGetHandlers() 3244 ->setCatchSwitch(unwrap<CatchSwitchInst>(CatchSwitch)); in LLVMSetParentCatchSwitch()
|
| HD | Verifier.cpp | 495 void visitCatchSwitchInst(CatchSwitchInst &CatchSwitch); 2113 else if (auto *CSI = dyn_cast<CatchSwitchInst>(Terminator)) in getSuccPad() 3613 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad() 3666 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(TI)) { in visitEHPadPredecessors() 3752 Assert(isa<CatchSwitchInst>(CPI.getParentPad()), in visitCatchPadInst() 3809 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(U)) { in visitFuncletPadInst() 3936 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FPI.getParentPad())) { in visitFuncletPadInst() 3953 void Verifier::visitCatchSwitchInst(CatchSwitchInst &CatchSwitch) { in visitCatchSwitchInst()
|
| HD | Instruction.cpp | 598 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(this)) in mayThrow()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| HD | Instructions.h | 4221 class CatchSwitchInst : public Instruction { 4229 CatchSwitchInst(const CatchSwitchInst &CSI); 4235 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, 4243 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, 4257 CatchSwitchInst *cloneImpl() const; 4260 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest, 4264 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr, 4268 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest, 4271 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr, 4388 struct OperandTraits<CatchSwitchInst> : public HungoffOperandTraits<2> {}; [all …]
|
| HD | InstVisitor.h | 259 RetTy visitCatchSwitchInst(CatchSwitchInst &I) { in visitCatchSwitchInst()
|
| HD | Instruction.def | 136 HANDLE_TERM_INST (10, CatchSwitch , CatchSwitchInst)
|
| HD | IRBuilder.h | 1115 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB, 1118 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| HD | CoroFrame.cpp | 552 static Instruction *splitBeforeCatchSwitch(CatchSwitchInst *CatchSwitch) { in splitBeforeCatchSwitch() 692 if (auto *CSI = dyn_cast<CatchSwitchInst>(DefBlock->getTerminator())) in insertSpills() 799 else if (auto *CS = dyn_cast<CatchSwitchInst>(TI)) in setUnwindEdgeTo() 857 else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(PadInst)) in ehAwareSplitEdge()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| HD | PtrState.cpp | 270 if (isa<CatchSwitchInst>(InsertAfter)) in HandlePotentialUse()
|
| HD | ObjCARCContract.cpp | 661 while (isa<CatchSwitchInst>(InsertBB->getFirstNonPHI())) { in runOnFunction()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| HD | SelectionDAGBuilder.h | 54 class CatchSwitchInst; variable 657 void visitCatchSwitch(const CatchSwitchInst &I);
|
| HD | FunctionLoweringInfo.cpp | 251 if (isa<CatchSwitchInst>(PadInst)) { in set()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| HD | CGException.cpp | 911 llvm::CatchSwitchInst *CatchSwitch = in emitCatchPadBlock() 955 llvm::CatchSwitchInst *CatchSwitch = in emitWasmCatchPadBlock() 1180 cast<llvm::CatchSwitchInst>(DispatchBlock->getFirstNonPHI()); in ExitCXXTryStmt()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| HD | LICM.cpp | 414 return isa<CatchSwitchInst>(Exit->getTerminator()); in runOnLoop() 1343 if (isa<CatchSwitchInst>(BB->getTerminator())) in isNotUsedOrFreeInLoop()
|
| HD | LoopStrengthReduce.cpp | 3436 if (isa<CatchSwitchInst>(UserInst->getParent()->getTerminator())) in CollectLoopInvariantFixupsAndFormulae() 5016 if (isa<CatchSwitchInst>(Tentative)) in HoistInsertPosition() 5321 !isa<CatchSwitchInst>(BB->getTerminator())) { in RewriteForPHI() 5526 isa<CatchSwitchInst>(FirstNonPHI)) in LSRInstance() 5528 if (isa<CatchSwitchInst>(PredBB->getFirstNonPHI())) in LSRInstance()
|
| HD | SCCP.cpp | 625 void visitCatchSwitchInst(CatchSwitchInst &CPI) { in visitCatchSwitchInst()
|
| HD | Reassociate.cpp | 887 if (isa<CatchSwitchInst>(InsertPt)) in NegateValue()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| HD | InstrProfiling.cpp | 322 return isa<CatchSwitchInst>(Exit->getTerminator()); in getMaxNumOfPromotionsInLoop()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/include/llvm-c/ |
| HD | Core.h | 1579 macro(CatchSwitchInst) \
|