Lines Matching defs:PN
119 PHINode *PN = cast<PHINode>(&I);
122 unsigned Idx = 0, E = PN->getNumIncomingValues();
125 if (PN->getIncomingBlock(Idx) == OrigBB) {
126 PN->setIncomingBlock(Idx, NewBB);
139 if (PN->getIncomingBlock(Idx) == OrigBB) {
146 PN->removeIncomingValue(III);
198 PHINode *PN = cast<PHINode>(&I);
199 auto *V = PN->getIncomingValueForBlock(OrigBlock);
200 PN->addIncoming(V, NewLeaf);
206 PHINode *PN = cast<PHINode>(I);
210 PN->removeIncomingValue(OrigBlock);
213 int BlockIdx = PN->getBasicBlockIndex(OrigBlock);
215 PN->setIncomingBlock((unsigned)BlockIdx, NewLeaf);