Lines Matching full:profiles

9 // This file implements the class that reads LLVM sample profiles. It
54 // It only applies to text, and binary format profiles.
55 // For ext-binary format profiles, the flag is set in the summary.
69 /// Dump all the function profiles found on stream \p OS.
72 sortFuncProfiles(Profiles, V); in dump()
136 /// Dump all the function profiles found on stream \p OS in the JSON format.
139 sortFuncProfiles(Profiles, V); in dumpJson()
358 FunctionSamples &FProfile = Profiles.create(FContext); in readImpl()
435 assert((CSProfileCount == 0 || CSProfileCount == Profiles.size()) && in readImpl()
439 TopLevelProbeProfileCount == Profiles.size()) && in readImpl()
440 "Cannot have both probe-based profiles and regular profiles"); in readImpl()
668 auto Res = Profiles.try_emplace(Hash, FContext, FunctionSamples()); in readFuncProfile()
733 // profiles, so skip reading the function offset table. in readOneSection()
770 // context in the module is found, the profiles of all its callees are in useFuncOffsetList()
771 // recursively loaded. A list is needed since the order of profiles matters. in useFuncOffsetList()
851 // profiles. in readFuncProfiles()
860 // Load function profiles on demand. in readFuncProfiles()
875 // For each function in current module, load all context profiles for in readFuncProfiles()
945 assert((CSProfileCount == 0 || CSProfileCount == Profiles.size()) && in readFuncProfiles()
1256 auto It = Profiles.find(FContext); in readFuncMetadata()
1257 if (It != Profiles.end()) in readFuncMetadata()
1643 // body, there will be identical replicated profiles for the in readOneFunctionProfile()
1646 FProfile = &Profiles[FunctionId(Name)]; in readOneFunctionProfile()
1745 assert(!ProfileIsFSDisciminator && "Gcc profiles not support FSDisciminator"); in readImpl()
1936 Summary = Builder.computeSummaryForProfiles(Profiles); in computeSummary()