Tune isHotFunction/isColdFunction
authorDehao Chen <dehao@google.com>
Tue, 11 Oct 2016 05:19:00 +0000 (05:19 +0000)
committerDehao Chen <dehao@google.com>
Tue, 11 Oct 2016 05:19:00 +0000 (05:19 +0000)
commitc87bc79d909bf171fb77d9479e14f27ab761b7a8
treee17b45b625863a31c23c22e450cfecb3f9f29bfe
parente67fc4a32838ea9020d0a67e9873a1a45889adb3
Tune isHotFunction/isColdFunction

Summary: This patch sets function as hot if function's entry count is hot/cold.

Reviewers: eraman, davidxl

Subscribers: llvm-commits

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

llvm-svn: 283852
llvm/lib/Analysis/ProfileSummaryInfo.cpp