1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/include/llvm/ProfileData
Wenlei He 733b0981cf [AutoFDO] Make call targets order deterministic for sample profile
Summary:
StringMap is used for storing call target to frequency map for AutoFDO. However the iterating order of StringMap is non-deterministic, which leads to non-determinism in AutoFDO profile output. Now new API getSortedCallTargets and SortCallTargets are added for deterministic ordering and output.

Roundtrip test for text profile and binary profile is added.

Reviewers: wmi, davidxl, danielcdh

Subscribers: hiraditya, mgrang, llvm-commits, twoh

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D66191

llvm-svn: 369440
2019-08-20 20:52:00 +00:00
..
Coverage [Coverage] Load code coverage data from archives 2019-06-13 20:48:57 +00:00
GCOV.h Use llvm::stable_sort 2019-04-23 14:51:27 +00:00
InstrProf.h [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
InstrProfData.inc The error message for mismatched value sites is very cryptic. 2019-04-23 22:26:55 +00:00
InstrProfReader.h [llvm-profdata] Add overlap command to compute similarity b/w two profile files 2019-04-30 21:19:12 +00:00
InstrProfWriter.h [llvm-profdata] Add overlap command to compute similarity b/w two profile files 2019-04-30 21:19:12 +00:00
ProfileCommon.h [ProfileSummary] Count callsite samples when computing total samples. 2019-04-03 19:54:43 +00:00
SampleProf.h [AutoFDO] Make call targets order deterministic for sample profile 2019-08-20 20:52:00 +00:00
SampleProfReader.h [llvm-profdata] Profile dump for compact binary format 2019-08-13 17:56:08 +00:00
SampleProfWriter.h