Lines Matching defs:PN
121 PHINode *PN = cast<PHINode>(&I);
124 unsigned Idx = 0, E = PN->getNumIncomingValues();
127 if (PN->getIncomingBlock(Idx) == OrigBB) {
128 PN->setIncomingBlock(Idx, NewBB);
141 if (PN->getIncomingBlock(Idx) == OrigBB) {
148 PN->removeIncomingValue(III);
200 PHINode *PN = cast<PHINode>(&I);
201 auto *V = PN->getIncomingValueForBlock(OrigBlock);
202 PN->addIncoming(V, NewLeaf);
208 PHINode *PN = cast<PHINode>(I);
212 PN->removeIncomingValue(OrigBlock);
215 int BlockIdx = PN->getBasicBlockIndex(OrigBlock);
217 PN->setIncomingBlock((unsigned)BlockIdx, NewLeaf);