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