1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/tools/llvm-profdata
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
..
Inputs [AutoFDO] Make call targets order deterministic for sample profile 2019-08-20 20:52:00 +00:00
c-general.test
compact-sample.proftext [llvm-profdata] Profile dump for compact binary format 2019-08-13 17:56:08 +00:00
compat.proftext
count-mismatch.proftext
csprof-dump.test
cutoff.test
gcc-gcov-sample-profile.test [tests] Add host-byteorder-*-endian; update XFAILs of big-endian triples 2019-05-01 15:36:18 +00:00
general.proftext
hash-mismatch.proftext
inline-samples.test
input-dir.test
input-filenames.test
instr-remap.test
invalid-profdata.test
lit.local.cfg
memop-size-prof.proftext
merge_empty_profile.test
multiple-inputs.test
multiple-profdata-merge.test
nocompress.test Replace 'REQUIRES: nozlib' with '!zlib' because we don't need two ways 2019-05-10 18:47:39 +00:00
overflow-instr.test
overflow-sample.test
overlap_cs.test [llvm-profdata] Add overlap command to compute similarity b/w two profile files 2019-04-30 21:19:12 +00:00
overlap_vp.test [llvm-profdata] Add overlap command to compute similarity b/w two profile files 2019-04-30 21:19:12 +00:00
overlap.test [llvm-profdata] Add overlap command to compute similarity b/w two profile files 2019-04-30 21:19:12 +00:00
raw-32-bits-be.test
raw-32-bits-le.test
raw-64-bits-be.test
raw-64-bits-le.test
raw-magic-but-no-header.test
raw-two-profiles.test
roundtrip.test [AutoFDO] Make call targets order deterministic for sample profile 2019-08-20 20:52:00 +00:00
same-filename.test [llvm-profdata] Don't make the output overwrite the input file. 2019-07-09 09:57:45 +00:00
sample-profile-basic.test [AutoFDO] Make call targets order deterministic for sample profile 2019-08-20 20:52:00 +00:00
sample-remap.test
show-instr-level.test
text-dump.test
text-format-errors.test
threaded-count-mismatch.test
value-prof.proftext
weight-instr.test
weight-sample.test