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