Home
last modified time | relevance | path

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

/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-7.0/llvm/include/llvm/ProfileData/
DSampleProfWriter.h45 std::error_code write(const StringMap<FunctionSamples> &ProfileMap);
66 writeHeader(const StringMap<FunctionSamples> &ProfileMap) = 0;
75 void computeSummary(const StringMap<FunctionSamples> &ProfileMap);
88 writeHeader(const StringMap<FunctionSamples> &ProfileMap) override { in writeHeader() argument
113 std::error_code writeHeader(const StringMap<FunctionSamples> &ProfileMap) override;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DSampleProfWriter.cpp42 SampleProfileWriter::write(const StringMap<FunctionSamples> &ProfileMap) { in write() argument
43 if (std::error_code EC = writeHeader(ProfileMap)) in write()
49 for (const auto &I : ProfileMap) in write()
201 const StringMap<FunctionSamples> &ProfileMap) { in writeHeader() argument
204 computeSummary(ProfileMap); in writeHeader()
209 for (const auto &I : ProfileMap) { in writeHeader()
338 const StringMap<FunctionSamples> &ProfileMap) { in computeSummary() argument
340 for (const auto &I : ProfileMap) { in computeSummary()
/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp339 StringMap<FunctionSamples> ProfileMap; in mergeSampleProfile() local
362 sampleprof_error Result = ProfileMap[FName].merge(Samples, Input.Weight); in mergeSampleProfile()
369 Writer->write(ProfileMap); in mergeSampleProfile()