Displaying 1 result from an estimated 1 matches for "estimated_execution_count".
2015 Jun 17
3
[LLVMdev] Path forward on profile guided inlining?
...update this
information once per iteration of the outer inlining loop. As a result,
we only need to keep it reasonably up to date within the inner inlining
loop. (See note below about alternate approaches.)
The metadata on the call site would look something like:
call void @foo() !prof !"estimated_execution_count" 2000 (where 2000 is
the estimated count)
We'd have a new FunctionPass which removes any existing metadata and
adds new metadata which basically comes down to a product of the
functions entry count and the estimated block frequency (provided by
BFI) of the block containing the call si...