| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WasmEHPrepare.cpp | 231 if (isa<CatchPadInst>(Pad)) in prepareEHPads() 284 auto *CPI = cast<CatchPadInst>(BB->getFirstNonPHI()); in prepareEHPads() 357 auto *CPI = cast<CatchPadInst>(FPI); in prepareEHPad() 390 if (const auto *CatchPad = dyn_cast<CatchPadInst>(Pad)) { in calculateWasmEHInfo()
|
| H A D | WinEHPrepare.cpp | 157 ArrayRef<const CatchPadInst *> Handlers) { in addTryBlockMapEntry() 163 for (const CatchPadInst *CPI : Handlers) { in addTryBlockMapEntry() 208 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() 324 if (isa<CatchPadInst>(I) && isa<CatchReturnInst>(TI)) { in calculateSEHStateForAsynchEH() 326 cast<CatchPadInst>(I)->getArgOperand(0)->stripPointerCasts()); in calculateSEHStateForAsynchEH() 386 SmallVector<const CatchPadInst *, 2> Handlers; in calculateCXXStateNumbers() 388 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHI()); in calculateCXXStateNumbers() 512 cast<CatchPadInst>((*CatchSwitch->handler_begin())->getFirstNonPHI()); in calculateSEHStateNumbers() 583 if (isa<CatchPadInst>(EHPad)) in isTopLevelPadForMSVC() 728 const auto *Catch = cast<CatchPadInst>(CatchBlock->getFirstNonPHI()); in calculateClrEHStateNumbers() [all …]
|
| H A D | MachineFunction.cpp | 823 } else if (const auto *CPI = dyn_cast<CatchPadInst>(FirstI)) { in addLandingPad()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCXXABI.h | 672 llvm::CatchPadInst *CPI; 674 CatchRetScope(llvm::CatchPadInst *CPI) : CPI(CPI) {} in CatchRetScope()
|
| H A D | CGObjCRuntime.cpp | 234 if (auto *CPI = dyn_cast_or_null<llvm::CatchPadInst>(CPICandidate)) { in EmitTryCatchStmt()
|
| H A D | CGException.cpp | 1259 auto *CPI = cast<llvm::CatchPadInst>(WasmCatchStartBlock->getFirstNonPHI()); in ExitCXXTryStmt() 2255 llvm::CatchPadInst *CPI = in ExitSEHTryStmt() 2256 cast<llvm::CatchPadInst>(CatchPadBB->getFirstNonPHI()); in ExitSEHTryStmt()
|
| H A D | MicrosoftCXXABI.cpp | 926 llvm::CatchPadInst *CPI = in emitBeginCatch() 927 cast<llvm::CatchPadInst>(CatchPadBB->getFirstNonPHI()); in emitBeginCatch()
|
| H A D | ItaniumCXXABI.cpp | 5115 NormalCleanup, cast<llvm::CatchPadInst>(CGF.CurrentFuncletPad)); in emitBeginCatch()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 3110 static CatchPadInst *getEmptyKey() { in markAliveBlocks() 3111 return DenseMapInfo<CatchPadInst *>::getEmptyKey(); in markAliveBlocks() 3114 static CatchPadInst *getTombstoneKey() { in markAliveBlocks() 3115 return DenseMapInfo<CatchPadInst *>::getTombstoneKey(); in markAliveBlocks() 3118 static unsigned getHashValue(CatchPadInst *CatchPad) { in markAliveBlocks() 3123 static bool isEqual(CatchPadInst *LHS, CatchPadInst *RHS) { in markAliveBlocks() 3133 SmallDenseMap<CatchPadInst *, detail::DenseSetEmpty, 4, in markAliveBlocks() 3134 CatchPadDenseMapInfo, detail::DenseSetPair<CatchPadInst *>> in markAliveBlocks() 3143 auto *CatchPad = cast<CatchPadInst>(HandlerBB->getFirstNonPHI()); in markAliveBlocks()
|
| H A D | InlineFunction.cpp | 274 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper() 366 if (isa<CatchPadInst>(ExitedPad)) in getUnwindDestTokenHelper() 404 if (auto *CPI = dyn_cast<CatchPadInst>(EHPad)) in getUnwindDestToken() 434 if (isa<CatchPadInst>(AncestorPad)) in getUnwindDestToken() 580 if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in HandleCallsInBlockInlinedThroughInvoke()
|
| H A D | CodeExtractor.cpp | 148 if (const auto *CPI = dyn_cast<CatchPadInst>(I)) { in isBlockValidForExtraction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | AliasAnalysis.cpp | 542 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() 632 return getModRefInfo((const CatchPadInst *)I, Loc, AAQIP); in getModRefInfo()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | AliasAnalysis.h | 59 class CatchPadInst; variable 601 ModRefInfo getModRefInfo(const CatchPadInst *I, const MemoryLocation &Loc,
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 52 class CatchPadInst; variable 512 void visitCatchPad(const CatchPadInst &I);
|
| H A D | SelectionDAGISel.cpp | 1337 static bool hasExceptionPointerOrCodeUser(const CatchPadInst *CPI) { in hasExceptionPointerOrCodeUser() 1353 const CatchPadInst *CPI) { in mapWasmLandingPadIndex() 1397 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHI())) { in PrepareEHLandingPad() 1428 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHI())) in PrepareEHLandingPad()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | InstVisitor.h | 199 RetTy visitCatchPadInst(CatchPadInst &I) { DELEGATE(FuncletPadInst); } in visitCatchPadInst()
|
| H A D | Instruction.def | 201 HANDLE_FUNCLETPAD_INST(52, CatchPad , CatchPadInst)
|
| H A D | Instructions.h | 4145 class CatchPadInst : public FuncletPadInst { 4147 explicit CatchPadInst(Value *CatchSwitch, ArrayRef<Value *> Args, 4154 static CatchPadInst *Create(Value *CatchSwitch, ArrayRef<Value *> Args, 4159 CatchPadInst(CatchSwitch, Args, Values, NameStr, InsertBefore); 4208 CatchPadInst *getCatchPad() const { return cast<CatchPadInst>(Op<0>()); } 4209 void setCatchPad(CatchPadInst *CatchPad) {
|
| H A D | IRBuilder.h | 1253 CatchPadInst *CreateCatchPad(Value *ParentPad, ArrayRef<Value *> Args, 1255 return Insert(CatchPadInst::Create(ParentPad, Args), Name); 1264 CatchReturnInst *CreateCatchRet(CatchPadInst *CatchPad, BasicBlock *BB) { in CreateCatchRet()
|
| H A D | InstrTypes.h | 2430 friend class CatchPadInst;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 1604 CatchPadInst *CatchPad = IRB.CreateCatchPad(CatchSwitchLongjmp, {}); in handleLongjmpableCallsForWasmSjLj() 1707 if (auto *CPI = dyn_cast<CatchPadInst>(FromPad)) { in handleLongjmpableCallsForWasmSjLj()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 602 void visitCatchPadInst(CatchPadInst &CPI); 4396 if (auto *CPI = dyn_cast<CatchPadInst>(&I)) { in visitEHPadPredecessors() 4513 void Verifier::visitCatchPadInst(CatchPadInst &CPI) { in visitCatchPadInst() 4534 Check(isa<CatchPadInst>(CatchReturn.getOperand(0)), in visitCatchReturnInst() 4755 Check(isa<CatchPadInst>(Handler->getFirstNonPHI()), in visitCatchSwitchInst() 5781 Check(isa<CatchPadInst>(Call.getArgOperand(0)), in visitIntrinsicCall()
|
| H A D | Core.cpp | 3457 return wrap(unwrap(B)->CreateCatchRet(unwrap<CatchPadInst>(CatchPad), in LLVMBuildCatchRet() 3515 return wrap(unwrap<CatchPadInst>(CatchPad)->getCatchSwitch()); in LLVMGetParentCatchSwitch() 3519 unwrap<CatchPadInst>(CatchPad) in LLVMSetParentCatchSwitch()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Core.h | 1891 macro(CatchPadInst) \
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SimpleLoopUnswitch.cpp | 1246 (isa<PHINode>(I) || isa<LandingPadInst>(I) || isa<CatchPadInst>(I)) && in buildClonedLoopBlocks()
|