[PATCH] D10674: Value profiling - patchset 3

Betul Buyukkurt via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 17:11:43 PDT 2015


betulb updated this revision to Diff 32113.
betulb added a comment.

- Reserved fields are removed from the instrprof_value_kind enum.
- All strings are stored in the string table (InstrProfStringTable).
- Review comments on file format are addressed the suggested indexed file format is implemented. The only difference is from the suggested implementation is that value kind is not written out explicitly in the profile data file.
- Data structures are arranged such that the old value data is arranged into site records, and the InstrProfRecord is keeping a vector of site records.


http://reviews.llvm.org/D10674

Files:
  include/llvm/ProfileData/InstrProf.h
  include/llvm/ProfileData/InstrProfReader.h
  include/llvm/ProfileData/InstrProfWriter.h
  lib/ProfileData/InstrProf.cpp
  lib/ProfileData/InstrProfIndexed.h
  lib/ProfileData/InstrProfReader.cpp
  lib/ProfileData/InstrProfWriter.cpp
  tools/llvm-profdata/llvm-profdata.cpp
  unittests/ProfileData/CoverageMappingTest.cpp
  unittests/ProfileData/InstrProfTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10674.32113.patch
Type: text/x-patch
Size: 28369 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150814/61d01fc1/attachment.bin>


More information about the llvm-commits mailing list