[PATCH] D60977: [llvm-profdata] Add overlap command to compute similarity b/w two profile files

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 12:32:33 PDT 2019


xur updated this revision to Diff 197161.
xur added a comment.

Discussed offline with David. We changed the output to a simpler: "Description: <Value>" format. This tool will mostly used in a script. Simpler format will make text grep cleaner.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60977/new/

https://reviews.llvm.org/D60977

Files:
  llvm/docs/CommandGuide/llvm-profdata.rst
  llvm/include/llvm/ProfileData/InstrProf.h
  llvm/include/llvm/ProfileData/InstrProfReader.h
  llvm/include/llvm/ProfileData/InstrProfWriter.h
  llvm/lib/ProfileData/InstrProf.cpp
  llvm/lib/ProfileData/InstrProfReader.cpp
  llvm/lib/ProfileData/InstrProfWriter.cpp
  llvm/test/tools/llvm-profdata/Inputs/overlap_1.proftext
  llvm/test/tools/llvm-profdata/Inputs/overlap_1_cs.proftext
  llvm/test/tools/llvm-profdata/Inputs/overlap_1_vp.proftext
  llvm/test/tools/llvm-profdata/Inputs/overlap_2.proftext
  llvm/test/tools/llvm-profdata/Inputs/overlap_2_cs.proftext
  llvm/test/tools/llvm-profdata/Inputs/overlap_2_vp.proftext
  llvm/test/tools/llvm-profdata/overlap.test
  llvm/test/tools/llvm-profdata/overlap_cs.test
  llvm/test/tools/llvm-profdata/overlap_vp.test
  llvm/tools/llvm-profdata/llvm-profdata.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60977.197161.patch
Type: text/x-patch
Size: 31809 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190429/b7340997/attachment.bin>


More information about the llvm-commits mailing list