Lines Matching defs:EHPad
353 // Given BB which ends in an unwind edge, return the EHPad that this BB belongs
365 assert(!TI->isEHPad() && "unexpected EHPad!");
372 // Starting from a EHPad, Backward walk through control-flow graph
493 // Starting from a EHPad, Backward walk through control-flow graph
575 static bool isTopLevelPadForMSVC(const Instruction *EHPad) {
576 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(EHPad))
579 if (auto *CleanupPad = dyn_cast<CleanupPadInst>(EHPad))
582 if (isa<CatchPadInst>(EHPad))
584 llvm_unreachable("unexpected EHPad!");
1230 Instruction *EHPad = PHIBlock->getFirstNonPHI();
1232 if (!EHPad->isTerminator()) {
1233 // If the EHPad isn't a terminator, then we can insert a load in this block
1245 // Otherwise, we have a PHI on a terminator EHPad, and we give up and insert