Home
last modified time | relevance | path

Searched refs:ProfileMap (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/llvm/include/llvm/ProfileData/
DSampleProfWriter.h44 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() argument
126 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 …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DSampleProfWriter.h44 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() argument
123 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 …]
/external/llvm-project/llvm/lib/ProfileData/
DSampleProfWriter.cpp44 const StringMap<FunctionSamples> &ProfileMap) { in writeFuncProfiles() argument
48 for (const auto &I : ProfileMap) in writeFuncProfiles()
66 SampleProfileWriter::write(const StringMap<FunctionSamples> &ProfileMap) { in write() argument
67 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() argument
132 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() argument
189 for (const auto &I : ProfileMap) { in writeNameTableSection()
[all …]
/external/llvm/include/llvm/ProfileData/
DSampleProfWriter.h43 std::error_code write(const StringMap<FunctionSamples> &ProfileMap) { in write() argument
44 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() argument
120 writeHeader(const StringMap<FunctionSamples> &ProfileMap) override;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DSampleProfWriter.cpp44 const StringMap<FunctionSamples> &ProfileMap) { in writeFuncProfiles() argument
48 for (const auto &I : ProfileMap) in writeFuncProfiles()
66 SampleProfileWriter::write(const StringMap<FunctionSamples> &ProfileMap) { in write() argument
67 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() argument
132 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() argument
172 computeSummary(ProfileMap); in writeSections()
[all …]
/external/llvm-project/llvm/tools/llvm-profgen/
DProfileGenerator.cpp51 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()
DProfileGenerator.h55 StringMap<FunctionSamples> ProfileMap; variable
/external/llvm/lib/ProfileData/
DSampleProfWriter.cpp113 const StringMap<FunctionSamples> &ProfileMap) { in writeHeader() argument
120 computeSummary(ProfileMap); in writeHeader()
125 for (const auto &I : ProfileMap) { in writeHeader()
257 const StringMap<FunctionSamples> &ProfileMap) { in computeSummary() argument
259 for (const auto &I : ProfileMap) { in computeSummary()
/external/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp178 StringMap<FunctionSamples> ProfileMap; in mergeSampleProfile() local
201 sampleprof_error Result = ProfileMap[FName].merge(Samples, Input.Weight); in mergeSampleProfile()
208 Writer->write(ProfileMap); in mergeSampleProfile()
/external/llvm-project/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp659 StringMap<FunctionSamples> ProfileMap; in mergeSampleProfile() local
692 MergeResult(Result, ProfileMap[FName].merge(Samples, Input.Weight)); in mergeSampleProfile()
715 Writer->write(ProfileMap); in mergeSampleProfile()