reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
676 PHINode *NewPN = PHINode::Create(PN->getType(), 1 + NumPredsFromRegion, 677 PN->getName() + ".ce", &NewBB->front()); 678 PN->replaceAllUsesWith(NewPN); 679 NewPN->addIncoming(PN, OldPred); 683 for (unsigned i = 0; i != PN->getNumIncomingValues(); ++i) { 684 if (Blocks.count(PN->getIncomingBlock(i))) { 685 NewPN->addIncoming(PN->getIncomingValue(i), PN->getIncomingBlock(i)); 685 NewPN->addIncoming(PN->getIncomingValue(i), PN->getIncomingBlock(i)); 686 PN->removeIncomingValue(i);