Lines Matching refs:Terms
8535 SmallVectorImpl<const SCEV *> &Terms; member
8538 : Terms(T) {} in SCEVCollectTerms()
8543 Terms.push_back(S); in follow()
8590 SmallVectorImpl<const SCEV *> &Terms; member
8594 : Terms(T), SE(SE) {} in SCEVCollectAddRecMultiplies()
8616 Terms.push_back(SE.getMulExpr(Operands)); in follow()
8633 SmallVectorImpl<const SCEV *> &Terms) { in collectParametricTerms() argument
8645 SCEVCollectTerms TermCollector(Terms); in collectParametricTerms()
8651 for (const SCEV *T : Terms) in collectParametricTerms()
8655 SCEVCollectAddRecMultiplies MulCollector(Terms, *this); in collectParametricTerms()
8660 SmallVectorImpl<const SCEV *> &Terms, in findArrayDimensionsRec() argument
8662 int Last = Terms.size() - 1; in findArrayDimensionsRec()
8663 const SCEV *Step = Terms[Last]; in findArrayDimensionsRec()
8680 for (const SCEV *&Term : Terms) { in findArrayDimensionsRec()
8693 Terms.erase(std::remove_if(Terms.begin(), Terms.end(), [](const SCEV *E) { in findArrayDimensionsRec()
8696 Terms.end()); in findArrayDimensionsRec()
8698 if (Terms.size() > 0) in findArrayDimensionsRec()
8699 if (!findArrayDimensionsRec(SE, Terms, Sizes)) in findArrayDimensionsRec()
8737 containsParameters(SmallVectorImpl<const SCEV *> &Terms) { in containsParameters() argument
8738 for (const SCEV *T : Terms) in containsParameters()
8786 void ScalarEvolution::findArrayDimensions(SmallVectorImpl<const SCEV *> &Terms, in findArrayDimensions() argument
8790 if (Terms.size() < 1 || !ElementSize) in findArrayDimensions()
8795 if (!containsParameters(Terms)) in findArrayDimensions()
8800 for (const SCEV *T : Terms) in findArrayDimensions()
8805 std::sort(Terms.begin(), Terms.end()); in findArrayDimensions()
8806 Terms.erase(std::unique(Terms.begin(), Terms.end()), Terms.end()); in findArrayDimensions()
8809 std::sort(Terms.begin(), Terms.end(), [](const SCEV *LHS, const SCEV *RHS) { in findArrayDimensions()
8817 for (const SCEV *&Term : Terms) { in findArrayDimensions()
8827 for (const SCEV *T : Terms) in findArrayDimensions()
8968 SmallVector<const SCEV *, 4> Terms; in delinearize() local
8969 collectParametricTerms(Expr, Terms); in delinearize()
8971 if (Terms.empty()) in delinearize()
8975 findArrayDimensions(Terms, Sizes, ElementSize); in delinearize()