reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
397 if (!CurrentI->use_empty()) { 400 if (isa<PHINode>(CurrentI)) 402 PHINode *NewPN = PHINode::Create(CurrentI->getType(), Preds.size()); 403 NewPN->setDebugLoc(CurrentI->getDebugLoc()); 405 NewPN->addIncoming(Mapping[CurrentI], 406 cast<Instruction>(Mapping[CurrentI])->getParent()); 408 CurrentI->replaceAllUsesWith(NewPN); 410 CurrentI->eraseFromParent(); 412 if (CurrentI == OriginalBegin)