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()
329 FunctionSamples::ProfileIsFS = ProfileIsFS; in readImpl()
358 FunctionSamples &FProfile = Profiles.Create(FContext); in readImpl()
394 FunctionSamples &FSamples = InlineStack.back()->functionSamplesAt( in readImpl()
406 FunctionSamples &FProfile = *InlineStack.back(); in readImpl()
418 FunctionSamples &FProfile = *InlineStack.back(); in readImpl()
441 FunctionSamples::ProfileIsProbeBased = ProfileIsProbeBased; in readImpl()
442 FunctionSamples::ProfileIsCS = ProfileIsCS; in readImpl()
443 FunctionSamples::ProfileIsPreInlined = ProfileIsPreInlined; in readImpl()
572 SampleProfileReaderBinary::readProfile(FunctionSamples &FProfile) { in readProfile()
644 FunctionSamples &CalleeProfile = FProfile.functionSamplesAt( in readProfile()
667 auto Res = Profiles.try_emplace(Hash, FContext, FunctionSamples()); in readFuncProfile()
668 FunctionSamples &FProfile = Res.first->second; in readFuncProfile()
682 FunctionSamples::ProfileIsFS = ProfileIsFS; in readImpl()
702 FunctionSamples::ProfileIsCS = ProfileIsCS = true; in readOneSection()
704 FunctionSamples::ProfileIsPreInlined = ProfileIsPreInlined = true; in readOneSection()
706 FunctionSamples::ProfileIsFS = ProfileIsFS = true; in readOneSection()
715 FunctionSamples::HasUniqSuffix = in readOneSection()
746 FunctionSamples::ProfileIsProbeBased = ProfileIsProbeBased; in readOneSection()
799 FuncsToUse.insert(FunctionSamples::getCanonicalFnName(F)); in collectFuncsFromModule()
1192 FunctionSamples *FProfile) { in readFuncMetadata()
1230 FunctionSamples *CalleeProfile = nullptr; in readFuncMetadata()
1232 CalleeProfile = const_cast<FunctionSamples *>( in readFuncMetadata()
1254 FunctionSamples *FProfile = nullptr; in readFuncMetadata()
1637 FunctionSamples *FProfile = nullptr; in readOneFunctionProfile()
1653 FunctionSamples *CallerProfile = InlineStack.front(); in readOneFunctionProfile()