| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WasmEHPrepare.cpp | 205 if (isa<CatchPadInst>(Pad)) in prepareEHPads() 247 auto *CPI = cast<CatchPadInst>(BB->getFirstNonPHI()); in prepareEHPads() 320 auto *CPI = cast<CatchPadInst>(FPI); in prepareEHPad() 353 if (const auto *CatchPad = dyn_cast<CatchPadInst>(Pad)) { in calculateWasmEHInfo()
|
| H A D | WinEHPrepare.cpp | 143 ArrayRef<const CatchPadInst *> Handlers) { in addTryBlockMapEntry() 149 for (const CatchPadInst *CPI : Handlers) { in addTryBlockMapEntry() 194 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() 251 SmallVector<const CatchPadInst *, 2> Handlers; in calculateCXXStateNumbers() 253 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHI()); in calculateCXXStateNumbers() 376 cast<CatchPadInst>((*CatchSwitch->handler_begin())->getFirstNonPHI()); in calculateSEHStateNumbers() 446 if (isa<CatchPadInst>(EHPad)) in isTopLevelPadForMSVC() 581 const auto *Catch = cast<CatchPadInst>(CatchBlock->getFirstNonPHI()); in calculateClrEHStateNumbers() 612 if (const auto *Catch = dyn_cast<CatchPadInst>(Pad)) { in calculateClrEHStateNumbers() 956 auto *CatchPad = dyn_cast_or_null<CatchPadInst>(FuncletPad); in removeImplausibleInstructions()
|
| H A D | MachineFunction.cpp | 756 } else if (const auto *CPI = dyn_cast<CatchPadInst>(FirstI)) { in addLandingPad()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | AliasAnalysis.h | 58 class CatchPadInst; variable 743 ModRefInfo getModRefInfo(const CatchPadInst *I, const MemoryLocation &Loc); 746 ModRefInfo getModRefInfo(const CatchPadInst *I, const Value *P, 864 ModRefInfo getModRefInfo(const CatchPadInst *I, const MemoryLocation &Loc,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGObjCRuntime.cpp | 231 llvm::CatchPadInst *CPI = nullptr; in EmitTryCatchStmt() 234 if ((CPI = dyn_cast_or_null<llvm::CatchPadInst>(Handler.Block->getFirstNonPHI()))) { in EmitTryCatchStmt()
|
| H A D | CGCXXABI.h | 646 llvm::CatchPadInst *CPI; 648 CatchRetScope(llvm::CatchPadInst *CPI) : CPI(CPI) {} in CatchRetScope()
|
| H A D | CGException.cpp | 1229 auto *CPI = cast<llvm::CatchPadInst>(WasmCatchStartBlock->getFirstNonPHI()); in ExitCXXTryStmt() 2236 llvm::CatchPadInst *CPI = in ExitSEHTryStmt() 2237 cast<llvm::CatchPadInst>(CatchPadBB->getFirstNonPHI()); in ExitSEHTryStmt()
|
| H A D | MicrosoftCXXABI.cpp | 897 llvm::CatchPadInst *CPI = in emitBeginCatch() 898 cast<llvm::CatchPadInst>(CatchPadBB->getFirstNonPHI()); in emitBeginCatch()
|
| H A D | ItaniumCXXABI.cpp | 4757 NormalCleanup, cast<llvm::CatchPadInst>(CGF.CurrentFuncletPad)); in emitBeginCatch()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 2352 static CatchPadInst *getEmptyKey() { in markAliveBlocks() 2353 return DenseMapInfo<CatchPadInst *>::getEmptyKey(); in markAliveBlocks() 2356 static CatchPadInst *getTombstoneKey() { in markAliveBlocks() 2357 return DenseMapInfo<CatchPadInst *>::getTombstoneKey(); in markAliveBlocks() 2360 static unsigned getHashValue(CatchPadInst *CatchPad) { in markAliveBlocks() 2365 static bool isEqual(CatchPadInst *LHS, CatchPadInst *RHS) { in markAliveBlocks() 2375 SmallDenseMap<CatchPadInst *, detail::DenseSetEmpty, 4, in markAliveBlocks() 2376 CatchPadDenseMapInfo, detail::DenseSetPair<CatchPadInst *>> in markAliveBlocks() 2385 auto *CatchPad = cast<CatchPadInst>(HandlerBB->getFirstNonPHI()); in markAliveBlocks()
|
| H A D | InlineFunction.cpp | 270 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper() 362 if (isa<CatchPadInst>(ExitedPad)) in getUnwindDestTokenHelper() 400 if (auto *CPI = dyn_cast<CatchPadInst>(EHPad)) in getUnwindDestToken() 430 if (isa<CatchPadInst>(AncestorPad)) in getUnwindDestToken() 585 if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in HandleCallsInBlockInlinedThroughInvoke()
|
| H A D | CodeExtractor.cpp | 151 if (const auto *CPI = dyn_cast<CatchPadInst>(I)) { in isBlockValidForExtraction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | AliasAnalysis.cpp | 579 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() 585 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() 704 return getModRefInfo((const CatchPadInst *)I, Loc, AAQIP); in getModRefInfo()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 48 class CatchPadInst; variable 654 void visitCatchPad(const CatchPadInst &I);
|
| H A D | SelectionDAGISel.cpp | 1206 static bool hasExceptionPointerOrCodeUser(const CatchPadInst *CPI) { in hasExceptionPointerOrCodeUser() 1222 const CatchPadInst *CPI) { in mapWasmLandingPadIndex() 1263 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHI())) { in PrepareEHLandingPad() 1294 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHI())) in PrepareEHLandingPad()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 4439 class CatchPadInst : public FuncletPadInst { 4441 explicit CatchPadInst(Value *CatchSwitch, ArrayRef<Value *> Args, 4446 explicit CatchPadInst(Value *CatchSwitch, ArrayRef<Value *> Args, 4453 static CatchPadInst *Create(Value *CatchSwitch, ArrayRef<Value *> Args, 4458 CatchPadInst(CatchSwitch, Args, Values, NameStr, InsertBefore); 4461 static CatchPadInst *Create(Value *CatchSwitch, ArrayRef<Value *> Args, 4465 CatchPadInst(CatchSwitch, Args, Values, NameStr, InsertAtEnd); 4522 CatchPadInst *getCatchPad() const { return cast<CatchPadInst>(Op<0>()); } 4523 void setCatchPad(CatchPadInst *CatchPad) {
|
| H A D | InstVisitor.h | 200 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 | 1119 CatchPadInst *CreateCatchPad(Value *ParentPad, ArrayRef<Value *> Args, 1121 return Insert(CatchPadInst::Create(ParentPad, Args), Name); 1130 CatchReturnInst *CreateCatchRet(CatchPadInst *CatchPad, BasicBlock *BB) { in CreateCatchRet()
|
| H A D | InstrTypes.h | 2309 friend class CatchPadInst;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 531 void visitCatchPadInst(CatchPadInst &CPI); 3886 if (auto *CPI = dyn_cast<CatchPadInst>(&I)) { in visitEHPadPredecessors() 3994 void Verifier::visitCatchPadInst(CatchPadInst &CPI) { in visitCatchPadInst() 4015 Assert(isa<CatchPadInst>(CatchReturn.getOperand(0)), in visitCatchReturnInst() 4236 Assert(isa<CatchPadInst>(Handler->getFirstNonPHI()), in visitCatchSwitchInst() 4963 Assert(isa<CatchPadInst>(Call.getArgOperand(0)), in visitIntrinsicCall()
|
| H A D | Core.cpp | 3251 return wrap(unwrap(B)->CreateCatchRet(unwrap<CatchPadInst>(CatchPad), in LLVMBuildCatchRet() 3310 return wrap(unwrap<CatchPadInst>(CatchPad)->getCatchSwitch()); in LLVMGetParentCatchSwitch() 3314 unwrap<CatchPadInst>(CatchPad) in LLVMSetParentCatchSwitch()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Core.h | 1626 macro(CatchPadInst) \
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SimpleLoopUnswitch.cpp | 1146 (isa<PHINode>(I) || isa<LandingPadInst>(I) || isa<CatchPadInst>(I)) && in buildClonedLoopBlocks()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 2938 Code = isa<CatchPadInst>(FuncletPad) ? bitc::FUNC_CODE_INST_CATCHPAD in writeInstruction()
|