llvm-project/llvm/lib/ProfileData
Hongtao Yu f27fee623d [SamplePGO][NFC] Dump function profiles in order
Sample profiles are stored in a string map which is basically an unordered map. Printing out profiles by simply walking the string map doesn't enforce an order. I'm sorting the map in the decreasing order of total samples to enable a more stable dump, which is good for comparing two dumps.

Reviewed By: wenlei, wlei

Differential Revision: https://reviews.llvm.org/D108147
2021-08-16 17:22:30 -07:00
..
Coverage PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
CMakeLists.txt Revert "[SampleFDO][NFC] Refactor SampleProfile.cpp" 2021-02-16 22:11:42 +00:00
GCOV.cpp [llvm-cov gcov] Support GCC 12 format 2021-06-19 22:51:20 -07:00
InstrProf.cpp [llvm-profdata] Make diagnostics consistent with the (no capitalization, no period) style 2021-06-19 14:54:25 -07:00
InstrProfReader.cpp [profile] Fix profile merging with binary IDs 2021-07-30 18:54:27 -07:00
InstrProfWriter.cpp [llvm-profdata] Emit Error when Invalid MemOpSize Section is Created by llvm-profdata 2021-02-23 12:51:54 -08:00
ProfileSummaryBuilder.cpp [CSSPGO] Report zero-count probe in profile instead of dangling probes. 2021-06-16 11:45:29 -07:00
SampleProf.cpp [SamplePGO][NFC] Dump function profiles in order 2021-08-16 17:22:30 -07:00
SampleProfReader.cpp [SamplePGO][NFC] Dump function profiles in order 2021-08-16 17:22:30 -07:00
SampleProfWriter.cpp [SamplePGO][NFC] Dump function profiles in order 2021-08-16 17:22:30 -07:00