Lines Matching refs:NewPN
198 PHINode *NewPN = PHINode::Create(FirstOp->getType(), e, in FoldPHIArgGEPIntoPHI() local
200 InsertNewInstBefore(NewPN, PN); in FoldPHIArgGEPIntoPHI()
202 NewPN->addIncoming(FirstOp, PN.getIncomingBlock(0)); in FoldPHIArgGEPIntoPHI()
203 OperandPhis[i] = NewPN; in FoldPHIArgGEPIntoPHI()
204 FixedOperands[i] = NewPN; in FoldPHIArgGEPIntoPHI()
337 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in FoldPHIArgLoadIntoPHI() local
342 NewPN->addIncoming(InVal, PN.getIncomingBlock(0)); in FoldPHIArgLoadIntoPHI()
343 LoadInst *NewLI = new LoadInst(NewPN, "", isVolatile, LoadAlignment); in FoldPHIArgLoadIntoPHI()
367 NewPN->addIncoming(NewInVal, PN.getIncomingBlock(i)); in FoldPHIArgLoadIntoPHI()
374 delete NewPN; in FoldPHIArgLoadIntoPHI()
376 InsertNewInstBefore(NewPN, PN); in FoldPHIArgLoadIntoPHI()
522 PHINode *NewPN = PHINode::Create(FirstInst->getOperand(0)->getType(), in FoldPHIArgOpIntoPHI() local
527 NewPN->addIncoming(InVal, PN.getIncomingBlock(0)); in FoldPHIArgOpIntoPHI()
534 NewPN->addIncoming(NewInVal, PN.getIncomingBlock(i)); in FoldPHIArgOpIntoPHI()
542 delete NewPN; in FoldPHIArgOpIntoPHI()
544 InsertNewInstBefore(NewPN, PN); in FoldPHIArgOpIntoPHI()
545 PhiVal = NewPN; in FoldPHIArgOpIntoPHI()