Lines Matching refs:Terms
44 Counter C, int Sign, SmallVectorImpl<std::pair<unsigned, int>> &Terms) { in extractTerms() argument
49 Terms.push_back(std::make_pair(C.getCounterID(), Sign)); in extractTerms()
53 extractTerms(E.LHS, Sign, Terms); in extractTerms()
55 Terms); in extractTerms()
62 llvm::SmallVector<std::pair<unsigned, int>, 32> Terms; in simplify() local
63 extractTerms(ExpressionTree, +1, Terms); in simplify()
67 if (Terms.size() == 0) in simplify()
71 std::sort(Terms.begin(), Terms.end(), in simplify()
78 auto Prev = Terms.begin(); in simplify()
79 for (auto I = Prev + 1, E = Terms.end(); I != E; ++I) { in simplify()
87 Terms.erase(++Prev, Terms.end()); in simplify()
92 for (auto Term : Terms) { in simplify()
104 for (auto Term : Terms) { in simplify()