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 |
||
|---|---|---|
| .. | ||
| bad_discriminator_value.prof | ||
| bad_fn_header.prof | ||
| bad_line_values.prof | ||
| bad_mangle.prof | ||
| bad_sample_line.prof | ||
| bad_samples.prof | ||
| branch.prof | ||
| calls.prof | ||
| cov-zero-samples.prof | ||
| coverage-warning.prof | ||
| discriminator.prof | ||
| einline.prof | ||
| entry_counts.prof | ||
| fnptr.binprof | ||
| fnptr.prof | ||
| gcc-simple.afdo | ||
| import.prof | ||
| indirect-call.afdo | ||
| indirect-call.prof | ||
| inline-act.prof | ||
| inline-combine.prof | ||
| inline-coverage.prof | ||
| inline-hint.prof | ||
| inline.prof | ||
| nodebug.prof | ||
| nolocinfo.prof | ||
| offset.prof | ||
| propagate.prof | ||
| remarks.prof | ||
| summary.prof | ||
| syntax.prof | ||