Lines Matching defs:NewV

229                                 Value *NewV) const;
370 Value *NewV) const {
376 Type *SrcTy = NewV->getType();
379 II->setArgOperand(0, NewV);
388 Type *NewPtrTy = NewV->getType();
391 II->setArgOperand(0, NewV);
397 Type *NewPtrTy = NewV->getType();
400 II->setArgOperand(1, NewV);
405 Value *Rewrite = TTI->rewriteIntrinsicWithAddressSpace(II, OldV, NewV);
792 Value *NewV = cloneInstructionWithNewAddressSpace(
794 if (Instruction *NewI = dyn_cast_or_null<Instruction>(NewV)) {
801 return NewV;
1041 Value *NewV) {
1048 B.CreateMemSet(NewV, MSI->getValue(), MSI->getLength(), MSI->getDestAlign(),
1057 Src = NewV;
1060 Dest = NewV;
1164 User *NewV = cast_or_null<User>(ValueWithNewAddrSpace.lookup(V));
1165 if (!NewV)
1169 assert(isa<PoisonValue>(NewV->getOperand(OperandNo)));
1170 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(PoisonUse->get()));
1181 Value *NewV = ValueWithNewAddrSpace.lookup(V);
1182 if (NewV == nullptr)
1186 << *NewV << '\n');
1190 ConstantExpr::getAddrSpaceCast(cast<Constant>(NewV), C->getType());
1234 // sets the pointer operand to NewV. This replacement does not change
1236 U.set(NewV);
1241 if (CurUser == NewV)
1250 if (!MI->isVolatile() && handleMemIntrinsicPtrUse(MI, V, NewV))
1255 if (rewriteIntrinsicOperands(II, V, NewV))
1267 unsigned NewAS = NewV->getType()->getPointerAddressSpace();
1275 Cmp->setOperand(SrcIdx, NewV);
1283 Cmp->setOperand(SrcIdx, NewV);
1285 KOtherSrc, NewV->getType()));
1292 unsigned NewAS = NewV->getType()->getPointerAddressSpace();
1294 ASC->replaceAllUsesWith(NewV);
1300 // Otherwise, replaces the use with flat(NewV).
1306 // Insert the addrspacecast after NewV.
1308 if (Instruction *NewVInst = dyn_cast<Instruction>(NewV))
1317 V, new AddrSpaceCastInst(NewV, V->getType(), "", InsertPos));
1320 V, ConstantExpr::getAddrSpaceCast(cast<Constant>(NewV),