Lines Matching defs:NewOps
2238 SmallVectorImpl<const SCEV *> &NewOps,
2265 CollectAddOperandsWithScales(M, NewOps, AccumulatedConstant,
2274 NewOps.push_back(Pair.first->first);
2287 NewOps.push_back(Pair.first->first);
2692 SmallVector<const SCEV *, 4> NewOps(AddExpr->operands());
2693 NewOps[0] = getConstant(ConstAdd);
2694 return getAddExpr(NewOps, PreservedFlags);
2751 SmallVector<const SCEV *, 8> NewOps;
2753 if (CollectAddOperandsWithScales(M, NewOps, AccumulatedConstant,
2765 for (const SCEV *NewOp : NewOps)
3191 SmallVector<const SCEV *, 4> NewOps;
3197 NewOps.push_back(Mul);
3200 return getAddExpr(NewOps, SCEV::FlagAnyWrap, Depth + 1);
3272 SmallVector<const SCEV *, 4> NewOps;
3273 NewOps.reserve(AddRec->getNumOperands());
3284 NewOps.push_back(getMulExpr(Scale, AddRec->getOperand(i),
3296 const SCEV *NewRec = getAddRecExpr(NewOps, AddRec->getLoop(), Flags);
4005 SmallVector<const SCEV *> NewOps;
4006 bool Changed = visit(Kind, NAry->operands(), NewOps);
4010 if (NewOps.empty())
4014 ? SE.getSequentialMinMaxExpr(Kind, NewOps)
4015 : SE.getMinMaxExpr(Kind, NewOps);
4034 SmallVectorImpl<const SCEV *> &NewOps) {
4048 NewOps = std::move(Ops);
9866 SmallVectorImpl<const SCEV *> &NewOps) {
9872 return getCastExpr(S->getSCEVType(), NewOps[0], S->getType());
9875 return getAddRecExpr(NewOps, AddRec->getLoop(), AddRec->getNoWrapFlags());
9878 return getAddExpr(NewOps, cast<SCEVAddExpr>(S)->getNoWrapFlags());
9880 return getMulExpr(NewOps, cast<SCEVMulExpr>(S)->getNoWrapFlags());
9882 return getUDivExpr(NewOps[0], NewOps[1]);
9887 return getMinMaxExpr(S->getSCEVType(), NewOps);
9889 return getSequentialMinMaxExpr(S->getSCEVType(), NewOps);
9919 SmallVector<const SCEV *, 8> NewOps;
9920 NewOps.reserve(AddRec->getNumOperands());
9921 append_range(NewOps, AddRec->operands().take_front(i));
9922 NewOps.push_back(OpAtScope);
9924 NewOps.push_back(getSCEVAtScope(AddRec->getOperand(i), L));
9927 NewOps, AddRec->getLoop(), AddRec->getNoWrapFlags(SCEV::FlagNW));
9972 SmallVector<const SCEV *, 8> NewOps;
9973 NewOps.reserve(Ops.size());
9974 append_range(NewOps, Ops.take_front(i));
9975 NewOps.push_back(OpAtScope);
9979 NewOps.push_back(OpAtScope);
9982 return getWithOperands(V, NewOps);