llvm-6502/lib/ProfileData
Diego Novillo 40c949a1b4 Re-factor sample profile reader into lib/ProfileData.
Summary:
This patch moves the profile reading logic out of the Sample Profile
transformation into a generic profile reader facility in
lib/ProfileData.

The intent is to use this new reader to implement a sample profile
reader/writer that can be used to convert sample profiles from external
sources into LLVM.

This first patch introduces no functional changes. It moves the profile
reading code from lib/Transforms/SampleProfile.cpp into
lib/ProfileData/SampleProfReader.cpp.

In subsequent patches I will:

- Add a bitcode format for sample profiles to allow for more efficient
  encoding of the profile.
- Add a writer for both text and bitcode format profiles.
- Add a 'convert' command to llvm-profdata to be able to convert between
  the two (and serve as entry point for other sample profile formats).

Reviewers: bogner, echristo

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D5250

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217437 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-09 12:40:50 +00:00
..
CMakeLists.txt Re-factor sample profile reader into lib/ProfileData. 2014-09-09 12:40:50 +00:00
CoverageMapping.cpp llvm-cov: Try to appease MSVC after r217404 2014-09-08 21:31:43 +00:00
CoverageMappingReader.cpp llvm-cov: add code coverage tool that's based on coverage mapping format and clang's pgo. 2014-08-22 22:56:03 +00:00
CoverageMappingWriter.cpp Make some helpers static or move into the llvm namespace. 2014-09-03 21:04:12 +00:00
InstrProf.cpp
InstrProfIndexed.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
InstrProfReader.cpp InstrProf: Allow multiple functions with the same name 2014-08-01 22:50:07 +00:00
InstrProfWriter.cpp InstrProf: Allow multiple functions with the same name 2014-08-01 22:50:07 +00:00
LLVMBuild.txt Add code coverage mapping data, reader, and writer. 2014-07-24 23:55:56 +00:00
Makefile
SampleProfReader.cpp Re-factor sample profile reader into lib/ProfileData. 2014-09-09 12:40:50 +00:00