OSDN Git Service

[NFC] Change getEntryForPercentile to be a static function in ProfileSummaryBuilder.
authorWei Mi <wmi@google.com>
Wed, 8 Jul 2020 18:19:59 +0000 (11:19 -0700)
committerWei Mi <wmi@google.com>
Thu, 9 Jul 2020 23:38:19 +0000 (16:38 -0700)
commite296e9dfd6ceade1271e48a0afacd1a4826676be
tree3bc1bd3b89a3e217a6cd0cff17b296bfe73ab8e2
parent78fe6a3ee244cf1b590cd2a169c81ec00de08cb2
[NFC] Change getEntryForPercentile to be a static function in ProfileSummaryBuilder.

Change file static function getEntryForPercentile to be a static member function
in ProfileSummaryBuilder so it can be used by other files.

Differential Revision: https://reviews.llvm.org/D83439
llvm/include/llvm/ProfileData/ProfileCommon.h
llvm/lib/Analysis/ProfileSummaryInfo.cpp
llvm/lib/ProfileData/ProfileSummaryBuilder.cpp