1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/lib/ProfileData
Wei Mi 47a041af4c [SampleFDO] Make sample profile loader unaware of compact format change.
The patch tries to make sample profile loader independent of profile format
change. It moves compact format related code into FunctionSamples and
SampleProfileReader classes, and sample profile loader only has to interact
with those two classes and will be unaware of profile format changes.

The cleanup also contain some fixes to further remove the difference between
compactbinary format and binary format. After the cleanup using different
formats originated from the same profile will generate the same binaries,
which we verified by compiling two large server benchmarks w/wo thinlto.

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

llvm-svn: 341591
2018-09-06 22:03:37 +00:00
..
Coverage [Coverage] Ignore 'unused' functions with non-zero execution counts 2018-08-07 22:25:36 +00:00
CMakeLists.txt
GCOV.cpp IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00
InstrProf.cpp [InstrProf] Use comdats on COFF for available_externally functions 2018-07-26 22:59:17 +00:00
InstrProfReader.cpp [ADT] Replace std::isprint by llvm::isPrint. 2018-07-26 15:31:41 +00:00
InstrProfWriter.cpp Support: Simplify endian stream interface. NFCI. 2018-05-18 19:46:24 +00:00
LLVMBuild.txt
ProfileSummaryBuilder.cpp [ProfileData] Change std::sort to llvm::sort in response to r327219 2018-04-13 19:46:36 +00:00
SampleProf.cpp [SampleFDO] Make sample profile loader unaware of compact format change. 2018-09-06 22:03:37 +00:00
SampleProfReader.cpp [SampleFDO] Make sample profile loader unaware of compact format change. 2018-09-06 22:03:37 +00:00
SampleProfWriter.cpp [NFC] Change sample profile format enum name SPF_Raw_Binary to SPF_Binary. 2018-06-12 05:53:49 +00:00