| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 226 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 …]
|
| H A D | WasmEHPrepare.cpp | 375 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UnwindPad)) in calculateWasmEHInfo()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 237 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() 1854 if (isa<CatchSwitchInst>(CalledBB.getFirstNonPHI())) in InlineFunction() [all …]
|
| H A D | Local.cpp | 2334 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(Terminator)) { in markAliveBlocks() 2364 for (CatchSwitchInst::handler_iterator I = CatchSwitch->handler_begin(), in markAliveBlocks() 2411 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) { in removeUnwindEdge() 2412 auto *NewCatchSwitch = CatchSwitchInst::Create( in removeUnwindEdge()
|
| H A D | BasicBlockUtils.cpp | 536 else if (auto *CS = dyn_cast<CatchSwitchInst>(TI)) in setUnwindEdgeTo() 628 else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(PadInst)) in ehAwareSplitEdge()
|
| H A D | SCCPSolver.cpp | 299 void visitCatchSwitchInst(CatchSwitchInst &CPI) { in visitCatchSwitchInst()
|
| H A D | CodeExtractor.cpp | 139 if (const auto *CSI = dyn_cast<CatchSwitchInst>(I)) { in isBlockValidForExtraction()
|
| H A D | SimplifyIndVar.cpp | 1711 if (isa<CatchSwitchInst>(UsePhi->getParent()->getTerminator())) in widenIVUse()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 4209 class CatchSwitchInst : public Instruction { 4219 CatchSwitchInst(const CatchSwitchInst &CSI); 4225 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, 4233 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, 4247 CatchSwitchInst *cloneImpl() const; 4250 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest, 4254 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr, 4258 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest, 4261 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr, 4378 struct OperandTraits<CatchSwitchInst> : public HungoffOperandTraits<2> {}; [all …]
|
| H A D | InstVisitor.h | 249 RetTy visitCatchSwitchInst(CatchSwitchInst &I) { in visitCatchSwitchInst()
|
| H A D | Instruction.def | 136 HANDLE_TERM_INST (10, CatchSwitch , CatchSwitchInst)
|
| H A D | IRBuilder.h | 1094 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB, 1097 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | Instructions.cpp | 1092 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst 1104 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst 1115 CatchSwitchInst::CatchSwitchInst(const CatchSwitchInst &CSI) in CatchSwitchInst() function in CatchSwitchInst 1126 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, in init() 1143 void CatchSwitchInst::growOperands(unsigned Size) { in growOperands() 1152 void CatchSwitchInst::addHandler(BasicBlock *Handler) { in addHandler() 1160 void CatchSwitchInst::removeHandler(handler_iterator HI) { in removeHandler() 4522 CatchSwitchInst *CatchSwitchInst::cloneImpl() const { in cloneImpl() 4523 return new CatchSwitchInst(*this); in cloneImpl()
|
| H A D | Core.cpp | 2927 } else if (CatchSwitchInst *CSI = dyn_cast<CatchSwitchInst>(unwrap(Invoke))) { in LLVMGetUnwindDest() 2940 } else if (CatchSwitchInst *CSI = dyn_cast<CatchSwitchInst>(unwrap(Invoke))) { in LLVMSetUnwindDest() 3285 unwrap<CatchSwitchInst>(CatchSwitch)->addHandler(unwrap(Dest)); in LLVMAddHandler() 3289 return unwrap<CatchSwitchInst>(CatchSwitch)->getNumHandlers(); in LLVMGetNumHandlers() 3293 CatchSwitchInst *CSI = unwrap<CatchSwitchInst>(CatchSwitch); in LLVMGetHandlers() 3304 ->setCatchSwitch(unwrap<CatchSwitchInst>(CatchSwitch)); in LLVMSetParentCatchSwitch()
|
| H A D | Verifier.cpp | 535 void visitCatchSwitchInst(CatchSwitchInst &CatchSwitch); 2343 else if (auto *CSI = dyn_cast<CatchSwitchInst>(Terminator)) in getSuccPad() 3896 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad() 3949 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(TI)) { in visitEHPadPredecessors() 4035 Assert(isa<CatchSwitchInst>(CPI.getParentPad()), in visitCatchPadInst() 4092 } else if (auto *CSI = dyn_cast<CatchSwitchInst>(U)) { in visitFuncletPadInst() 4219 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FPI.getParentPad())) { in visitFuncletPadInst() 4236 void Verifier::visitCatchSwitchInst(CatchSwitchInst &CatchSwitch) { in visitCatchSwitchInst()
|
| H A D | Instruction.cpp | 657 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(this)) in mayThrow()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 50 class CatchSwitchInst; variable 652 void visitCatchSwitch(const CatchSwitchInst &I);
|
| H A D | FunctionLoweringInfo.cpp | 259 if (isa<CatchSwitchInst>(PadInst)) { in set()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
| H A D | PtrState.cpp | 267 if (isa<CatchSwitchInst>(InsertAfter)) in HandlePotentialUse()
|
| H A D | ObjCARCContract.cpp | 622 while (isa<CatchSwitchInst>(InsertBB->getFirstNonPHI())) { in run()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 1450 static Instruction *splitBeforeCatchSwitch(CatchSwitchInst *CatchSwitch) { in splitBeforeCatchSwitch() 1574 if (auto *CSI = dyn_cast<CatchSwitchInst>(DefBlock->getTerminator())) in insertSpills() 1850 if (CatchSwitchInst *CS = in rewritePHIs() 1851 dyn_cast<CatchSwitchInst>(Pred->getTerminator())) { in rewritePHIs()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGException.cpp | 956 llvm::CatchSwitchInst *CatchSwitch = in emitCatchPadBlock() 1000 llvm::CatchSwitchInst *CatchSwitch = in emitWasmCatchPadBlock() 1225 cast<llvm::CatchSwitchInst>(DispatchBlock->getFirstNonPHI()); in ExitCXXTryStmt()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | LICM.cpp | 434 return isa<CatchSwitchInst>(Exit->getTerminator()); in runOnLoop() 1426 if (isa<CatchSwitchInst>(BB->getTerminator())) in isNotUsedOrFreeInLoop()
|
| H A D | LoopStrengthReduce.cpp | 3452 if (isa<CatchSwitchInst>(UserInst->getParent()->getTerminator())) in CollectLoopInvariantFixupsAndFormulae() 5086 if (isa<CatchSwitchInst>(Tentative)) in HoistInsertPosition() 5392 !isa<CatchSwitchInst>(BB->getTerminator())) { in RewriteForPHI() 5644 isa<CatchSwitchInst>(FirstNonPHI)) in LSRInstance() 5646 if (isa<CatchSwitchInst>(PredBB->getFirstNonPHI())) in LSRInstance()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 338 return isa<CatchSwitchInst>(Exit->getTerminator()); in isPromotionPossible()
|