• Home
  • Raw
  • Download

Lines Matching refs:CleanupPad

157 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CleanupPad) {  in getCleanupRetUnwindDest()  argument
158 for (const User *U : CleanupPad->users()) in getCleanupRetUnwindDest()
185 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local
186 FuncletUnwindDest = getCleanupRetUnwindDest(CleanupPad); in calculateStateNumbersForInvokes()
221 auto *CleanupPad = cast<CleanupReturnInst>(TI)->getCleanupPad(); in getEHPadFromPredecessor() local
222 if (CleanupPad->getParentPad() != ParentPad) in getEHPadFromPredecessor()
224 return CleanupPad->getParent(); in getEHPadFromPredecessor()
279 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateCXXStateNumbers() local
283 if (FuncInfo.EHPadStateMap.count(CleanupPad)) in calculateCXXStateNumbers()
287 FuncInfo.EHPadStateMap[CleanupPad] = CleanupState; in calculateCXXStateNumbers()
292 CleanupPad->getParentPad()))) { in calculateCXXStateNumbers()
297 for (const User *U : CleanupPad->users()) { in calculateCXXStateNumbers()
381 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateSEHStateNumbers() local
385 if (FuncInfo.EHPadStateMap.count(CleanupPad)) in calculateSEHStateNumbers()
389 FuncInfo.EHPadStateMap[CleanupPad] = CleanupState; in calculateSEHStateNumbers()
394 getEHPadFromPredecessor(PredBlock, CleanupPad->getParentPad()))) in calculateSEHStateNumbers()
397 for (const User *U : CleanupPad->users()) { in calculateSEHStateNumbers()
410 if (auto *CleanupPad = dyn_cast<CleanupPadInst>(EHPad)) in isTopLevelPadForMSVC() local
411 return isa<ConstantTokenNone>(CleanupPad->getParentPad()) && in isTopLevelPadForMSVC()
412 getCleanupRetUnwindDest(CleanupPad) == nullptr; in isTopLevelPadForMSVC()
936 auto *CleanupPad = dyn_cast_or_null<CleanupPadInst>(FuncletPad); in removeImplausibleInstructions() local
986 IsUnreachableCleanupret = CRI->getCleanupPad() != CleanupPad; in removeImplausibleInstructions()
991 if (Personality == EHPersonality::MSVC_CXX && CleanupPad) { in removeImplausibleInstructions()