Lines Matching defs:NewOps
575 static Value *BuildNew(Instruction *I, ArrayRef<Value*> NewOps) {
598 assert(NewOps.size() == 2 && "binary operator with #ops != 2");
601 NewOps[0], NewOps[1], "", BO);
612 assert(NewOps.size() == 2 && "icmp with #ops != 2");
614 NewOps[0], NewOps[1]);
616 assert(NewOps.size() == 2 && "fcmp with #ops != 2");
618 NewOps[0], NewOps[1]);
632 NewOps[0]->getType()->getVectorNumElements());
633 assert(NewOps.size() == 1 && "cast with #ops != 1");
634 return CastInst::Create(cast<CastInst>(I)->getOpcode(), NewOps[0], DestTy,
638 Value *Ptr = NewOps[0];
639 ArrayRef<Value*> Idx = NewOps.slice(1);
707 SmallVector<Value*, 8> NewOps;
711 NewOps.push_back(V);
715 return BuildNew(I, NewOps);