[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 22 12:21:04 PDT 2019


xur created this revision.
xur added reviewers: davidxl, vsk.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

Add overlap functionality to llvm-profdata tool to compute the similarity between two profile files.


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.196115.patch
Type: text/x-patch
Size: 31559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190422/6b18d224/attachment.bin>


More information about the llvm-commits mailing list