Lines Matching defs:CatchSwitch
606 void visitCatchSwitchInst(CatchSwitchInst &CatchSwitch);
4704 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FPI.getParentPad())) {
4705 BasicBlock *SwitchUnwindDest = CatchSwitch->getUnwindDest();
4714 &FPI, FirstUser, CatchSwitch);
4721 void Verifier::visitCatchSwitchInst(CatchSwitchInst &CatchSwitch) {
4722 BasicBlock *BB = CatchSwitch.getParent();
4727 &CatchSwitch);
4731 Check(BB->getFirstNonPHI() == &CatchSwitch,
4733 &CatchSwitch);
4735 auto *ParentPad = CatchSwitch.getParentPad();
4739 if (BasicBlock *UnwindDest = CatchSwitch.getUnwindDest()) {
4744 &CatchSwitch);
4748 SiblingFuncletInfo[&CatchSwitch] = &CatchSwitch;
4751 Check(CatchSwitch.getNumHandlers() != 0,
4752 "CatchSwitchInst cannot have empty handler list", &CatchSwitch);
4754 for (BasicBlock *Handler : CatchSwitch.handlers()) {
4756 "CatchSwitchInst handlers must be catchpads", &CatchSwitch, Handler);
4759 visitEHPadPredecessors(CatchSwitch);
4760 visitTerminator(CatchSwitch);