Lines Matching refs:AllSpecs
630 SmallVector<Spec, 32> AllSpecs; in run() local
671 if (!findSpecializations(&F, FuncSize, AllSpecs, SM)) { in run()
691 auto CompareScore = [&AllSpecs](unsigned I, unsigned J) { in run()
692 if (AllSpecs[I].Score != AllSpecs[J].Score) in run()
693 return AllSpecs[I].Score > AllSpecs[J].Score; in run()
697 std::min(NumCandidates * MaxClones, unsigned(AllSpecs.size())); in run()
700 if (AllSpecs.size() > NSpecs) { in run()
707 for (unsigned I = NSpecs, N = AllSpecs.size(); I < N; ++I) { in run()
716 const Spec &S = AllSpecs[BestSpecs[I]]; in run()
730 Spec &S = AllSpecs[BestSpecs[I]]; in run()
751 updateCallSites(F, AllSpecs.begin() + Begin, AllSpecs.begin() + End); in run()
810 SmallVectorImpl<Spec> &AllSpecs, in findSpecializations() argument
872 AllSpecs[Index].CallSites.push_back(&CS); in findSpecializations()
917 auto &Spec = AllSpecs.emplace_back(F, S, Score); in findSpecializations()
920 const unsigned Index = AllSpecs.size() - 1; in findSpecializations()