| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 196 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() 286 if (auto *InnerCleanupPad = dyn_cast<CleanupPadInst>(UserI)) { in calculateCXXStateNumbers() 309 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateCXXStateNumbers() 404 if (auto *InnerCleanupPad = dyn_cast<CleanupPadInst>(UserI)) { in calculateSEHStateNumbers() 414 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateSEHStateNumbers() 443 if (auto *CleanupPad = dyn_cast<CleanupPadInst>(EHPad)) in isTopLevelPadForMSVC() 534 if (const auto *CPI = dyn_cast<CleanupPadInst>(FirstNonPHI)) in calculateClrEHStateNumbers() 555 if (const auto *Cleanup = dyn_cast<CleanupPadInst>(Pad)) { in calculateClrEHStateNumbers() 623 const auto *Cleanup = cast<CleanupPadInst>(Pad); in calculateClrEHStateNumbers() 663 cast<CleanupPadInst>(UserUnwindPad)->getParentPad(); in calculateClrEHStateNumbers() [all …]
|
| H A D | WasmEHPrepare.cpp | 207 else if (isa<CleanupPadInst>(Pad)) in prepareEHPads()
|
| H A D | MachineFunction.cpp | 763 assert(isa<CleanupPadInst>(FirstI) && "Invalid landingpad!"); in addLandingPad()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 276 if (!isa<CleanupPadInst>(Child) && !isa<CatchSwitchInst>(Child)) in getUnwindDestTokenHelper() 304 auto *CleanupPad = cast<CleanupPadInst>(CurrentPad); in getUnwindDestTokenHelper() 316 } else if (isa<CleanupPadInst>(U) || isa<CatchSwitchInst>(U)) { in getUnwindDestTokenHelper() 512 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken() 517 assert(isa<CleanupPadInst>(UselessPad)); in getUnwindDestToken() 525 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken() 1853 if (isa<CleanupPadInst>(CallSiteEHPad)) { in InlineFunction()
|
| H A D | BasicBlockUtils.cpp | 628 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(PadInst)) in ehAwareSplitEdge() 635 auto *NewCleanupPad = CleanupPadInst::Create(ParentPad, {}, BBName, NewBB); in ehAwareSplitEdge()
|
| H A D | CodeExtractor.cpp | 162 if (const auto *CPI = dyn_cast<CleanupPadInst>(I)) { in isBlockValidForExtraction()
|
| H A D | SimplifyCFG.cpp | 4399 CleanupPadInst *CPInst = RI->getCleanupPad(); in removeEmptyCleanup() 4520 auto *SuccessorCleanupPad = dyn_cast<CleanupPadInst>(&UnwindDest->front()); in mergeCleanupPad() 4524 CleanupPadInst *PredecessorCleanupPad = RI->getCleanupPad(); in mergeCleanupPad()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 51 class CleanupPadInst; variable 655 void visitCleanupPad(const CleanupPadInst &CPI);
|
| H A D | SelectionDAGBuilder.cpp | 1720 void SelectionDAGBuilder::visitCleanupPad(const CleanupPadInst &CPI) { in visitCleanupPad() 1764 if (isa<CleanupPadInst>(Pad)) { in findWasmUnwindDestinations() 1817 } else if (isa<CleanupPadInst>(Pad)) { in findUnwindDestinations()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 727 if (isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI())) in addStateStores() 769 bool InCleanup = isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI()); in addStateStores()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 4398 class CleanupPadInst : public FuncletPadInst { 4400 explicit CleanupPadInst(Value *ParentPad, ArrayRef<Value *> Args, 4405 explicit CleanupPadInst(Value *ParentPad, ArrayRef<Value *> Args, 4412 static CleanupPadInst *Create(Value *ParentPad, ArrayRef<Value *> Args = None, 4417 CleanupPadInst(ParentPad, Args, Values, NameStr, InsertBefore); 4420 static CleanupPadInst *Create(Value *ParentPad, ArrayRef<Value *> Args, 4424 CleanupPadInst(ParentPad, Args, Values, NameStr, InsertAtEnd); 4618 CleanupPadInst *getCleanupPad() const { 4619 return cast<CleanupPadInst>(Op<0>()); 4621 void setCleanupPad(CleanupPadInst *CleanupPad) {
|
| H A D | InstVisitor.h | 199 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 | 1107 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad, 1124 CleanupPadInst *CreateCleanupPad(Value *ParentPad, 1127 return Insert(CleanupPadInst::Create(ParentPad, Args), Name);
|
| H A D | InstrTypes.h | 2310 friend class CleanupPadInst;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 1478 CleanupPadInst::Create(CatchSwitch->getParentPad(), {}, "", CurrentBlock); in splitBeforeCatchSwitch() 1786 CleanupPadInst *CleanupPad) { in rewritePHIsForCleanupPad() 1903 dyn_cast_or_null<CleanupPadInst>(BB.getFirstNonPHI())) { in rewritePHIs()
|
| H A D | CoroSplit.cpp | 307 auto *FromPad = cast<CleanupPadInst>(Bundle->Inputs[0]); in replaceUnwindCoroEnd()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 533 void visitCleanupPadInst(CleanupPadInst &CPI); 4022 void Verifier::visitCleanupPadInst(CleanupPadInst &CPI) { in visitCleanupPadInst() 4073 } else if (auto *CPI = dyn_cast<CleanupPadInst>(U)) { in visitFuncletPadInst() 4138 if (isa<CleanupPadInst>(&FPI) && !isa<ConstantTokenNone>(UnwindPad) && in visitFuncletPadInst() 4245 Assert(isa<CleanupPadInst>(CRI.getOperand(0)), in visitCleanupReturnInst()
|
| H A D | Core.cpp | 3257 return wrap(unwrap(B)->CreateCleanupRet(unwrap<CleanupPadInst>(CatchPad), in LLVMBuildCleanupRet()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCleanup.cpp | 1009 llvm::CleanupPadInst *CPI = nullptr; in PopCleanupBlock()
|
| H A D | CodeGenFunction.h | 725 return CurrentFuncletPad && isa<llvm::CleanupPadInst>(CurrentFuncletPad);
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Core.h | 1627 macro(CleanupPadInst) \
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SimpleLoopUnswitch.cpp | 2791 if (isa<CleanupPadInst>(I) || isa<CatchSwitchInst>(I)) { in unswitchBestCondition()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 2418 if (isa<CleanupPadInst>(Pad)) { in findUnwindDestinations()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 4517 I = CleanupPadInst::Create(ParentPad, Args); in parseFunctionBody()
|