Searched refs:PadInst (Results 1 – 4 of 4) sorted by relevance
233 const Instruction *PadInst = BB.getFirstNonPHI(); in set() local238 if (!isa<LandingPadInst>(PadInst)) { in set()243 if (isa<CatchSwitchInst>(PadInst)) { in set()244 assert(&*BB.begin() == PadInst && in set()248 if (isa<FuncletPadInst>(PadInst)) in set()249 assert(&*BB.begin() == PadInst && "WinEHPrepare failed to demote PHIs"); in set()
646 auto *PadInst = Succ->getFirstNonPHI(); in ehAwareSplitEdge() local647 if (!LandingPadReplacement && !PadInst->isEHPad()) in ehAwareSplitEdge()662 if (auto *FuncletPad = dyn_cast<FuncletPadInst>(PadInst)) in ehAwareSplitEdge()664 else if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(PadInst)) in ehAwareSplitEdge()
210 Instruction *PadInst = InvokeUnwindDest->getFirstNonPHI(); in calculateStateNumbersForInvokes() local211 assert(FuncInfo.EHPadStateMap.count(PadInst) && "EH Pad has no state!"); in calculateStateNumbersForInvokes()212 FuncInfo.InvokeStateMap[II] = FuncInfo.EHPadStateMap[PadInst]; in calculateStateNumbersForInvokes()
201 Instruction *PadInst = InvokeUnwindDest->getFirstNonPHI(); in calculateStateNumbersForInvokes() local202 assert(FuncInfo.EHPadStateMap.count(PadInst) && "EH Pad has no state!"); in calculateStateNumbersForInvokes()203 FuncInfo.InvokeStateMap[II] = FuncInfo.EHPadStateMap[PadInst]; in calculateStateNumbersForInvokes()