| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WasmEHPrepare.cpp | 230 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 | 156 ArrayRef<const CatchPadInst *> Handlers) { in addTryBlockMapEntry() 162 for (const CatchPadInst *CPI : Handlers) { in addTryBlockMapEntry() 207 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() 323 if (isa<CatchPadInst>(I) && isa<CatchReturnInst>(TI)) { in calculateSEHStateForAsynchEH() 325 cast<CatchPadInst>(I)->getArgOperand(0)->stripPointerCasts()); in calculateSEHStateForAsynchEH() 385 SmallVector<const CatchPadInst *, 2> Handlers; in calculateCXXStateNumbers() 387 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHI()); in calculateCXXStateNumbers() 582 if (isa<CatchPadInst>(EHPad)) in isTopLevelPadForMSVC() 727 const auto *Catch = cast<CatchPadInst>(CatchBlock->getFirstNonPHI()); in calculateClrEHStateNumbers() 757 if (const auto *Catch = dyn_cast<CatchPadInst>(Pad)) { in calculateClrEHStateNumbers() [all …]
|
| H A D | MachineFunction.cpp | 811 } else if (const auto *CPI = dyn_cast<CatchPadInst>(FirstI)) { in addLandingPad()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCXXABI.h | 681 llvm::CatchPadInst *CPI; 683 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 | 1258 auto *CPI = cast<llvm::CatchPadInst>(WasmCatchStartBlock->getFirstNonPHI()); in ExitCXXTryStmt() 2252 llvm::CatchPadInst *CPI = in ExitSEHTryStmt() 2253 cast<llvm::CatchPadInst>(CatchPadBB->getFirstNonPHI()); in ExitSEHTryStmt()
|
| H A D | MicrosoftCXXABI.cpp | 928 llvm::CatchPadInst *CPI = in emitBeginCatch() 929 cast<llvm::CatchPadInst>(CatchPadBB->getFirstNonPHI()); in emitBeginCatch()
|
| H A D | ItaniumCXXABI.cpp | 4828 NormalCleanup, cast<llvm::CatchPadInst>(CGF.CurrentFuncletPad)); in emitBeginCatch()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 3064 static CatchPadInst *getEmptyKey() { in markAliveBlocks() 3065 return DenseMapInfo<CatchPadInst *>::getEmptyKey(); in markAliveBlocks() 3068 static CatchPadInst *getTombstoneKey() { in markAliveBlocks() 3069 return DenseMapInfo<CatchPadInst *>::getTombstoneKey(); in markAliveBlocks() 3072 static unsigned getHashValue(CatchPadInst *CatchPad) { in markAliveBlocks() 3077 static bool isEqual(CatchPadInst *LHS, CatchPadInst *RHS) { in markAliveBlocks() 3087 SmallDenseMap<CatchPadInst *, detail::DenseSetEmpty, 4, in markAliveBlocks() 3088 CatchPadDenseMapInfo, detail::DenseSetPair<CatchPadInst *>> in markAliveBlocks() 3097 auto *CatchPad = cast<CatchPadInst>(HandlerBB->getFirstNonPHI()); in markAliveBlocks()
|
| H A D | InlineFunction.cpp | 271 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper() 363 if (isa<CatchPadInst>(ExitedPad)) in getUnwindDestTokenHelper() 401 if (auto *CPI = dyn_cast<CatchPadInst>(EHPad)) in getUnwindDestToken() 431 if (isa<CatchPadInst>(AncestorPad)) in getUnwindDestToken() 577 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-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | AliasAnalysis.h | 58 class CatchPadInst; variable 591 ModRefInfo getModRefInfo(const CatchPadInst *I, const MemoryLocation &Loc,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | AliasAnalysis.cpp | 540 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() 630 return getModRefInfo((const CatchPadInst *)I, Loc, AAQIP); in getModRefInfo()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 52 class CatchPadInst; variable 503 void visitCatchPad(const CatchPadInst &I);
|
| H A D | SelectionDAGISel.cpp | 1226 static bool hasExceptionPointerOrCodeUser(const CatchPadInst *CPI) { in hasExceptionPointerOrCodeUser() 1242 const CatchPadInst *CPI) { in mapWasmLandingPadIndex() 1286 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHI())) { in PrepareEHLandingPad() 1317 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHI())) in PrepareEHLandingPad()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 4547 class CatchPadInst : public FuncletPadInst { 4549 explicit CatchPadInst(Value *CatchSwitch, ArrayRef<Value *> Args, 4554 explicit CatchPadInst(Value *CatchSwitch, ArrayRef<Value *> Args, 4561 static CatchPadInst *Create(Value *CatchSwitch, ArrayRef<Value *> Args, 4566 CatchPadInst(CatchSwitch, Args, Values, NameStr, InsertBefore); 4569 static CatchPadInst *Create(Value *CatchSwitch, ArrayRef<Value *> Args, 4573 CatchPadInst(CatchSwitch, Args, Values, NameStr, InsertAtEnd); 4630 CatchPadInst *getCatchPad() const { return cast<CatchPadInst>(Op<0>()); } 4631 void setCatchPad(CatchPadInst *CatchPad) {
|
| 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 | IRBuilder.h | 1242 CatchPadInst *CreateCatchPad(Value *ParentPad, ArrayRef<Value *> Args, 1244 return Insert(CatchPadInst::Create(ParentPad, Args), Name); 1253 CatchReturnInst *CreateCatchRet(CatchPadInst *CatchPad, BasicBlock *BB) { in CreateCatchRet()
|
| H A D | InstrTypes.h | 2406 friend class CatchPadInst;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 1717 CatchPadInst *CatchPad = IRB.CreateCatchPad(CatchSwitchLongjmp, {}); in handleLongjmpableCallsForWasmSjLj() 1822 if (auto *CPI = dyn_cast<CatchPadInst>(FromPad)) { in handleLongjmpableCallsForWasmSjLj()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 582 void visitCatchPadInst(CatchPadInst &CPI); 4261 if (auto *CPI = dyn_cast<CatchPadInst>(&I)) { in visitEHPadPredecessors() 4373 void Verifier::visitCatchPadInst(CatchPadInst &CPI) { in visitCatchPadInst() 4394 Check(isa<CatchPadInst>(CatchReturn.getOperand(0)), in visitCatchReturnInst() 4615 Check(isa<CatchPadInst>(Handler->getFirstNonPHI()), in visitCatchSwitchInst() 5574 Check(isa<CatchPadInst>(Call.getArgOperand(0)), in visitIntrinsicCall()
|
| H A D | Core.cpp | 3244 return wrap(unwrap(B)->CreateCatchRet(unwrap<CatchPadInst>(CatchPad), in LLVMBuildCatchRet() 3302 return wrap(unwrap<CatchPadInst>(CatchPad)->getCatchSwitch()); in LLVMGetParentCatchSwitch() 3306 unwrap<CatchPadInst>(CatchPad) in LLVMSetParentCatchSwitch()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Core.h | 1772 macro(CatchPadInst) \
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SimpleLoopUnswitch.cpp | 1237 (isa<PHINode>(I) || isa<LandingPadInst>(I) || isa<CatchPadInst>(I)) && in buildClonedLoopBlocks()
|