Lines Matching refs:NewPN
447 PHINode *NewPN = 0; in getPHIOperand() local
451 NewPN = PHINode::Create(Opd1->getType(), 2, Opd2->getName() + ".sink", in getPHIOperand()
453 NewPN->addIncoming(Opd1, S0->getParent()); in getPHIOperand()
454 NewPN->addIncoming(Opd2, S1->getParent()); in getPHIOperand()
455 if (NewPN->getType()->getScalarType()->isPointerTy()) { in getPHIOperand()
457 AA->copyValue(Opd1, NewPN); in getPHIOperand()
458 AA->copyValue(Opd2, NewPN); in getPHIOperand()
460 for (unsigned I = 0, E = NewPN->getNumIncomingValues(); I != E; ++I) { in getPHIOperand()
462 AA->addEscapingUse(NewPN->getOperandUse(J)); in getPHIOperand()
465 MD->invalidateCachedPointerInfo(NewPN); in getPHIOperand()
468 return NewPN; in getPHIOperand()
503 PHINode *NewPN = getPHIOperand(BB, S0, S1); in sinkStore() local
505 if (NewPN) in sinkStore()
506 SNew->setOperand(0, NewPN); in sinkStore()