Lines Matching refs:NewPN
789 PHINode *NewPN = PHINode::Create(I.getType(), PN->getNumIncomingValues()); in FoldOpIntoPhi() local
790 InsertNewInstBefore(NewPN, *PN); in FoldOpIntoPhi()
791 NewPN->takeName(PN); in FoldOpIntoPhi()
818 NewPN->addIncoming(InV, ThisBB); in FoldOpIntoPhi()
832 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); in FoldOpIntoPhi()
843 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); in FoldOpIntoPhi()
855 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); in FoldOpIntoPhi()
862 ReplaceInstUsesWith(*User, NewPN); in FoldOpIntoPhi()
865 return ReplaceInstUsesWith(I, NewPN); in FoldOpIntoPhi()
1409 PHINode *NewPN = Builder->CreatePHI(Op1->getOperand(DI)->getType(), in visitGetElementPtrInst() local
1414 NewPN->addIncoming(cast<GEPOperator>(I)->getOperand(DI), in visitGetElementPtrInst()
1417 NewGEP->setOperand(DI, NewPN); in visitGetElementPtrInst()
1420 NewGEP->setOperand(DI, NewPN); in visitGetElementPtrInst()