Lines Matching defs:LPad
1508 LandingPadInst *LPad = OrigBB->getLandingPadInst();
1509 Instruction *Clone1 = LPad->clone();
1514 Instruction *Clone2 = LPad->clone();
1520 if (!LPad->use_empty()) {
1521 assert(!LPad->getType()->isTokenTy() &&
1522 "Split cannot be applied if LPad is token type. Otherwise an "
1524 PHINode *PN = PHINode::Create(LPad->getType(), 2, "lpad.phi", LPad->getIterator());
1527 LPad->replaceAllUsesWith(PN);
1529 LPad->eraseFromParent();
1533 LPad->replaceAllUsesWith(Clone1);
1534 LPad->eraseFromParent();