Lines Matching refs:NewPN
849 PHINode *NewPN = PHINode::Create(I.getType(), PN->getNumIncomingValues()); in FoldOpIntoPhi() local
850 InsertNewInstBefore(NewPN, *PN); in FoldOpIntoPhi()
851 NewPN->takeName(PN); in FoldOpIntoPhi()
878 NewPN->addIncoming(InV, ThisBB); in FoldOpIntoPhi()
892 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); in FoldOpIntoPhi()
903 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); in FoldOpIntoPhi()
915 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); in FoldOpIntoPhi()
922 ReplaceInstUsesWith(*User, NewPN); in FoldOpIntoPhi()
925 return ReplaceInstUsesWith(I, NewPN); in FoldOpIntoPhi()
1464 PHINode *NewPN; in visitGetElementPtrInst() local
1468 NewPN = Builder->CreatePHI(Op1->getOperand(DI)->getType(), in visitGetElementPtrInst()
1473 NewPN->addIncoming(cast<GEPOperator>(I)->getOperand(DI), in visitGetElementPtrInst()
1476 NewGEP->setOperand(DI, NewPN); in visitGetElementPtrInst()
1479 NewGEP->setOperand(DI, NewPN); in visitGetElementPtrInst()