[ProfileSummary] Add options to override hot and cold count thresholds.
authorEaswaran Raman <eraman@google.com>
Fri, 2 Nov 2018 17:39:31 +0000 (17:39 +0000)
committerEaswaran Raman <eraman@google.com>
Fri, 2 Nov 2018 17:39:31 +0000 (17:39 +0000)
commitc5e1506ec8c43dc44fa00e08c6cc14b330044987
tree7b862d696ea1c10044715ed04687154d93c61714
parente3b7144e6aa82345f52753d3386530c3bc9f3d72
[ProfileSummary] Add options to override hot and cold count thresholds.

Summary:
The hot and cold count thresholds are derived from the summary, but for
debugging purposes it is convenient to provide the actual thresholds.

Reviewers: davidxl

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D54040

llvm-svn: 346005
llvm/lib/Analysis/ProfileSummaryInfo.cpp
llvm/test/Analysis/ProfileSummary/basic.ll