Searched refs:OldPhi (Results 1 – 1 of 1) sorted by relevance
96 PHINode* OldPhi = dyn_cast<PHINode>(I); in unswitchFunction() local97 if (!OldPhi) break; in unswitchFunction()99 PHINode* retPhi = PHINode::Create(OldPhi->getType(), 2, "", Ins); in unswitchFunction()100 OldPhi->replaceAllUsesWith(retPhi); in unswitchFunction()104 retPhi->addIncoming(OldPhi->getIncomingValueForBlock(newEntryBlock), in unswitchFunction()106 OldPhi->removeIncomingValue(newEntryBlock); in unswitchFunction()