Lines Matching refs:FunctionId
65 return std::make_pair(Callsite, FunctionId(CalleeName)); in findIRAnchors()
96 IRAnchors.emplace(Loc, FunctionId(CalleeName)); in findIRAnchors()
112 IRAnchors.emplace(Callsite, FunctionId(CalleeName)); in findIRAnchors()
125 auto InsertAnchor = [](const LineLocation &Loc, const FunctionId &CalleeName, in findProfileAnchors()
131 Ret.first->second = FunctionId(UnknownIndirectCallee); in findProfileAnchors()
152 bool SampleProfileMatcher::functionHasProfile(const FunctionId &IRFuncName, in functionHasProfile()
161 bool SampleProfileMatcher::isProfileUnused(const FunctionId &ProfileFuncName) { in isProfileUnused()
166 const FunctionId &IRFuncName, const FunctionId &ProfileFuncName, in functionMatchesProfile()
180 assert(FunctionId(IRFunc->getName()) != ProfileFuncName && in functionMatchesProfile()
626 std::unordered_set<FunctionId> &CallGraphRecoveredProfiles) { in countCallGraphRecoveredSamples()
643 std::unordered_set<FunctionId> CallGraphRecoveredProfiles; in computeAndReportProfileStaleness()
774 FunctionsWithoutProfile[FunctionId(CanonFName)] = &F; in findFunctionsWithoutProfile()
779 const Function &IRFunc, const FunctionId &ProfFunc) { in functionMatchesProfileHelper()
846 const FunctionId &ProfFunc, in functionMatchesProfile()
887 FunctionId FuncName(I.first->getName()); in runOnModule()