Home | History | Annotate | Download | only in Utils

Lines Matching refs:NewInst

50     Instruction *NewInst = II->clone();
52 NewInst->setName(II->getName()+NameSuffix);
53 NewBB->getInstList().push_back(NewInst);
54 VMap[II] = NewInst; // Add instruction map to value.
318 Instruction *NewInst = II->clone();
322 if (!isa<PHINode>(NewInst)) {
323 RemapInstruction(NewInst, VMap,
329 if (Value *V = SimplifyInstruction(NewInst, DL)) {
336 delete NewInst;
342 NewInst->setName(II->getName()+NameSuffix);
343 VMap[II] = NewInst; // Add instruction map to value.
344 NewBB->getInstList().push_back(NewInst);
392 Instruction *NewInst = OldTI->clone();
394 NewInst->setName(OldTI->getName()+NameSuffix);
395 NewBB->getInstList().push_back(NewInst);
396 VMap[OldTI] = NewInst; // Add instruction map to value.