Home
last modified time | relevance | path

Searched refs:CleanupPadInst (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp196 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 DWasmEHPrepare.cpp207 else if (isa<CleanupPadInst>(Pad)) in prepareEHPads()
H A DMachineFunction.cpp763 assert(isa<CleanupPadInst>(FirstI) && "Invalid landingpad!"); in addLandingPad()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp276 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 DBasicBlockUtils.cpp628 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(PadInst)) in ehAwareSplitEdge()
635 auto *NewCleanupPad = CleanupPadInst::Create(ParentPad, {}, BBName, NewBB); in ehAwareSplitEdge()
H A DCodeExtractor.cpp162 if (const auto *CPI = dyn_cast<CleanupPadInst>(I)) { in isBlockValidForExtraction()
H A DSimplifyCFG.cpp4399 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 DSelectionDAGBuilder.h51 class CleanupPadInst; variable
655 void visitCleanupPad(const CleanupPadInst &CPI);
H A DSelectionDAGBuilder.cpp1720 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 DX86WinEHState.cpp727 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 DInstructions.h4398 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 DInstVisitor.h199 RetTy visitCleanupPadInst(CleanupPadInst &I) { DELEGATE(FuncletPadInst); } in visitCleanupPadInst()
H A DInstruction.def200 HANDLE_FUNCLETPAD_INST(51, CleanupPad, CleanupPadInst)
H A DIRBuilder.h1107 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad,
1124 CleanupPadInst *CreateCleanupPad(Value *ParentPad,
1127 return Insert(CleanupPadInst::Create(ParentPad, Args), Name);
H A DInstrTypes.h2310 friend class CleanupPadInst;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1478 CleanupPadInst::Create(CatchSwitch->getParentPad(), {}, "", CurrentBlock); in splitBeforeCatchSwitch()
1786 CleanupPadInst *CleanupPad) { in rewritePHIsForCleanupPad()
1903 dyn_cast_or_null<CleanupPadInst>(BB.getFirstNonPHI())) { in rewritePHIs()
H A DCoroSplit.cpp307 auto *FromPad = cast<CleanupPadInst>(Bundle->Inputs[0]); in replaceUnwindCoroEnd()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp533 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 DCore.cpp3257 return wrap(unwrap(B)->CreateCleanupRet(unwrap<CleanupPadInst>(CatchPad), in LLVMBuildCleanupRet()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCleanup.cpp1009 llvm::CleanupPadInst *CPI = nullptr; in PopCleanupBlock()
H A DCodeGenFunction.h725 return CurrentFuncletPad && isa<llvm::CleanupPadInst>(CurrentFuncletPad);
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h1627 macro(CleanupPadInst) \
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp2791 if (isa<CleanupPadInst>(I) || isa<CatchSwitchInst>(I)) { in unswitchBestCondition()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp2418 if (isa<CleanupPadInst>(Pad)) { in findUnwindDestinations()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4517 I = CleanupPadInst::Create(ParentPad, Args); in parseFunctionBody()

12