Lines Matching defs:CleanupPad
182 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CleanupPad) {
183 for (const User *U : CleanupPad->users())
210 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(FuncletPad))
211 FuncletUnwindDest = getCleanupRetUnwindDest(CleanupPad);
367 auto *CleanupPad = cast<CleanupReturnInst>(TI)->getCleanupPad();
368 if (CleanupPad->getParentPad() != ParentPad)
370 return CleanupPad->getParent();
445 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI);
449 if (FuncInfo.EHPadStateMap.count(CleanupPad))
453 FuncInfo.EHPadStateMap[CleanupPad] = CleanupState;
458 CleanupPad->getParentPad()))) {
463 for (const User *U : CleanupPad->users()) {
551 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI);
555 if (FuncInfo.EHPadStateMap.count(CleanupPad))
559 FuncInfo.EHPadStateMap[CleanupPad] = CleanupState;
564 getEHPadFromPredecessor(PredBlock, CleanupPad->getParentPad())))
567 for (const User *U : CleanupPad->users()) {
580 if (auto *CleanupPad = dyn_cast<CleanupPadInst>(EHPad))
581 return isa<ConstantTokenNone>(CleanupPad->getParentPad()) &&
582 getCleanupRetUnwindDest(CleanupPad) == nullptr;
1100 auto *CleanupPad = dyn_cast_or_null<CleanupPadInst>(FuncletPad);
1150 IsUnreachableCleanupret = CRI->getCleanupPad() != CleanupPad;
1155 if (Personality == EHPersonality::MSVC_CXX && CleanupPad) {