Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileMatcher.cpp779 const Function &IRFunc, const FunctionId &ProfFunc) { in functionMatchesProfileHelper() argument
784 const auto *FSFlattened = getFlattenedSamplesFor(ProfFunc); in functionMatchesProfileHelper()
801 << "(IR) and " << ProfFunc << "(Profile) match.\n"); in functionMatchesProfileHelper()
836 << "(IR) and " << ProfFunc << "(profile) is " in functionMatchesProfileHelper()
846 const FunctionId &ProfFunc, in functionMatchesProfile() argument
848 auto R = FuncProfileMatchCache.find({&IRFunc, ProfFunc}); in functionMatchesProfile()
855 bool Matched = functionMatchesProfileHelper(IRFunc, ProfFunc); in functionMatchesProfile()
856 FuncProfileMatchCache[{&IRFunc, ProfFunc}] = Matched; in functionMatchesProfile()
858 FuncToProfileNameMap[&IRFunc] = ProfFunc; in functionMatchesProfile()
860 << " matches profile:" << ProfFunc << "\n"); in functionMatchesProfile()
/src/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleProfileMatcher.h234 const FunctionId &ProfFunc);
244 bool functionMatchesProfile(Function &IRFunc, const FunctionId &ProfFunc,