Home
last modified time | relevance | path

Searched refs:AllSpecs (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp630 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()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionSpecialization.h312 /// @param AllSpecs A vector to add potential specializations to.
316 SmallVectorImpl<Spec> &AllSpecs, SpecMap &SM);