Lines Matching refs:FunctionSamples
64 void SampleProfileReader::dumpFunctionProfile(const FunctionSamples &FS, in dumpFunctionProfile()
77 static void dumpFunctionProfileJson(const FunctionSamples &S, in dumpFunctionProfileJson()
108 const FunctionSamples &CalleeSamples = FS.second; in dumpFunctionProfileJson()
339 FunctionSamples::ProfileIsFS = ProfileIsFS; in readImpl()
368 FunctionSamples &FProfile = Profiles.create(FContext); in readImpl()
405 FunctionSamples &FSamples = InlineStack.back()->functionSamplesAt( in readImpl()
414 FunctionSamples &FProfile = *InlineStack.back(); in readImpl()
427 FunctionSamples &FProfile = *InlineStack.back(); in readImpl()
464 FunctionSamples::ProfileIsProbeBased = ProfileIsProbeBased; in readImpl()
465 FunctionSamples::ProfileIsCS = ProfileIsCS; in readImpl()
466 FunctionSamples::ProfileIsPreInlined = ProfileIsPreInlined; in readImpl()
595 SampleProfileReaderBinary::readProfile(FunctionSamples &FProfile) { in readProfile()
667 FunctionSamples &CalleeProfile = FProfile.functionSamplesAt( in readProfile()
691 auto Res = Profiles.try_emplace(Hash, FContext, FunctionSamples()); in readFuncProfile()
692 FunctionSamples &FProfile = Res.first->second; in readFuncProfile()
711 FunctionSamples::ProfileIsFS = ProfileIsFS; in readImpl()
731 FunctionSamples::ProfileIsCS = ProfileIsCS = true; in readOneSection()
733 FunctionSamples::ProfileIsPreInlined = ProfileIsPreInlined = true; in readOneSection()
735 FunctionSamples::ProfileIsFS = ProfileIsFS = true; in readOneSection()
744 FunctionSamples::HasUniqSuffix = in readOneSection()
776 FunctionSamples::ProfileIsProbeBased = ProfileIsProbeBased; in readOneSection()
834 DenseSet<FunctionSamples *> ProfilesToReadMetadata; in read()
852 FuncsToUse.insert(FunctionSamples::getCanonicalFnName(F)); in collectFuncsFromModule()
1255 FunctionSamples *FProfile) { in readFuncMetadata()
1293 FunctionSamples *CalleeProfile = nullptr; in readFuncMetadata()
1295 CalleeProfile = const_cast<FunctionSamples *>( in readFuncMetadata()
1311 bool ProfileHasAttribute, DenseSet<FunctionSamples *> &Profiles) { in readFuncMetadata()
1336 FunctionSamples *FProfile = nullptr; in readFuncMetadata()
1722 FunctionSamples *FProfile = nullptr; in readOneFunctionProfile()
1738 FunctionSamples *CallerProfile = InlineStack.front(); in readOneFunctionProfile()