| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 182 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CleanupPad) { in getCleanupRetUnwindDest() 210 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() 424 if (auto *InnerCleanupPad = dyn_cast<CleanupPadInst>(UserI)) { in calculateCXXStateNumbers() 447 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateCXXStateNumbers() 544 if (auto *InnerCleanupPad = dyn_cast<CleanupPadInst>(UserI)) { in calculateSEHStateNumbers() 554 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateSEHStateNumbers() 584 if (auto *CleanupPad = dyn_cast<CleanupPadInst>(EHPad)) in isTopLevelPadForMSVC() 687 if (const auto *CPI = dyn_cast<CleanupPadInst>(FirstNonPHI)) in calculateClrEHStateNumbers() 708 if (const auto *Cleanup = dyn_cast<CleanupPadInst>(Pad)) { in calculateClrEHStateNumbers() 773 const auto *Cleanup = cast<CleanupPadInst>(Pad); in calculateClrEHStateNumbers() [all …]
|
| H A D | WasmEHPrepare.cpp | 231 else if (isa<CleanupPadInst>(Pad)) in prepareEHPads()
|
| H A D | MachineFunction.cpp | 873 assert(isa<CleanupPadInst>(FirstI) && "Invalid landingpad!"); in addLandingPad()
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Context.cpp | 166 auto *LLVMCPI = cast<llvm::CleanupPadInst>(LLVMV); in getOrCreateValueInternal() 168 std::unique_ptr<CleanupPadInst>(new CleanupPadInst(LLVMCPI, *this)); in getOrCreateValueInternal() 558 CleanupPadInst *Context::createCleanupPadInst(llvm::CleanupPadInst *I) { in createCleanupPadInst() 559 auto NewPtr = std::unique_ptr<CleanupPadInst>(new CleanupPadInst(I, *this)); in createCleanupPadInst() 560 return cast<CleanupPadInst>(registerValue(std::move(NewPtr))); in createCleanupPadInst()
|
| H A D | Instruction.cpp | 696 CleanupPadInst *CleanupPadInst::create(Value *ParentPad, ArrayRef<Value *> Args, in create() 704 llvm::CleanupPadInst *LLVMI = in create() 748 CleanupReturnInst *CleanupReturnInst::create(CleanupPadInst *CleanupPad, in create() 755 cast<llvm::CleanupPadInst>(CleanupPad->Val), LLVMUnwindBB); in create() 759 CleanupPadInst *CleanupReturnInst::getCleanupPad() const { in getCleanupPad() 760 return cast<CleanupPadInst>( in getCleanupPad() 764 void CleanupReturnInst::setCleanupPad(CleanupPadInst *CleanupPad) { in setCleanupPad() 770 cast<llvm::CleanupPadInst>(CleanupPad->Val)); in setCleanupPad()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Context.h | 199 LLVM_ABI CleanupPadInst *createCleanupPadInst(llvm::CleanupPadInst *I); 200 friend CleanupPadInst; // For createCleanupPadInst()
|
| H A D | Instruction.h | 80 friend class CleanupPadInst; // For getTopmostLLVMInstruction(). variable 1565 friend class CleanupPadInst; // For constructor. variable 1608 class CleanupPadInst : public FuncletPadInst { 1609 CleanupPadInst(llvm::CleanupPadInst *CPI, Context &Ctx) in CleanupPadInst() function 1614 LLVM_ABI static CleanupPadInst *create(Value *ParentPad, 1655 LLVM_ABI static CleanupReturnInst *create(CleanupPadInst *CleanupPad, 1664 LLVM_ABI CleanupPadInst *getCleanupPad() const; 1665 LLVM_ABI void setCleanupPad(CleanupPadInst *CleanupPad);
|
| H A D | Values.def | 82 DEF_INSTR(CleanupPad, OP(CleanupPad), CleanupPadInst)
|
| H A D | Value.h | 131 friend class CleanupPadInst; // For getting `Val`. variable
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 299 if (!isa<CleanupPadInst>(Child) && !isa<CatchSwitchInst>(Child)) in getUnwindDestTokenHelper() 327 auto *CleanupPad = cast<CleanupPadInst>(CurrentPad); in getUnwindDestTokenHelper() 339 } else if (isa<CleanupPadInst>(U) || isa<CatchSwitchInst>(U)) { in getUnwindDestTokenHelper() 534 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken() 539 assert(isa<CleanupPadInst>(UselessPad)); in getUnwindDestToken() 548 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken() 2591 if (isa<CleanupPadInst>(CallSiteEHPad)) { in InlineFunction()
|
| H A D | BasicBlockUtils.cpp | 756 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(PadInst)) in ehAwareSplitEdge() 763 auto *NewCleanupPad = CleanupPadInst::Create(ParentPad, {}, BBName, NewBB); in ehAwareSplitEdge()
|
| H A D | CodeExtractor.cpp | 155 if (const auto *CPI = dyn_cast<CleanupPadInst>(I)) { in isBlockValidForExtraction()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 55 class CleanupPadInst; variable 512 void visitCleanupPad(const CleanupPadInst &CPI);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 744 if (isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHIIt())) in addStateStores() 786 bool InCleanup = isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHIIt()); in addStateStores()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| 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 | Instructions.h | 4267 class CleanupPadInst : public FuncletPadInst { 4269 explicit CleanupPadInst(Value *ParentPad, ArrayRef<Value *> Args, 4276 static CleanupPadInst *Create(Value *ParentPad, ArrayRef<Value *> Args = {}, 4281 CleanupPadInst(ParentPad, Args, AllocMarker, NameStr, InsertBefore); 4448 CleanupPadInst *getCleanupPad() const { 4449 return cast<CleanupPadInst>(Op<0>()); 4451 void setCleanupPad(CleanupPadInst *CleanupPad) {
|
| H A D | IRBuilder.h | 1317 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad, 1334 CleanupPadInst *CreateCleanupPad(Value *ParentPad, 1337 return Insert(CleanupPadInst::Create(ParentPad, Args), Name);
|
| H A D | InstrTypes.h | 2373 friend class CleanupPadInst;
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | SpillUtils.cpp | 112 CleanupPadInst::Create(CatchSwitch->getParentPad(), {}, "", CurrentBlock); in splitBeforeCatchSwitch()
|
| H A D | CoroFrame.cpp | 1319 CleanupPadInst *CleanupPad) { in rewritePHIsForCleanupPad() 1436 dyn_cast_or_null<CleanupPadInst>(BB.getFirstNonPHIIt())) { in rewritePHIs()
|
| H A D | CoroSplit.cpp | 378 auto *FromPad = cast<CleanupPadInst>(Bundle->Inputs[0]); in replaceUnwindCoroEnd()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 1545 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CPI) { in getCleanupRetUnwindDest() 1717 if (auto *CPI = dyn_cast<CleanupPadInst>(FromPad)) { in handleLongjmpableCallsForWasmSjLj()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCleanup.cpp | 1044 llvm::CleanupPadInst *CPI = nullptr; in PopCleanupBlock()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 613 void visitCleanupPadInst(CleanupPadInst &CPI); 4709 void Verifier::visitCleanupPadInst(CleanupPadInst &CPI) { in visitCleanupPadInst() 4759 } else if (auto *CPI = dyn_cast<CleanupPadInst>(U)) { in visitFuncletPadInst() 4825 if (isa<CleanupPadInst>(&FPI) && !isa<ConstantTokenNone>(UnwindPad) && in visitFuncletPadInst() 4932 Check(isa<CleanupPadInst>(CRI.getOperand(0)), in visitCleanupReturnInst()
|