Lines Matching refs:CurrentI
394 Instruction *CurrentI = &*I++;
395 if (!CurrentI->use_empty()) {
398 if (isa<PHINode>(CurrentI))
400 PHINode *NewPN = PHINode::Create(CurrentI->getType(), Preds.size());
401 NewPN->setDebugLoc(CurrentI->getDebugLoc());
403 NewPN->addIncoming(Mapping[CurrentI],
404 cast<Instruction>(Mapping[CurrentI])->getParent());
406 CurrentI->replaceAllUsesWith(NewPN);
408 CurrentI->eraseFromParent();
410 if (CurrentI == OriginalBegin)