Lines Matching full:newv
390 Value *NewV = cloneInstructionWithNewAddressSpace(
392 if (Instruction *NewI = dyn_cast<Instruction>(NewV)) {
398 return NewV;
532 User *NewV = cast<User>(ValueWithNewAddrSpace.lookup(V));
534 assert(isa<UndefValue>(NewV->getOperand(OperandNo)));
535 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(UndefUse->get()));
540 Value *NewV = ValueWithNewAddrSpace.lookup(V);
541 if (NewV == nullptr)
547 DEBUG(dbgs() << "Replacing the uses of " << *V << "\n to\n " << *NewV
553 // operand to NewV. This replacement does not change the element type,
555 U->set(NewV);
557 // Otherwise, replaces the use with generic(NewV).
570 U->set(new AddrSpaceCastInst(NewV, V->getType(), "", &*InsertPos));
572 U->set(ConstantExpr::getAddrSpaceCast(cast<Constant>(NewV),