commit | f8bdcad7beb6d82f422dd5c45f7fbbeb1f4eac85 | [log] [tgz] |
---|---|---|
author | Easwaran Raman <eraman@google.com> | Thu Jun 09 22:23:21 2016 +0000 |
committer | Easwaran Raman <eraman@google.com> | Thu Jun 09 22:23:21 2016 +0000 |
tree | 7ffc5d7d10286f695f6428041a809c5c28507649 | |
parent | 8f579ce1a66161c74ab7cce474cc7ec2824cbce7 [diff] |
Use ProfileSummaryInfo in inline cost analysis. Instead of directly using MaxFunctionCount and function entry count to determine callee hotness, use the isHotFunction/isColdFunction methods provided by ProfileSummaryInfo. Differential revision: http://reviews.llvm.org/D21045 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272321 91177308-0d34-0410-b5e6-96231b3b80d8