Go to file
David Callahan d2eeb2516d 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
2019-01-24 00:55:23 +00:00
clang [Sema] Fix Modified Type in address_space AttributedType 2019-01-24 00:11:35 +00:00
clang-tools-extra [clangd] Workaround a test failure after r351941 2019-01-23 11:32:07 +00:00
compiler-rt hwasan: Read shadow address from ifunc if we don't need a frame record. 2019-01-23 22:39:11 +00:00
debuginfo-tests Set config.lit_tools_dir, which is needed by lit.llvm.initialize. 2018-11-06 21:54:27 +00:00
libclc Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
libcxx Mark another test as flaky 2019-01-23 23:24:43 +00:00
libcxxabi Enable LLVM_ENABLE_WARNINGS when building standalone out of tree 2019-01-22 20:43:37 +00:00
libunwind Silence warnings about unused parameters 2019-01-22 22:12:23 +00:00
lld Revert "[PPC64] Sort .toc sections accessed with small code model ..." 2019-01-23 21:46:28 +00:00
lldb Revert "[dotest] Add logging to investigate CI issue." 2019-01-23 00:13:47 +00:00
llgo Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
llvm Update entry count for cold calls 2019-01-24 00:55:23 +00:00
openmp NFC: fixed formatting to be consistent across the file 2019-01-21 16:11:43 +00:00
parallel-libs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
polly Fix/unify top comment in lib/Analysis/PolyhedralInfo.cpp 2019-01-22 12:18:38 +00:00
pstl Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
.arcconfig Add an .arcconfig for the top of the git monorepo. 2019-01-11 16:27:14 +00:00
README.md

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.