Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp194 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(FuncletPad)) in calculateStateNumbersForInvokes()
271 if (auto *InnerCleanupPad = dyn_cast<CleanupPadInst>(UserI)) { in calculateCXXStateNumbers()
289 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateCXXStateNumbers()
381 if (auto *InnerCleanupPad = dyn_cast<CleanupPadInst>(UserI)) { in calculateSEHStateNumbers()
391 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateSEHStateNumbers()
420 if (auto *CleanupPad = dyn_cast<CleanupPadInst>(EHPad)) in isTopLevelPadForMSVC()
511 if (const auto *CPI = dyn_cast<CleanupPadInst>(FirstNonPHI)) in calculateClrEHStateNumbers()
532 if (const auto *Cleanup = dyn_cast<CleanupPadInst>(Pad)) { in calculateClrEHStateNumbers()
600 const auto *Cleanup = cast<CleanupPadInst>(Pad); in calculateClrEHStateNumbers()
640 cast<CleanupPadInst>(UserUnwindPad)->getParentPad(); in calculateClrEHStateNumbers()
[all …]
H A DWasmEHPrepare.cpp248 else if (isa<CleanupPadInst>(Pad)) in prepareEHPads()
H A DMachineFunction.cpp672 assert(isa<CleanupPadInst>(FirstI) && "Invalid landingpad!"); in addLandingPad()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp267 if (!isa<CleanupPadInst>(Child) && !isa<CatchSwitchInst>(Child)) in getUnwindDestTokenHelper()
295 auto *CleanupPad = cast<CleanupPadInst>(CurrentPad); in getUnwindDestTokenHelper()
307 } else if (isa<CleanupPadInst>(U) || isa<CatchSwitchInst>(U)) { in getUnwindDestTokenHelper()
503 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken()
508 assert(isa<CleanupPadInst>(UselessPad)); in getUnwindDestToken()
516 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken()
1593 if (isa<CleanupPadInst>(CallSiteEHPad)) { in InlineFunction()
H A DCodeExtractor.cpp157 if (const auto *CPI = dyn_cast<CleanupPadInst>(I)) { in isBlockValidForExtraction()
H A DSimplifyCFG.cpp3887 CleanupPadInst *CPInst = RI->getCleanupPad(); in removeEmptyCleanup()
4027 auto *SuccessorCleanupPad = dyn_cast<CleanupPadInst>(&UnwindDest->front()); in mergeCleanupPad()
4031 CleanupPadInst *PredecessorCleanupPad = RI->getCleanupPad(); in mergeCleanupPad()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86WinEHState.cpp738 if (isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI())) in addStateStores()
780 bool InCleanup = isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI()); in addStateStores()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DInstructions.h4092 class CleanupPadInst : public FuncletPadInst {
4094 explicit CleanupPadInst(Value *ParentPad, ArrayRef<Value *> Args,
4099 explicit CleanupPadInst(Value *ParentPad, ArrayRef<Value *> Args,
4106 static CleanupPadInst *Create(Value *ParentPad, ArrayRef<Value *> Args = None,
4111 CleanupPadInst(ParentPad, Args, Values, NameStr, InsertBefore);
4114 static CleanupPadInst *Create(Value *ParentPad, ArrayRef<Value *> Args,
4118 CleanupPadInst(ParentPad, Args, Values, NameStr, InsertAtEnd);
4310 CleanupPadInst *getCleanupPad() const {
4311 return cast<CleanupPadInst>(Op<0>());
4313 void setCleanupPad(CleanupPadInst *CleanupPad) {
H A DInstVisitor.h201 RetTy visitCleanupPadInst(CleanupPadInst &I) { DELEGATE(FuncletPadInst); } in visitCleanupPadInst()
H A DInstruction.def200 HANDLE_FUNCLETPAD_INST(50, CleanupPad, CleanupPadInst)
H A DIRBuilder.h951 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad,
968 CleanupPadInst *CreateCleanupPad(Value *ParentPad,
971 return Insert(CleanupPadInst::Create(ParentPad, Args), Name);
H A DInstrTypes.h2012 friend class CleanupPadInst;
/freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp444 CleanupPadInst::Create(CatchSwitch->getParentPad(), {}, "", CurrentBlock); in splitBeforeCatchSwitch()
670 auto *NewCleanupPad = CleanupPadInst::Create(ParentPad, {}, "", NewBB); in ehAwareSplitEdge()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h53 class CleanupPadInst; variable
827 void visitCleanupPad(const CleanupPadInst &CPI);
H A DSelectionDAGBuilder.cpp1461 void SelectionDAGBuilder::visitCleanupPad(const CleanupPadInst &CPI) { in visitCleanupPad()
1499 } else if (isa<CleanupPadInst>(Pad)) { in findUnwindDestinations()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DVerifier.cpp488 void visitCleanupPadInst(CleanupPadInst &CPI);
3640 void Verifier::visitCleanupPadInst(CleanupPadInst &CPI) { in visitCleanupPadInst()
3691 } else if (auto *CPI = dyn_cast<CleanupPadInst>(U)) { in visitFuncletPadInst()
3756 if (isa<CleanupPadInst>(&FPI) && !isa<ConstantTokenNone>(UnwindPad) && in visitFuncletPadInst()
3863 Assert(isa<CleanupPadInst>(CRI.getOperand(0)), in visitCleanupReturnInst()
H A DCore.cpp3055 return wrap(unwrap(B)->CreateCleanupRet(unwrap<CleanupPadInst>(CatchPad), in LLVMBuildCleanupRet()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCleanup.cpp984 llvm::CleanupPadInst *CPI = nullptr; in PopCleanupBlock()
H A DCodeGenFunction.h593 return CurrentFuncletPad && isa<llvm::CleanupPadInst>(CurrentFuncletPad);
/freebsd-12.1/contrib/llvm/include/llvm-c/
H A DCore.h1575 macro(CleanupPadInst) \
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp2580 if (isa<CleanupPadInst>(ExitBB->getFirstNonPHI())) { in unswitchBestCondition()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4045 I = CleanupPadInst::Create(ParentPad, Args); in parseFunctionBody()
/freebsd-12.1/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp6147 Inst = CleanupPadInst::Create(ParentPad, Args); in ParseCleanupPad()