Lines Matching defs:LPad
878 LandingPadInst *LPad = OrigBB->getLandingPadInst();
879 Instruction *Clone1 = LPad->clone();
884 Instruction *Clone2 = LPad->clone();
890 if (!LPad->use_empty()) {
891 assert(!LPad->getType()->isTokenTy() &&
892 "Split cannot be applied if LPad is token type. Otherwise an "
894 PHINode *PN = PHINode::Create(LPad->getType(), 2, "lpad.phi", LPad);
897 LPad->replaceAllUsesWith(PN);
899 LPad->eraseFromParent();
903 LPad->replaceAllUsesWith(Clone1);
904 LPad->eraseFromParent();