Home | History | Annotate | Download | only in Writer

Lines Matching defs:List

143   // Predict use-list order for this one.
145 SmallVector<Entry, 64> List;
149 List.push_back(std::make_pair(&U, List.size()));
151 if (List.size() < 2)
156 std::sort(List.begin(), List.end(), [&](const Entry &L, const Entry &R) {
197 List.begin(), List.end(),
203 Stack.emplace_back(V, F, List.size());
204 assert(List.size() == Stack.back().Shuffle.size() && "Wrong size");
205 for (size_t I = 0, E = List.size(); I != E; ++I)
206 Stack.back().Shuffle[I] = List[I].second;
233 // Use-list orders need to be serialized after all the users have been added
240 // We want to visit the functions backward now so we can list function-local
261 // Visit globals last, since the module-level use-list block will be seen
490 // Optimizing constants makes the use-list order difficult to predict.