OSDN Git Service

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)
commit87ba4550c7cd7fd4c76592c167a1a48e081715d5
tree65f90e8d1fbdfd1512aa47aeeb3ca639dc1b2c6b
parentddd1430cb064bc65c3fc59ae283a3a6b7ef5d4b7
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283852 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ProfileSummaryInfo.cpp