Lines Matching refs:Candidates
127 std::forward_list<StoreToLoadForwardingCandidate> Candidates; in findStoreToLoadDependences() local
131 return Candidates; in findStoreToLoadDependences()
165 Candidates.emplace_front(Load, Store); in findStoreToLoadDependences()
169 Candidates.remove_if([&](const StoreToLoadForwardingCandidate &C) { in findStoreToLoadDependences()
173 return Candidates; in findStoreToLoadDependences()
203 std::forward_list<StoreToLoadForwardingCandidate> &Candidates) { in removeDependencesFromMultipleStores() argument
210 for (const auto &Cand : Candidates) { in removeDependencesFromMultipleStores()
236 Candidates.remove_if([&](const StoreToLoadForwardingCandidate &Cand) { in removeDependencesFromMultipleStores()
268 const SmallVectorImpl<StoreToLoadForwardingCandidate> &Candidates) { in findPointersWrittenOnForwardingPath() argument
287 std::max_element(Candidates.begin(), Candidates.end(), in findPointersWrittenOnForwardingPath()
294 std::min_element(Candidates.begin(), Candidates.end(), in findPointersWrittenOnForwardingPath()
323 const SmallVectorImpl<StoreToLoadForwardingCandidate> &Candidates) { in collectMemchecks() argument
326 findPointersWrittenOnForwardingPath(Candidates); in collectMemchecks()
331 std::transform(Candidates.begin(), Candidates.end(), in collectMemchecks()
428 SmallVector<StoreToLoadForwardingCandidate, 4> Candidates; in processLoop() local
446 Candidates.push_back(Cand); in processLoop()
448 if (Candidates.empty()) in processLoop()
454 collectMemchecks(Candidates); in processLoop()
457 if (Checks.size() > Candidates.size() * CheckPerElim) { in processLoop()
481 for (const auto &Cand : Candidates) in processLoop()