Lines Matching full: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.
281 Instruction *NewInst = II->clone();
285 if (!isa<PHINode>(NewInst)) {
286 RemapInstruction(NewInst, VMap,
293 SimplifyInstruction(NewInst, BB->getModule()->getDataLayout())) {
299 if (!NewInst->mayHaveSideEffects()) {
301 delete NewInst;
308 NewInst->setName(II->getName()+NameSuffix);
309 VMap[&*II] = NewInst; // Add instruction map to value.
310 NewBB->getInstList().push_back(NewInst);
316 CodeInfo->OperandBundleCallSites.push_back(NewInst);
364 Instruction *NewInst = OldTI->clone();
366 NewInst->setName(OldTI->getName()+NameSuffix);
367 NewBB->getInstList().push_back(NewInst);
368 VMap[OldTI] = NewInst; // Add instruction map to value.
373 CodeInfo->OperandBundleCallSites.push_back(NewInst);