Lines Matching refs:Terms
8957 SmallVectorImpl<const SCEV *> &Terms; member
8960 : Terms(T) {} in SCEVCollectTerms()
8965 Terms.push_back(S); in follow()
9012 SmallVectorImpl<const SCEV *> &Terms; member
9016 : Terms(T), SE(SE) {} in SCEVCollectAddRecMultiplies()
9038 Terms.push_back(SE.getMulExpr(Operands)); in follow()
9055 SmallVectorImpl<const SCEV *> &Terms) { in collectParametricTerms() argument
9067 SCEVCollectTerms TermCollector(Terms); in collectParametricTerms()
9073 for (const SCEV *T : Terms) in collectParametricTerms()
9077 SCEVCollectAddRecMultiplies MulCollector(Terms, *this); in collectParametricTerms()
9082 SmallVectorImpl<const SCEV *> &Terms, in findArrayDimensionsRec() argument
9084 int Last = Terms.size() - 1; in findArrayDimensionsRec()
9085 const SCEV *Step = Terms[Last]; in findArrayDimensionsRec()
9102 for (const SCEV *&Term : Terms) { in findArrayDimensionsRec()
9115 Terms.erase(std::remove_if(Terms.begin(), Terms.end(), [](const SCEV *E) { in findArrayDimensionsRec()
9118 Terms.end()); in findArrayDimensionsRec()
9120 if (Terms.size() > 0) in findArrayDimensionsRec()
9121 if (!findArrayDimensionsRec(SE, Terms, Sizes)) in findArrayDimensionsRec()
9159 containsParameters(SmallVectorImpl<const SCEV *> &Terms) { in containsParameters() argument
9160 for (const SCEV *T : Terms) in containsParameters()
9206 void ScalarEvolution::findArrayDimensions(SmallVectorImpl<const SCEV *> &Terms, in findArrayDimensions() argument
9209 if (Terms.size() < 1 || !ElementSize) in findArrayDimensions()
9214 if (!containsParameters(Terms)) in findArrayDimensions()
9219 for (const SCEV *T : Terms) in findArrayDimensions()
9224 std::sort(Terms.begin(), Terms.end()); in findArrayDimensions()
9225 Terms.erase(std::unique(Terms.begin(), Terms.end()), Terms.end()); in findArrayDimensions()
9228 std::sort(Terms.begin(), Terms.end(), [](const SCEV *LHS, const SCEV *RHS) { in findArrayDimensions()
9236 for (const SCEV *&Term : Terms) { in findArrayDimensions()
9246 for (const SCEV *T : Terms) in findArrayDimensions()
9385 SmallVector<const SCEV *, 4> Terms; in delinearize() local
9386 collectParametricTerms(Expr, Terms); in delinearize()
9388 if (Terms.empty()) in delinearize()
9392 findArrayDimensions(Terms, Sizes, ElementSize); in delinearize()