llvm-project/llvm/test/Transforms/SampleProfile/Inputs
Dehao Chen a60cdd3881 Add function importing info from samplepgo profile to the module summary.
Summary: For SamplePGO, the profile may contain cross-module inline stacks. As we need to make sure the profile annotation happens when all the hot inline stacks are expanded, we need to pass this info to the module importer so that it can import proper functions if necessary. This patch implemented this feature by emitting cross-module targets as part of function entry metadata. In the module-summary phase, the metadata is used to build call edges that points to functions need to be imported.

Reviewers: mehdi_amini, tejohnson

Reviewed By: tejohnson

Subscribers: davidxl, llvm-commits

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

llvm-svn: 296498
2017-02-28 18:09:44 +00:00
..
bad_discriminator_value.prof
bad_fn_header.prof
bad_line_values.prof
bad_mangle.prof
bad_sample_line.prof
bad_samples.prof
branch.prof Fine tuning of sample profile propagation algorithm. 2016-08-12 16:22:12 +00:00
calls.prof
cov-zero-samples.prof
coverage-warning.prof
discriminator.prof
einline.prof Handle early inline for hot callsites that reside in the same basic block. 2016-09-19 18:38:14 +00:00
entry_counts.prof
fnptr.binprof Fine tuning of sample profile propagation algorithm. 2016-08-12 16:22:12 +00:00
fnptr.prof Fine tuning of sample profile propagation algorithm. 2016-08-12 16:22:12 +00:00
gcc-simple.afdo
import.prof Add function importing info from samplepgo profile to the module summary. 2017-02-28 18:09:44 +00:00
indirect-call.afdo Fix an obvious bug in SampleProfileReaderGCC. 2017-02-22 17:27:21 +00:00
indirect-call.prof Fix the samplepgo indirect call promotion bug: we should not promote a direct call. 2017-02-06 23:33:15 +00:00
inline-act.prof
inline-combine.prof
inline-coverage.prof Use call target count to derive the call instruction weight 2016-09-19 16:06:37 +00:00
inline-hint.prof
inline.prof
nodebug.prof Before sample pgo annotation, do not inline a function that has no debug info. (NFC) 2016-11-22 22:50:01 +00:00
nolocinfo.prof
offset.prof
propagate.prof
remarks.prof
summary.prof
syntax.prof