summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorDavid Callahan <dcallahan@fb.com>2019-01-24 00:55:23 +0000
committerDavid Callahan <dcallahan@fb.com>2019-01-24 00:55:23 +0000
commitd2eeb2516dcf960932f51cb0988f689a3bc99634 (patch)
tree70e1c60176e962d99d44e969402d6e33ad3da08d /llvm/lib/Bitcode
parent7876c0ecf22f291fcbaf9ba507bad31e3d0bf1c4 (diff)
downloadbcm5719-llvm-d2eeb2516dcf960932f51cb0988f689a3bc99634.tar.gz
bcm5719-llvm-d2eeb2516dcf960932f51cb0988f689a3bc99634.zip
Update entry count for cold calls
Summary: Profile sample files include the number of times each entry or inlined call site is sampled. This is translated into the entry count metadta on functions. When sample data is being read, if a call site that was inlined in the sample program is considered cold and not inlined, then the entry count of the out-of-line functions does not reflect the current compilation. In this patch, we note call sites where the function was not inlined and as a last action of the sample profile loading, we update the called function's entry count to reflect the calls from these call sites which are not included in the profile file. Reviewers: danielcdh, wmi, Kader, modocache Reviewed By: wmi Subscribers: davidxl, eraman, llvm-commits Differential Revision: https://reviews.llvm.org/D52845 llvm-svn: 352001
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud