summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsTargetStreamer.h
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2014-09-09 12:40:50 +0000
committerDiego Novillo <dnovillo@google.com>2014-09-09 12:40:50 +0000
commitde1ab26f52a0f90a9789c2047e2a32f2d29d2d39 (patch)
tree3ff6a404b65082065b6383654b007574d6b54232 /llvm/lib/Target/Mips/MipsTargetStreamer.h
parent2b746bc4ae4f1b75f7519879ca871aef661255ff (diff)
downloadbcm5719-llvm-de1ab26f52a0f90a9789c2047e2a32f2d29d2d39.tar.gz
bcm5719-llvm-de1ab26f52a0f90a9789c2047e2a32f2d29d2d39.zip
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 llvm-svn: 217437
Diffstat (limited to 'llvm/lib/Target/Mips/MipsTargetStreamer.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud