Searched refs:ProfileMap (Results 1 – 10 of 10) sorted by relevance
44 virtual std::error_code write(const StringMap<FunctionSamples> &ProfileMap);70 writeHeader(const StringMap<FunctionSamples> &ProfileMap) = 0;74 writeFuncProfiles(const StringMap<FunctionSamples> &ProfileMap);83 void computeSummary(const StringMap<FunctionSamples> &ProfileMap);99 writeHeader(const StringMap<FunctionSamples> &ProfileMap) override { in writeHeader() argument126 writeHeader(const StringMap<FunctionSamples> &ProfileMap) override;151 write(const StringMap<FunctionSamples> &ProfileMap) override;194 writeSections(const StringMap<FunctionSamples> &ProfileMap) = 0;198 writeOneSection(SecType Type, const StringMap<FunctionSamples> &ProfileMap);205 writeNameTableSection(const StringMap<FunctionSamples> &ProfileMap);[all …]
44 virtual std::error_code write(const StringMap<FunctionSamples> &ProfileMap);67 writeHeader(const StringMap<FunctionSamples> &ProfileMap) = 0;71 writeFuncProfiles(const StringMap<FunctionSamples> &ProfileMap);80 void computeSummary(const StringMap<FunctionSamples> &ProfileMap);96 writeHeader(const StringMap<FunctionSamples> &ProfileMap) override { in writeHeader() argument123 writeHeader(const StringMap<FunctionSamples> &ProfileMap) override;148 write(const StringMap<FunctionSamples> &ProfileMap) override;158 writeSections(const StringMap<FunctionSamples> &ProfileMap) = 0;170 writeHeader(const StringMap<FunctionSamples> &ProfileMap) override;224 writeSections(const StringMap<FunctionSamples> &ProfileMap) override;[all …]
44 const StringMap<FunctionSamples> &ProfileMap) { in writeFuncProfiles() argument48 for (const auto &I : ProfileMap) in writeFuncProfiles()66 SampleProfileWriter::write(const StringMap<FunctionSamples> &ProfileMap) { in write() argument67 if (std::error_code EC = writeHeader(ProfileMap)) in write()70 if (std::error_code EC = writeFuncProfiles(ProfileMap)) in write()131 const StringMap<FunctionSamples> &ProfileMap) { in write() argument132 if (std::error_code EC = writeHeader(ProfileMap)) in write()137 if (std::error_code EC = writeSections(ProfileMap)) in write()188 const StringMap<FunctionSamples> &ProfileMap) { in writeNameTableSection() argument189 for (const auto &I : ProfileMap) { in writeNameTableSection()[all …]
43 std::error_code write(const StringMap<FunctionSamples> &ProfileMap) { in write() argument44 if (std::error_code EC = writeHeader(ProfileMap)) in write()46 for (const auto &I : ProfileMap) { in write()73 writeHeader(const StringMap<FunctionSamples> &ProfileMap) = 0;82 void computeSummary(const StringMap<FunctionSamples> &ProfileMap);95 writeHeader(const StringMap<FunctionSamples> &ProfileMap) override { in writeHeader() argument120 writeHeader(const StringMap<FunctionSamples> &ProfileMap) override;
44 const StringMap<FunctionSamples> &ProfileMap) { in writeFuncProfiles() argument48 for (const auto &I : ProfileMap) in writeFuncProfiles()66 SampleProfileWriter::write(const StringMap<FunctionSamples> &ProfileMap) { in write() argument67 if (std::error_code EC = writeHeader(ProfileMap)) in write()70 if (std::error_code EC = writeFuncProfiles(ProfileMap)) in write()131 const StringMap<FunctionSamples> &ProfileMap) { in write() argument132 if (std::error_code EC = writeHeader(ProfileMap)) in write()137 if (std::error_code EC = writeSections(ProfileMap)) in write()170 const StringMap<FunctionSamples> &ProfileMap) { in writeSections() argument172 computeSummary(ProfileMap); in writeSections()[all …]
51 Writer->write(ProfileMap); in write()153 auto Ret = ProfileMap.try_emplace(ContextStr, FunctionSamples()); in getFunctionProfileForContext()261 if (ProfileMap.find(CalleeContextId) != ProfileMap.end()) { in populateFunctionBoundarySamples()262 FunctionSamples &CalleeProfile = ProfileMap[CalleeContextId]; in populateFunctionBoundarySamples()287 for (const auto &Item : ProfileMap) { in populateInferredFunctionSamples()309 if (ProfileMap.find(CallerContextId) == ProfileMap.end()) in populateInferredFunctionSamples()311 FunctionSamples &CallerProfile = ProfileMap[CallerContextId]; in populateInferredFunctionSamples()
55 StringMap<FunctionSamples> ProfileMap; variable
113 const StringMap<FunctionSamples> &ProfileMap) { in writeHeader() argument120 computeSummary(ProfileMap); in writeHeader()125 for (const auto &I : ProfileMap) { in writeHeader()257 const StringMap<FunctionSamples> &ProfileMap) { in computeSummary() argument259 for (const auto &I : ProfileMap) { in computeSummary()
178 StringMap<FunctionSamples> ProfileMap; in mergeSampleProfile() local201 sampleprof_error Result = ProfileMap[FName].merge(Samples, Input.Weight); in mergeSampleProfile()208 Writer->write(ProfileMap); in mergeSampleProfile()
659 StringMap<FunctionSamples> ProfileMap; in mergeSampleProfile() local692 MergeResult(Result, ProfileMap[FName].merge(Samples, Input.Weight)); in mergeSampleProfile()715 Writer->write(ProfileMap); in mergeSampleProfile()