Lines Matching refs:PN
223 } else if (PHINode *PN = dyn_cast<PHINode>(II)) {
224 if (SeenPHIs.insert(PN))
226 Changed |= FindSelectorAndURoR(PN, URoRInvoke, SelCalls, SeenPHIs);
425 PHINode *PN = cast<PHINode>(II);
430 Value *InVal = PN->getIncomingValueForBlock(*PB);
432 if (PI != PB && InVal != PN->getIncomingValueForBlock(*PI)) {
441 PHINode *NewPN = PHINode::Create(PN->getType(),
442 PN->getNumIncomingValues(),
443 PN->getName()+".unwind", NewBB);
446 NewPN->addIncoming(PN->getIncomingValueForBlock(*PI), *PI);
448 // Now use this new PHI as the common incoming value for NewBB in PN.
457 PN->removeIncomingValue(*PI);
458 PN->addIncoming(InVal, NewBB);
691 PHINode *PN = PHINode::Create(Type::getInt8PtrTy(Ctx), Resumes.size(),
703 PN->addIncoming(ExnObj, RI->getParent());
709 CallInst *CI = CallInst::Create(RewindFunction, PN, "", UnwindBB);