Lines Matching refs:Candidates
141 std::forward_list<StoreToLoadForwardingCandidate> Candidates; in findStoreToLoadDependences() local
145 return Candidates; in findStoreToLoadDependences()
185 Candidates.emplace_front(Load, Store); in findStoreToLoadDependences()
189 Candidates.remove_if([&](const StoreToLoadForwardingCandidate &C) { in findStoreToLoadDependences()
193 return Candidates; in findStoreToLoadDependences()
223 std::forward_list<StoreToLoadForwardingCandidate> &Candidates) { in removeDependencesFromMultipleStores() argument
230 for (const auto &Cand : Candidates) { in removeDependencesFromMultipleStores()
256 Candidates.remove_if([&](const StoreToLoadForwardingCandidate &Cand) { in removeDependencesFromMultipleStores()
288 const SmallVectorImpl<StoreToLoadForwardingCandidate> &Candidates) { in findPointersWrittenOnForwardingPath() argument
307 std::max_element(Candidates.begin(), Candidates.end(), in findPointersWrittenOnForwardingPath()
314 std::min_element(Candidates.begin(), Candidates.end(), in findPointersWrittenOnForwardingPath()
343 const SmallVectorImpl<StoreToLoadForwardingCandidate> &Candidates) { in collectMemchecks() argument
346 findPointersWrittenOnForwardingPath(Candidates); in collectMemchecks()
351 std::transform(Candidates.begin(), Candidates.end(), in collectMemchecks()
448 SmallVector<StoreToLoadForwardingCandidate, 4> Candidates; in processLoop() local
473 Candidates.push_back(Cand); in processLoop()
475 if (Candidates.empty()) in processLoop()
481 collectMemchecks(Candidates); in processLoop()
484 if (Checks.size() > Candidates.size() * CheckPerElim) { in processLoop()
515 for (const auto &Cand : Candidates) in processLoop()