Lines Matching refs:Candidates
184 std::forward_list<StoreToLoadForwardingCandidate> Candidates; in findStoreToLoadDependences() local
189 return Candidates; in findStoreToLoadDependences()
231 Candidates.emplace_front(Load, Store); in findStoreToLoadDependences()
235 Candidates.remove_if([&](const StoreToLoadForwardingCandidate &C) { in findStoreToLoadDependences()
239 return Candidates; in findStoreToLoadDependences()
269 std::forward_list<StoreToLoadForwardingCandidate> &Candidates) { in removeDependencesFromMultipleStores() argument
276 for (const auto &Cand : Candidates) { in removeDependencesFromMultipleStores()
302 Candidates.remove_if([&](const StoreToLoadForwardingCandidate &Cand) { in removeDependencesFromMultipleStores()
336 const SmallVectorImpl<StoreToLoadForwardingCandidate> &Candidates) { in findPointersWrittenOnForwardingPath() argument
355 llvm::max_element(Candidates, in findPointersWrittenOnForwardingPath()
363 llvm::min_element(Candidates, in findPointersWrittenOnForwardingPath()
392 const SmallVectorImpl<StoreToLoadForwardingCandidate> &Candidates) { in collectMemchecks() argument
395 findPointersWrittenOnForwardingPath(Candidates); in collectMemchecks()
399 for (const auto &Candidate : Candidates) in collectMemchecks()
525 SmallVector<StoreToLoadForwardingCandidate, 4> Candidates; in processLoop() local
551 Candidates.push_back(Cand); in processLoop()
554 << Candidates.size() in processLoop()
557 if (Candidates.empty()) in processLoop()
562 SmallVector<RuntimePointerCheck, 4> Checks = collectMemchecks(Candidates); in processLoop()
565 if (Checks.size() > Candidates.size() * CheckPerElim) { in processLoop()
615 llvm::erase_if(Candidates, NoLongerGoodCandidate); in processLoop()
622 for (const auto &Cand : Candidates) in processLoop()
624 NumLoopLoadEliminted += Candidates.size(); in processLoop()