Home | History | Annotate | Download | only in Utils

Lines Matching refs:LPad

547   LandingPadInst *LPad = OrigBB->getLandingPadInst();
548 Instruction *Clone1 = LPad->clone();
549 Clone1->setName(Twine("lpad") + Suffix1);
553 Instruction *Clone2 = LPad->clone();
554 Clone2->setName(Twine("lpad") + Suffix2);
559 if (!LPad->use_empty()) {
560 assert(!LPad->getType()->isTokenTy() &&
561 "Split cannot be applied if LPad is token type. Otherwise an "
563 PHINode *PN = PHINode::Create(LPad->getType(), 2, "lpad.phi", LPad);
566 LPad->replaceAllUsesWith(PN);
568 LPad->eraseFromParent();
572 LPad->replaceAllUsesWith(Clone1);
573 LPad->eraseFromParent();