llvm-project/llvm/lib/ProfileData
Dehao Chen 8d1c983f45 Change sample profile writer to make it deterministic.
Summary: This patch changes the function profile output order to be deterministic. In order to make it easier to understand, hottest functions (with most total samples) is ordered first.

Reviewers: dnovillo, davidxl

Reviewed By: dnovillo

Subscribers: llvm-commits

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

llvm-svn: 302851
2017-05-11 23:43:44 +00:00
..
Coverage [ProfileData] Unify getInstrProf*SectionName helpers 2017-04-15 00:09:57 +00:00
CMakeLists.txt Move ProfileSummary to IR. 2016-05-19 21:07:12 +00:00
InstrProf.cpp [ProfileData] Unify getInstrProf*SectionName helpers 2017-04-15 00:09:57 +00:00
InstrProfReader.cpp [PGO] Text format profile reader needs to clear the value profile 2017-03-03 21:56:34 +00:00
InstrProfWriter.cpp [ProfileData] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-03-03 01:07:34 +00:00
LLVMBuild.txt Move coverage related code into a separate library. 2016-04-29 18:53:05 +00:00
ProfileSummaryBuilder.cpp NFC Add const 2016-09-30 21:05:55 +00:00
SampleProf.cpp SamplePGO: convert callsite samples map key from callsite_location to callsite_location+callee_name 2017-04-13 19:52:10 +00:00
SampleProfReader.cpp SamplePGO: convert callsite samples map key from callsite_location to callsite_location+callee_name 2017-04-13 19:52:10 +00:00
SampleProfWriter.cpp Change sample profile writer to make it deterministic. 2017-05-11 23:43:44 +00:00