| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 209 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() 421 if (auto *InnerCleanupPad = dyn_cast<CleanupPadInst>(UserI)) { in calculateCXXStateNumbers() 444 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateCXXStateNumbers() 540 if (auto *InnerCleanupPad = dyn_cast<CleanupPadInst>(UserI)) { in calculateSEHStateNumbers() 550 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateSEHStateNumbers() 579 if (auto *CleanupPad = dyn_cast<CleanupPadInst>(EHPad)) in isTopLevelPadForMSVC() 682 if (const auto *CPI = dyn_cast<CleanupPadInst>(FirstNonPHI)) in calculateClrEHStateNumbers() 703 if (const auto *Cleanup = dyn_cast<CleanupPadInst>(Pad)) { in calculateClrEHStateNumbers() 768 const auto *Cleanup = cast<CleanupPadInst>(Pad); in calculateClrEHStateNumbers() 808 cast<CleanupPadInst>(UserUnwindPad)->getParentPad(); in calculateClrEHStateNumbers() [all …]
|
| H A D | WasmEHPrepare.cpp | 232 else if (isa<CleanupPadInst>(Pad)) in prepareEHPads()
|
| H A D | MachineFunction.cpp | 819 assert(isa<CleanupPadInst>(FirstI) && "Invalid landingpad!"); in addLandingPad()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 277 if (!isa<CleanupPadInst>(Child) && !isa<CatchSwitchInst>(Child)) in getUnwindDestTokenHelper() 305 auto *CleanupPad = cast<CleanupPadInst>(CurrentPad); in getUnwindDestTokenHelper() 317 } else if (isa<CleanupPadInst>(U) || isa<CatchSwitchInst>(U)) { in getUnwindDestTokenHelper() 513 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken() 518 assert(isa<CleanupPadInst>(UselessPad)); in getUnwindDestToken() 526 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken() 2165 if (isa<CleanupPadInst>(CallSiteEHPad)) { in InlineFunction()
|
| H A D | BasicBlockUtils.cpp | 885 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(PadInst)) in ehAwareSplitEdge() 892 auto *NewCleanupPad = CleanupPadInst::Create(ParentPad, {}, BBName, NewBB); in ehAwareSplitEdge()
|
| H A D | CodeExtractor.cpp | 159 if (const auto *CPI = dyn_cast<CleanupPadInst>(I)) { in isBlockValidForExtraction()
|
| H A D | SimplifyCFG.cpp | 5073 CleanupPadInst *CPInst = RI->getCleanupPad(); in removeEmptyCleanup() 5194 auto *SuccessorCleanupPad = dyn_cast<CleanupPadInst>(&UnwindDest->front()); in mergeCleanupPad() 5198 CleanupPadInst *PredecessorCleanupPad = RI->getCleanupPad(); in mergeCleanupPad()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 723 if (isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI())) in addStateStores() 765 bool InCleanup = isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI()); in addStateStores()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 55 class CleanupPadInst; variable 504 void visitCleanupPad(const CleanupPadInst &CPI);
|
| H A D | SelectionDAGBuilder.cpp | 1976 void SelectionDAGBuilder::visitCleanupPad(const CleanupPadInst &CPI) { in visitCleanupPad() 2020 if (isa<CleanupPadInst>(Pad)) { in findWasmUnwindDestinations() 2073 } else if (isa<CleanupPadInst>(Pad)) { in findUnwindDestinations()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 4505 class CleanupPadInst : public FuncletPadInst { 4507 explicit CleanupPadInst(Value *ParentPad, ArrayRef<Value *> Args, 4512 explicit CleanupPadInst(Value *ParentPad, ArrayRef<Value *> Args, 4519 static CleanupPadInst *Create(Value *ParentPad, 4525 CleanupPadInst(ParentPad, Args, Values, NameStr, InsertBefore); 4528 static CleanupPadInst *Create(Value *ParentPad, ArrayRef<Value *> Args, 4532 CleanupPadInst(ParentPad, Args, Values, NameStr, InsertAtEnd); 4726 CleanupPadInst *getCleanupPad() const { 4727 return cast<CleanupPadInst>(Op<0>()); 4729 void setCleanupPad(CleanupPadInst *CleanupPad) {
|
| H A D | InstVisitor.h | 198 RetTy visitCleanupPadInst(CleanupPadInst &I) { DELEGATE(FuncletPadInst); } in visitCleanupPadInst()
|
| H A D | Instruction.def | 200 HANDLE_FUNCLETPAD_INST(51, CleanupPad, CleanupPadInst)
|
| H A D | IRBuilder.h | 1230 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad, 1247 CleanupPadInst *CreateCleanupPad(Value *ParentPad, 1250 return Insert(CleanupPadInst::Create(ParentPad, Args), Name);
|
| H A D | InstrTypes.h | 2407 friend class CleanupPadInst;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 1648 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CPI) { in getCleanupRetUnwindDest() 1826 if (auto *CPI = dyn_cast<CleanupPadInst>(FromPad)) { in handleLongjmpableCallsForWasmSjLj()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 1697 CleanupPadInst::Create(CatchSwitch->getParentPad(), {}, "", CurrentBlock); in splitBeforeCatchSwitch() 2089 CleanupPadInst *CleanupPad) { in rewritePHIsForCleanupPad() 2205 dyn_cast_or_null<CleanupPadInst>(BB.getFirstNonPHI())) { in rewritePHIs()
|
| H A D | CoroSplit.cpp | 390 auto *FromPad = cast<CleanupPadInst>(Bundle->Inputs[0]); in replaceUnwindCoroEnd()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCleanup.cpp | 1030 llvm::CleanupPadInst *CPI = nullptr; in PopCleanupBlock()
|
| H A D | CodeGenFunction.h | 772 return CurrentFuncletPad && isa<llvm::CleanupPadInst>(CurrentFuncletPad);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 584 void visitCleanupPadInst(CleanupPadInst &CPI); 4401 void Verifier::visitCleanupPadInst(CleanupPadInst &CPI) { in visitCleanupPadInst() 4451 } else if (auto *CPI = dyn_cast<CleanupPadInst>(U)) { in visitFuncletPadInst() 4517 if (isa<CleanupPadInst>(&FPI) && !isa<ConstantTokenNone>(UnwindPad) && in visitFuncletPadInst() 4624 Check(isa<CleanupPadInst>(CRI.getOperand(0)), in visitCleanupReturnInst()
|
| H A D | Core.cpp | 3250 return wrap(unwrap(B)->CreateCleanupRet(unwrap<CleanupPadInst>(CatchPad), in LLVMBuildCleanupRet()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Core.h | 1773 macro(CleanupPadInst) \
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SimpleLoopUnswitch.cpp | 3284 if (isa<CleanupPadInst>(I) || isa<CatchSwitchInst>(I)) { in isSafeForNoNTrivialUnswitching()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 2678 if (isa<CleanupPadInst>(Pad)) { in findUnwindDestinations()
|