[PATCH] D18468: Profile summary cleanup.

Easwaran Raman via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 24 17:19:24 PDT 2016


eraman created this revision.
eraman added a reviewer: davidxl.
eraman added subscribers: llvm-commits, vsk.

Move MaxFunctionCount and NumFunctions to the base class. This allows to get max function count from profile summary (which is needed to phase out MaxFunctionCount module flag) without knowing what format of profile is used. I have retained all the existing interfaces in SampleProfSummary (so, for instance, getMaxHeadSamples and getMaxFunctionCount would return the same thing). 



http://reviews.llvm.org/D18468

Files:
  include/llvm/ProfileData/ProfileCommon.h
  lib/ProfileData/ProfileSummary.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18468.51620.patch
Type: text/x-patch
Size: 7704 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160325/acab5e85/attachment.bin>


More information about the llvm-commits mailing list