| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | DemoteRegToStack.cpp | 108 if (isa<CatchSwitchInst>(InsertPt)) in DemoteRegToStack() 110 if (isa<CatchSwitchInst>(InsertPt)) { in DemoteRegToStack() 166 if (isa<CatchSwitchInst>(InsertPt)) in DemotePHIToStack() 168 if (isa<CatchSwitchInst>(InsertPt)) { in DemotePHIToStack()
|
| H A D | InlineFunction.cpp | 259 return cast<CatchSwitchInst>(EHPad)->getParentPad(); in getParentPad() 278 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(CurrentPad)) { in getUnwindDestTokenHelper() 299 if (!isa<CleanupPadInst>(Child) && !isa<CatchSwitchInst>(Child)) in getUnwindDestTokenHelper() 339 } else if (isa<CleanupPadInst>(U) || isa<CatchSwitchInst>(U)) { in getUnwindDestTokenHelper() 524 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UselessPad)) { in getUnwindDestToken() 534 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken() 548 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken() 733 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(I)) { in HandleInlinedEHPad() 759 auto *NewCatchSwitch = CatchSwitchInst::Create( in HandleInlinedEHPad() 2595 if (isa<CatchSwitchInst>(CalledBB.getFirstNonPHIIt())) in InlineFunction() [all …]
|
| H A D | MoveAutoInit.cpp | 182 while (isa<CatchSwitchInst>(UsersDominator->getFirstNonPHIIt())) { in runMoveAutoInit()
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Instruction.cpp | 678 CatchSwitchInst *CatchPadInst::getCatchSwitch() const { in getCatchSwitch() 679 return cast<CatchSwitchInst>( in getCatchSwitch() 1042 CatchSwitchInst *CatchSwitchInst::create(Value *ParentPad, BasicBlock *UnwindBB, in create() 1047 llvm::CatchSwitchInst *LLVMCSI = Builder.CreateCatchSwitch( in create() 1052 Value *CatchSwitchInst::getParentPad() const { in getParentPad() 1053 return Ctx.getValue(cast<llvm::CatchSwitchInst>(Val)->getParentPad()); in getParentPad() 1056 void CatchSwitchInst::setParentPad(Value *ParentPad) { in setParentPad() 1058 .emplaceIfTracking<GenericSetter<&CatchSwitchInst::getParentPad, in setParentPad() 1059 &CatchSwitchInst::setParentPad>>(this); in setParentPad() 1060 cast<llvm::CatchSwitchInst>(Val)->setParentPad(ParentPad->Val); in setParentPad() [all …]
|
| H A D | Context.cpp | 190 auto *LLVMCatchSwitchInst = cast<llvm::CatchSwitchInst>(LLVMV); in getOrCreateValueInternal() 191 It->second = std::unique_ptr<CatchSwitchInst>( in getOrCreateValueInternal() 192 new CatchSwitchInst(LLVMCatchSwitchInst, *this)); in getOrCreateValueInternal() 578 CatchSwitchInst *Context::createCatchSwitchInst(llvm::CatchSwitchInst *I) { in createCatchSwitchInst() 579 auto NewPtr = std::unique_ptr<CatchSwitchInst>(new CatchSwitchInst(I, *this)); in createCatchSwitchInst() 580 return cast<CatchSwitchInst>(registerValue(std::move(NewPtr))); in createCatchSwitchInst()
|
| H A D | Tracker.cpp | 224 CatchSwitchAddHandler::CatchSwitchAddHandler(CatchSwitchInst *CSI) in CatchSwitchAddHandler() 230 auto *LLVMCSI = cast<llvm::CatchSwitchInst>(CSI->Val); in revert()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 363 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) { in getEHPadFromPredecessor() 384 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateCXXStateNumbers() 419 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) { in calculateCXXStateNumbers() 506 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateSEHStateNumbers() 539 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) { in calculateSEHStateNumbers() 581 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(EHPad)) in isTopLevelPadForMSVC() 689 else if (const auto *CSI = dyn_cast<CatchSwitchInst>(FirstNonPHI)) in calculateClrEHStateNumbers() 726 const auto *CatchSwitch = cast<CatchSwitchInst>(Pad); in calculateClrEHStateNumbers() 787 } else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(U)) { in calculateClrEHStateNumbers() 809 if (auto *CSI = dyn_cast<CatchSwitchInst>(UserUnwindPad)) in calculateClrEHStateNumbers() [all …]
|
| H A D | WasmEHPrepare.cpp | 395 if (const auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UnwindPad)) in calculateWasmEHInfo()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Context.h | 209 LLVM_ABI CatchSwitchInst *createCatchSwitchInst(llvm::CatchSwitchInst *I); 210 friend CatchSwitchInst; // For createCatchSwitchInst()
|
| H A D | Tracker.h | 63 class CatchSwitchInst; variable 333 CatchSwitchInst *CSI; 337 CatchSwitchAddHandler(CatchSwitchInst *CSI);
|
| H A D | Instruction.h | 85 friend class CatchSwitchInst; // For getTopmostLLVMInstruction(). variable 1596 LLVM_ABI CatchSwitchInst *getCatchSwitch() const; 1755 class CatchSwitchInst 1756 : public SingleLLVMInstructionImpl<llvm::CatchSwitchInst> { 1757 CatchSwitchInst(llvm::CatchSwitchInst *CSI, Context &Ctx) in CatchSwitchInst() function 1763 LLVM_ABI static CatchSwitchInst * 1771 return cast<llvm::CatchSwitchInst>(Val)->hasUnwindDest(); in hasUnwindDest() 1774 return cast<llvm::CatchSwitchInst>(Val)->unwindsToCaller(); in unwindsToCaller() 1780 return cast<llvm::CatchSwitchInst>(Val)->getNumHandlers(); in getNumHandlers()
|
| H A D | Values.def | 87 DEF_INSTR(CatchSwitch, OP(CatchSwitch), CatchSwitchInst)
|
| H A D | Value.h | 135 friend class CatchSwitchInst; // For getting `Val`. variable
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | SpillUtils.cpp | 106 static Instruction *splitBeforeCatchSwitch(CatchSwitchInst *CatchSwitch) { in splitBeforeCatchSwitch() 613 if (auto *CSI = dyn_cast<CatchSwitchInst>(DefBlock->getTerminator())) in getSpillInsertionPt()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instructions.cpp | 1083 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() function in CatchSwitchInst 1095 CatchSwitchInst::CatchSwitchInst(const CatchSwitchInst &CSI) in CatchSwitchInst() function in CatchSwitchInst 1106 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, in init() 1123 void CatchSwitchInst::growOperands(unsigned Size) { in growOperands() 1132 void CatchSwitchInst::addHandler(BasicBlock *Handler) { in addHandler() 1140 void CatchSwitchInst::removeHandler(handler_iterator HI) { in removeHandler() 4530 CatchSwitchInst *CatchSwitchInst::cloneImpl() const { in cloneImpl() 4531 return new CatchSwitchInst(*this); in cloneImpl()
|
| H A D | Core.cpp | 3132 } else if (CatchSwitchInst *CSI = dyn_cast<CatchSwitchInst>(unwrap(Invoke))) { in LLVMGetUnwindDest() 3145 } else if (CatchSwitchInst *CSI = dyn_cast<CatchSwitchInst>(unwrap(Invoke))) { in LLVMSetUnwindDest() 3556 unwrap<CatchSwitchInst>(CatchSwitch)->addHandler(unwrap(Dest)); in LLVMAddHandler() 3560 return unwrap<CatchSwitchInst>(CatchSwitch)->getNumHandlers(); in LLVMGetNumHandlers() 3564 CatchSwitchInst *CSI = unwrap<CatchSwitchInst>(CatchSwitch); in LLVMGetHandlers() 3575 ->setCatchSwitch(unwrap<CatchSwitchInst>(CatchSwitch)); in LLVMSetParentCatchSwitch()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 4102 class CatchSwitchInst : public Instruction { 4114 CatchSwitchInst(const CatchSwitchInst &CSI); 4120 LLVM_ABI CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, 4134 LLVM_ABI CatchSwitchInst *cloneImpl() const; 4139 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest, 4143 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr, 4260 struct OperandTraits<CatchSwitchInst> : public HungoffOperandTraits {}; 4262 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(CatchSwitchInst, Value) 4314 CatchSwitchInst *getCatchSwitch() const { 4315 return cast<CatchSwitchInst>(Op<-1>());
|
| H A D | InstVisitor.h | 244 RetTy visitCatchSwitchInst(CatchSwitchInst &I) { in visitCatchSwitchInst()
|
| H A D | Instruction.def | 136 HANDLE_TERM_INST (10, CatchSwitch , CatchSwitchInst)
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | PtrState.cpp | 267 if (isa<CatchSwitchInst>(InsertAfter)) in HandlePotentialUse()
|
| H A D | ObjCARCContract.cpp | 674 while (isa<CatchSwitchInst>(InsertBB->getFirstNonPHIIt())) { in run()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | DivRemPairs.cpp | 291 if (PredBB && !isa<CatchSwitchInst>(PredBB->getTerminator()) && in optimizeDivRem()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 54 class CatchSwitchInst; variable 509 void visitCatchSwitch(const CatchSwitchInst &I);
|
| H A D | FunctionLoweringInfo.cpp | 263 if (isa<CatchSwitchInst>(PadInst)) { in set()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 1602 CatchSwitchInst *CatchSwitchLongjmp = in handleLongjmpableCallsForWasmSjLj() 1743 if (auto *CSI = dyn_cast<CatchSwitchInst>(BB.getFirstNonPHIIt())) { in handleLongjmpableCallsForWasmSjLj()
|