HomePhabricator

[ThinLTO] Compute synthetic function entry count

Description

[ThinLTO] Compute synthetic function entry count

Summary:
This patch computes the synthetic function entry count on the whole
program callgraph (based on module summary) and writes the entry counts
to the summary. After function importing, this count gets attached to
the IR as metadata. Since it adds a new field to the summary, this bumps
up the version.

Reviewers: tejohnson

Subscribers: mehdi_amini, inglorion, llvm-commits

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

Details

Committed
eramanDec 13 2018, 11:54 AM
Differential Revision
D43521: [ThinLTO] Compute synthetic function entry count
Parents
rL349075: [llvm] Address base discriminator overflow in X86DiscriminateMemOps
Branches
Unknown
Tags
Unknown