Lines Matching refs:NewOps
669 static Value *BuildNew(Instruction *I, ArrayRef<Value*> NewOps) { in BuildNew() argument
692 assert(NewOps.size() == 2 && "binary operator with #ops != 2"); in BuildNew()
695 NewOps[0], NewOps[1], "", BO); in BuildNew()
708 assert(NewOps.size() == 2 && "icmp with #ops != 2"); in BuildNew()
710 NewOps[0], NewOps[1]); in BuildNew()
712 assert(NewOps.size() == 2 && "fcmp with #ops != 2"); in BuildNew()
714 NewOps[0], NewOps[1]); in BuildNew()
728 NewOps[0]->getType()->getVectorNumElements()); in BuildNew()
729 assert(NewOps.size() == 1 && "cast with #ops != 1"); in BuildNew()
730 return CastInst::Create(cast<CastInst>(I)->getOpcode(), NewOps[0], DestTy, in BuildNew()
734 Value *Ptr = NewOps[0]; in BuildNew()
735 ArrayRef<Value*> Idx = NewOps.slice(1); in BuildNew()
804 SmallVector<Value*, 8> NewOps; in EvaluateInDifferentElementOrder() local
808 NewOps.push_back(V); in EvaluateInDifferentElementOrder()
812 return BuildNew(I, NewOps); in EvaluateInDifferentElementOrder()