llvm/lib/ProfileData
Xinliang David Li 61c7e68339 [PGO] Value profiling (index format) code cleanup and testing
1. Added a set of public interfaces in InstrProfRecord
    class to access (read/write) value profile data.
 2. Changed IndexedProfile reader and writer code to 
    use the newly defined interfaces and hide implementation
    details.
 3. Added a couple of unittests for value profiling:
   - Test new interfaces to get and set value profile data
   - Test value profile data merging with various scenarios.

 No functional change is expected. The new interfaces will also
 make it possible to change on-disk format of value prof data
 to be more compact (to be submitted). 



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251771 91177308-0d34-0410-b5e6-96231b3b80d8
2015-11-02 05:08:23 +00:00
..
CMakeLists.txt modules: Add explicit dependency on intrinsics_gen 2015-06-16 00:44:12 +00:00
CoverageMapping.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
CoverageMappingReader.cpp Add helper functions and remove hard coded references to instProf related name/name-prefixes 2015-10-22 20:32:12 +00:00
CoverageMappingWriter.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
InstrProf.cpp InstrProf: Support for value profiling in the indexed profile format 2015-09-29 22:13:58 +00:00
InstrProfReader.cpp [PGO] Value profiling (index format) code cleanup and testing 2015-11-02 05:08:23 +00:00
InstrProfWriter.cpp [PGO] Value profiling (index format) code cleanup and testing 2015-11-02 05:08:23 +00:00
LLVMBuild.txt LLVMProfileData: Update LLVMBuild.txt corresponding to r217437. 2014-09-09 15:00:13 +00:00
Makefile
SampleProf.cpp Sample profiles - Add a name table to the binary encoding. 2015-10-13 22:48:46 +00:00
SampleProfReader.cpp Tolerate negative offset when matching sample profile. 2015-10-21 01:22:27 +00:00
SampleProfWriter.cpp Sample profiles - Re-arrange binary format to emit head samples only on top functions. 2015-10-16 18:54:35 +00:00