llvm-project/llvm/test/Transforms/SampleProfile
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
..
Inputs Build SymbolMap in SampleProfileLoader to help matchin function names with suffix. 2017-04-17 22:23:05 +00:00
branch.ll Do not set branch weight if the branch weight annotation is present. 2017-03-23 14:43:10 +00:00
calls.ll Remove the sample pgo annotation heuristic that uses call count to annotate basic block count. 2017-03-06 17:49:59 +00:00
cov-zero-samples.ll Use base discriminator in sample pgo profile matching. 2017-02-23 18:27:45 +00:00
coverage-warning.ll
discriminator.ll Use base discriminator in sample pgo profile matching. 2017-02-23 18:27:45 +00:00
early-inline.ll Verifier: Disallow a line number without a file in DISubprogram 2017-02-17 23:57:42 +00:00
entry_counts.ll Fine tuning of sample profile propagation algorithm. 2016-08-12 16:22:12 +00:00
fnptr.ll Remove the sample pgo annotation heuristic that uses call count to annotate basic block count. 2017-03-06 17:49:59 +00:00
gcc-simple.ll
import.ll Add function importing info from samplepgo profile to the module summary. 2017-02-28 18:09:44 +00:00
indirect-call-gcc.ll Fix an obvious bug in SampleProfileReaderGCC. 2017-02-22 17:27:21 +00:00
indirect-call.ll Build SymbolMap in SampleProfileLoader to help matchin function names with suffix. 2017-04-17 22:23:05 +00:00
inline-act.ll
inline-combine.ll
inline-coverage.ll Emit less compiler optimization remarks in samplepgo to reduce a call to findCalleeFunctionSamples which is going to be refactored. 2017-04-10 20:49:16 +00:00
inline.ll Use base discriminator in sample pgo profile matching. 2017-02-23 18:27:45 +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
offset.ll Fine tuning of sample profile propagation algorithm. 2016-08-12 16:22:12 +00:00
propagate.ll Use base discriminator in sample pgo profile matching. 2017-02-23 18:27:45 +00:00
remarks.ll Emit less compiler optimization remarks in samplepgo to reduce a call to findCalleeFunctionSamples which is going to be refactored. 2017-04-10 20:49:16 +00:00
summary.ll Only sets profile summary when it was not preset. 2016-12-14 22:06:49 +00:00
syntax.ll