Lines Matching refs:NewI
581 auto *NewI = new AddrSpaceCastInst(Operand, NewPtrTy); in operandWithNewAddressSpaceOrCreatePoison() local
582 NewI->insertBefore(Inst); in operandWithNewAddressSpaceOrCreatePoison()
583 NewI->setDebugLoc(Inst->getDebugLoc()); in operandWithNewAddressSpaceOrCreatePoison()
584 return NewI; in operandWithNewAddressSpaceOrCreatePoison()
643 auto *NewI = new AddrSpaceCastInst(I, NewPtrTy); in cloneInstructionWithNewAddressSpace() local
644 NewI->insertAfter(I); in cloneInstructionWithNewAddressSpace()
645 NewI->setDebugLoc(I->getDebugLoc()); in cloneInstructionWithNewAddressSpace()
646 return NewI; in cloneInstructionWithNewAddressSpace()
794 if (Instruction *NewI = dyn_cast_or_null<Instruction>(NewV)) { in cloneValueWithNewAddressSpace() local
795 if (NewI->getParent() == nullptr) { in cloneValueWithNewAddressSpace()
796 NewI->insertBefore(I); in cloneValueWithNewAddressSpace()
797 NewI->takeName(I); in cloneValueWithNewAddressSpace()
798 NewI->setDebugLoc(I->getDebugLoc()); in cloneValueWithNewAddressSpace()