Lines Matching defs:LPad
1509 LandingPadInst *LPad = OrigBB->getLandingPadInst();
1510 Instruction *Clone1 = LPad->clone();
1515 Instruction *Clone2 = LPad->clone();
1521 if (!LPad->use_empty()) {
1522 assert(!LPad->getType()->isTokenTy() &&
1523 "Split cannot be applied if LPad is token type. Otherwise an "
1525 PHINode *PN = PHINode::Create(LPad->getType(), 2, "lpad.phi", LPad->getIterator());
1528 LPad->replaceAllUsesWith(PN);
1530 LPad->eraseFromParent();
1534 LPad->replaceAllUsesWith(Clone1);
1535 LPad->eraseFromParent();