Lines Matching refs:FirstNonPHI
228 const Instruction *FirstNonPHI, in calculateCXXStateNumbers() argument
230 const BasicBlock *BB = FirstNonPHI->getParent(); in calculateCXXStateNumbers()
233 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateCXXStateNumbers()
279 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateCXXStateNumbers()
329 const Instruction *FirstNonPHI, in calculateSEHStateNumbers() argument
331 const BasicBlock *BB = FirstNonPHI->getParent(); in calculateSEHStateNumbers()
334 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) { in calculateSEHStateNumbers()
381 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateSEHStateNumbers()
427 const Instruction *FirstNonPHI = BB.getFirstNonPHI(); in calculateSEHStateNumbers() local
428 if (!isTopLevelPadForMSVC(FirstNonPHI)) in calculateSEHStateNumbers()
430 ::calculateSEHStateNumbers(FuncInfo, FirstNonPHI, -1); in calculateSEHStateNumbers()
445 const Instruction *FirstNonPHI = BB.getFirstNonPHI(); in calculateWinCXXEHStateNumbers() local
446 if (!isTopLevelPadForMSVC(FirstNonPHI)) in calculateWinCXXEHStateNumbers()
448 calculateCXXStateNumbers(FuncInfo, FirstNonPHI, -1); in calculateWinCXXEHStateNumbers()
499 const Instruction *FirstNonPHI = BB.getFirstNonPHI(); in calculateClrEHStateNumbers() local
501 if (const auto *CPI = dyn_cast<CleanupPadInst>(FirstNonPHI)) in calculateClrEHStateNumbers()
503 else if (const auto *CSI = dyn_cast<CatchSwitchInst>(FirstNonPHI)) in calculateClrEHStateNumbers()
508 Worklist.emplace_back(FirstNonPHI, -1); in calculateClrEHStateNumbers()
933 Instruction *FirstNonPHI = FuncletPadBB->getFirstNonPHI(); in removeImplausibleInstructions() local
934 auto *FuncletPad = dyn_cast<FuncletPadInst>(FirstNonPHI); in removeImplausibleInstructions()