[PATCH] D17827: Use LineLocation instead of CallsiteLocation to index callsite profile.

Dehao Chen via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 2 14:15:24 PST 2016


danielcdh created this revision.
danielcdh added reviewers: dnovillo, davidxl.
danielcdh added a subscriber: llvm-commits.

With discriminator, LineLocation can uniquely identify a callsite without the need to specifying callee name. Remove Callee function name from the key, and put it in the value (FunctionSamples).

http://reviews.llvm.org/D17827

Files:
  include/llvm/ProfileData/SampleProf.h
  include/llvm/ProfileData/SampleProfWriter.h
  lib/ProfileData/SampleProf.cpp
  lib/ProfileData/SampleProfReader.cpp
  lib/ProfileData/SampleProfWriter.cpp
  lib/Transforms/IPO/SampleProfile.cpp
  unittests/ProfileData/SampleProfTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17827.49667.patch
Type: text/x-patch
Size: 15970 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160302/a229d34a/attachment.bin>


More information about the llvm-commits mailing list