Lines Matching refs:Matches
215 llvm::SmallVectorImpl<T> &Matches, in EraseUnwantedCUDAMatchesImpl() argument
219 if (Matches.size() <= 1) in EraseUnwantedCUDAMatchesImpl()
224 for (auto const &Match : Matches) { in EraseUnwantedCUDAMatchesImpl()
231 for (unsigned I = 0, N = Matches.size(); I != N;) in EraseUnwantedCUDAMatchesImpl()
232 if (S.IdentifyCUDAPreference(Caller, FetchDecl(Matches[I])) < BestCFP) { in EraseUnwantedCUDAMatchesImpl()
233 Matches[I] = Matches[--N]; in EraseUnwantedCUDAMatchesImpl()
234 Matches.resize(N); in EraseUnwantedCUDAMatchesImpl()
241 SmallVectorImpl<FunctionDecl *> &Matches){ in EraseUnwantedCUDAMatches() argument
243 *this, Caller, Matches, [](const FunctionDecl *item) { return item; }); in EraseUnwantedCUDAMatches()
247 SmallVectorImpl<DeclAccessPair> &Matches) { in EraseUnwantedCUDAMatches() argument
249 *this, Caller, Matches, [](const DeclAccessPair &item) { in EraseUnwantedCUDAMatches()
256 SmallVectorImpl<std::pair<DeclAccessPair, FunctionDecl *>> &Matches){ in EraseUnwantedCUDAMatches() argument
258 *this, Caller, Matches, in EraseUnwantedCUDAMatches()