Creating a wrapper around a function at compile time
Martin Liška
mliska@suse.cz
Thu Jul 14 14:10:14 GMT 2022
On 7/14/22 16:08, Erick Ochoa via Gcc wrote:
> Last time I checked, value profiling can only track a single value per
> statement.
Hi.
Take a look at HIST_TYPE_INDIR_CALL which we use for tracking at maximum 32
(#define GCOV_TOPN_MAXIMUM_TRACKED_VALUES 32) and we use for indirect call
speculative calls which you can see for instance here:
./gcc/testsuite/g++.dg/tree-prof/indir-call-prof.C
Cheers,
Martin
More information about the Gcc
mailing list