Lines Matching refs:NewPN
845 PHINode *NewPN = PHINode::Create(I.getType(), PN->getNumIncomingValues()); in FoldOpIntoPhi() local
846 InsertNewInstBefore(NewPN, *PN); in FoldOpIntoPhi()
847 NewPN->takeName(PN); in FoldOpIntoPhi()
874 NewPN->addIncoming(InV, ThisBB); in FoldOpIntoPhi()
888 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); in FoldOpIntoPhi()
899 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); in FoldOpIntoPhi()
911 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); in FoldOpIntoPhi()
918 replaceInstUsesWith(*User, NewPN); in FoldOpIntoPhi()
921 return replaceInstUsesWith(I, NewPN); in FoldOpIntoPhi()
1461 PHINode *NewPN; in visitGetElementPtrInst() local
1465 NewPN = Builder->CreatePHI(Op1->getOperand(DI)->getType(), in visitGetElementPtrInst()
1470 NewPN->addIncoming(cast<GEPOperator>(I)->getOperand(DI), in visitGetElementPtrInst()
1473 NewGEP->setOperand(DI, NewPN); in visitGetElementPtrInst()
1476 NewGEP->setOperand(DI, NewPN); in visitGetElementPtrInst()