Home | History | Annotate | Download | only in Utils

Lines Matching defs:NewInst

51     Instruction *NewInst = II->clone();
53 NewInst->setName(II->getName()+NameSuffix);
54 NewBB->getInstList().push_back(NewInst);
55 VMap[&*II] = NewInst; // Add instruction map to value.
353 Instruction *NewInst = II->clone();
357 if (!isa<PHINode>(NewInst)) {
358 RemapInstruction(NewInst, VMap,
366 SimplifyInstruction(NewInst, BB->getModule()->getDataLayout())) {
373 delete NewInst;
379 NewInst->setName(II->getName()+NameSuffix);
380 VMap[&*II] = NewInst; // Add instruction map to value.
381 NewBB->getInstList().push_back(NewInst);
387 CodeInfo->OperandBundleCallSites.push_back(NewInst);
455 Instruction *NewInst = OldTI->clone();
457 NewInst->setName(OldTI->getName()+NameSuffix);
458 NewBB->getInstList().push_back(NewInst);
459 VMap[OldTI] = NewInst; // Add instruction map to value.
464 CodeInfo->OperandBundleCallSites.push_back(NewInst);