Lines Matching refs:CleanupPad

166 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CleanupPad) {  in getCleanupRetUnwindDest()  argument
167 for (const User *U : CleanupPad->users()) in getCleanupRetUnwindDest()
194 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local
195 FuncletUnwindDest = getCleanupRetUnwindDest(CleanupPad); in calculateStateNumbersForInvokes()
230 auto *CleanupPad = cast<CleanupReturnInst>(TI)->getCleanupPad(); in getEHPadFromPredecessor() local
231 if (CleanupPad->getParentPad() != ParentPad) in getEHPadFromPredecessor()
233 return CleanupPad->getParent(); in getEHPadFromPredecessor()
289 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateCXXStateNumbers() local
293 if (FuncInfo.EHPadStateMap.count(CleanupPad)) in calculateCXXStateNumbers()
297 FuncInfo.EHPadStateMap[CleanupPad] = CleanupState; in calculateCXXStateNumbers()
302 CleanupPad->getParentPad()))) { in calculateCXXStateNumbers()
307 for (const User *U : CleanupPad->users()) { in calculateCXXStateNumbers()
391 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateSEHStateNumbers() local
395 if (FuncInfo.EHPadStateMap.count(CleanupPad)) in calculateSEHStateNumbers()
399 FuncInfo.EHPadStateMap[CleanupPad] = CleanupState; in calculateSEHStateNumbers()
404 getEHPadFromPredecessor(PredBlock, CleanupPad->getParentPad()))) in calculateSEHStateNumbers()
407 for (const User *U : CleanupPad->users()) { in calculateSEHStateNumbers()
420 if (auto *CleanupPad = dyn_cast<CleanupPadInst>(EHPad)) in isTopLevelPadForMSVC() local
421 return isa<ConstantTokenNone>(CleanupPad->getParentPad()) && in isTopLevelPadForMSVC()
422 getCleanupRetUnwindDest(CleanupPad) == nullptr; in isTopLevelPadForMSVC()
940 auto *CleanupPad = dyn_cast_or_null<CleanupPadInst>(FuncletPad); in removeImplausibleInstructions() local
990 IsUnreachableCleanupret = CRI->getCleanupPad() != CleanupPad; in removeImplausibleInstructions()
995 if (Personality == EHPersonality::MSVC_CXX && CleanupPad) { in removeImplausibleInstructions()