Lines Matching refs:NewPN
208 PHINode *NewPN = PHINode::Create(FirstOp->getType(), e, in FoldPHIArgGEPIntoPHI() local
210 InsertNewInstBefore(NewPN, PN); in FoldPHIArgGEPIntoPHI()
212 NewPN->addIncoming(FirstOp, PN.getIncomingBlock(0)); in FoldPHIArgGEPIntoPHI()
213 OperandPhis[i] = NewPN; in FoldPHIArgGEPIntoPHI()
214 FixedOperands[i] = NewPN; in FoldPHIArgGEPIntoPHI()
347 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in FoldPHIArgLoadIntoPHI() local
352 NewPN->addIncoming(InVal, PN.getIncomingBlock(0)); in FoldPHIArgLoadIntoPHI()
353 LoadInst *NewLI = new LoadInst(NewPN, "", isVolatile, LoadAlignment); in FoldPHIArgLoadIntoPHI()
377 NewPN->addIncoming(NewInVal, PN.getIncomingBlock(i)); in FoldPHIArgLoadIntoPHI()
384 delete NewPN; in FoldPHIArgLoadIntoPHI()
386 InsertNewInstBefore(NewPN, PN); in FoldPHIArgLoadIntoPHI()
548 PHINode *NewPN = PHINode::Create(FirstInst->getOperand(0)->getType(), in FoldPHIArgOpIntoPHI() local
553 NewPN->addIncoming(InVal, PN.getIncomingBlock(0)); in FoldPHIArgOpIntoPHI()
560 NewPN->addIncoming(NewInVal, PN.getIncomingBlock(i)); in FoldPHIArgOpIntoPHI()
568 delete NewPN; in FoldPHIArgOpIntoPHI()
570 InsertNewInstBefore(NewPN, PN); in FoldPHIArgOpIntoPHI()
571 PhiVal = NewPN; in FoldPHIArgOpIntoPHI()