[PATCH] D20314: Move ProfileSummary to IR

Easwaran Raman via llvm-commits llvm-commits at lists.llvm.org
Mon May 16 17:30:37 PDT 2016


eraman created this revision.
eraman added reviewers: silvas, vsk.
eraman added subscribers: davidxl, llvm-commits.

This splits ProfileSummary into two classes: a ProfileSummary class that has methods to convert from/to metadata and a ProfileSummaryBuilder class that computes the profiles summary which is in ProfileData. In subsequent patches, I will add an analysis pass to access the profile summary information. 

http://reviews.llvm.org/D20314

Files:
  include/llvm/IR/ProfileSummary.h
  include/llvm/ProfileData/ProfileCommon.h
  lib/IR/CMakeLists.txt
  lib/IR/ProfileSummary.cpp
  lib/ProfileData/CMakeLists.txt
  lib/ProfileData/InstrProfReader.cpp
  lib/ProfileData/InstrProfWriter.cpp
  lib/ProfileData/ProfileSummary.cpp
  lib/ProfileData/ProfileSummaryBuilder.cpp
  lib/ProfileData/SampleProfReader.cpp
  lib/ProfileData/SampleProfWriter.cpp
  tools/llvm-profdata/llvm-profdata.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20314.57425.patch
Type: text/x-patch
Size: 31246 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160517/0ab88ffe/attachment-0001.bin>


More information about the llvm-commits mailing list