llvm-project/llvm/test/Transforms/SampleProfile
Dehao Chen a5eb1689dc Explicitly promote indirect calls before sample profile annotation.
Summary: In iterative sample pgo where profile is collected from PGOed binary, we may see indirect call targets promoted and inlined in the profile. Before profile annotation, we need to make this happen in order to annotate correctly on IR. This patch explicitly promotes these indirect calls and inlines them before profile annotation.

Reviewers: xur, davidxl

Reviewed By: davidxl

Subscribers: llvm-commits

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

llvm-svn: 292979
2017-01-24 21:05:51 +00:00
..
Inputs Explicitly promote indirect calls before sample profile annotation. 2017-01-24 21:05:51 +00:00
branch.ll Fine tuning of sample profile propagation algorithm. 2016-08-12 16:22:12 +00:00
calls.ll Change the basic block weight calculation algorithm to use max instead of voting. 2016-09-21 16:26:51 +00:00
cov-zero-samples.ll Renumber testcase metadata nodes after r290153. 2016-12-22 00:45:21 +00:00
coverage-warning.ll [PM] Port the Sample FDO to new PM (part-2) 2016-05-27 23:20:16 +00:00
discriminator.ll Fine tuning of sample profile propagation algorithm. 2016-08-12 16:22:12 +00:00
early-inline.ll Before sample pgo annotation, do not inline a function that has no debug info. (NFC) 2016-11-22 22:50:01 +00:00
entry_counts.ll Fine tuning of sample profile propagation algorithm. 2016-08-12 16:22:12 +00:00
fnptr.ll Change the basic block weight calculation algorithm to use max instead of voting. 2016-09-21 16:26:51 +00:00
gcc-simple.ll [PM] Port the Sample FDO to new PM (part-2) 2016-05-27 23:20:16 +00:00
indirect-call.ll Explicitly promote indirect calls before sample profile annotation. 2017-01-24 21:05:51 +00:00
inline-act.ll Pass AssumptionCacheTracker from SampleProfileLoader to Inliner 2016-06-20 20:53:40 +00:00
inline-combine.ll [PM] Port the Sample FDO to new PM (part-2) 2016-05-27 23:20:16 +00:00
inline-coverage.ll [PM] Port the Sample FDO to new PM (part-2) 2016-05-27 23:20:16 +00:00
inline.ll [PM] Port the Sample FDO to new PM (part-2) 2016-05-27 23:20:16 +00:00
nodebug.ll Before sample pgo annotation, do not inline a function that has no debug info. (NFC) 2016-11-22 22:50:01 +00:00
nolocinfo.ll [PM] Port the Sample FDO to new PM (part-2) 2016-05-27 23:20:16 +00:00
offset.ll Fine tuning of sample profile propagation algorithm. 2016-08-12 16:22:12 +00:00
propagate.ll Fine tuning of sample profile propagation algorithm. 2016-08-12 16:22:12 +00:00
remarks.ll [PM] Port the Sample FDO to new PM (part-2) 2016-05-27 23:20:16 +00:00
summary.ll Only sets profile summary when it was not preset. 2016-12-14 22:06:49 +00:00
syntax.ll [PM] Port the Sample FDO to new PM (part-2) 2016-05-27 23:20:16 +00:00