Lines Matching defs:CatchSwitch
614 void visitCatchSwitchInst(CatchSwitchInst &CatchSwitch);
4766 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FPI.getParentPad())) {
4767 BasicBlock *SwitchUnwindDest = CatchSwitch->getUnwindDest();
4776 &FPI, FirstUser, CatchSwitch);
4783 void Verifier::visitCatchSwitchInst(CatchSwitchInst &CatchSwitch) {
4784 BasicBlock *BB = CatchSwitch.getParent();
4789 &CatchSwitch);
4793 Check(&*BB->getFirstNonPHIIt() == &CatchSwitch,
4795 &CatchSwitch);
4797 auto *ParentPad = CatchSwitch.getParentPad();
4801 if (BasicBlock *UnwindDest = CatchSwitch.getUnwindDest()) {
4806 &CatchSwitch);
4810 SiblingFuncletInfo[&CatchSwitch] = &CatchSwitch;
4813 Check(CatchSwitch.getNumHandlers() != 0,
4814 "CatchSwitchInst cannot have empty handler list", &CatchSwitch);
4816 for (BasicBlock *Handler : CatchSwitch.handlers()) {
4818 "CatchSwitchInst handlers must be catchpads", &CatchSwitch, Handler);
4821 visitEHPadPredecessors(CatchSwitch);
4822 visitTerminator(CatchSwitch);