llvm-project/llvm/test/Transforms/SampleProfile/Inputs
Dehao Chen 1ea8bd8109 Build SymbolMap in SampleProfileLoader to help matchin function names with suffix.
Summary: If there is suffix added in the function name (e.g. module hash added by thinLTO), we will not be able to find a match in profile as the suffix does not exist in profile. This patch build a map from function name to Function *. The map includes the entry for the stripped function name so that inlineHotFunctions can find the corresponding function to promote/inline.

Reviewers: davidxl, dnovillo, tejohnson

Reviewed By: davidxl

Subscribers: mehdi_amini, llvm-commits

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

llvm-svn: 300507
2017-04-17 22:23:05 +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 Build SymbolMap in SampleProfileLoader to help matchin function names with suffix. 2017-04-17 22:23:05 +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