Displaying 3 results from an estimated 3 matches for "computeregioncounts".
2015 May 07
2
[LLVMdev] RFC - Improvements to PGO profile support
...o
>> the blocks, an algorithm to minimize the number of insertions. Is that
>> algorithm a well-known one or a custom one? Is that described
>> somewhere?
>
> It is a custom approach. I don’t think we have a written description but the code is pretty straightforward. Look at ComputeRegionCounts in clang’s lib/CodeGen/CodeGenPGO.cpp source file.
>
>>
>> On Wed, Mar 25, 2015 at 10:47 PM, Xinliang David Li <davidxl at google.com> wrote:
>>> Bob,
>>>
>>>> Which workload is better? I don’t at all trust users to get this right, at
>>>&...
2015 May 07
3
[LLVMdev] RFC - Improvements to PGO profile support
Can you tell us if you're continuing to use the same approach as
described in one of the LLVM meetings, i.e. instrument at the clang
AST level?
Also, do you generate GCOV files, some yaml, or is this a separate format?
And finally in the meeting you had given how you assign counters to
the blocks, an algorithm to minimize the number of insertions. Is that
algorithm a well-known one or a
2015 May 22
2
[LLVMdev] RFC - Improvements to PGO profile support
...gt; the blocks, an algorithm to minimize the number of insertions. Is that
> > algorithm a well-known one or a custom one? Is that described
> > somewhere?
>
> It is a custom approach. I don’t think we have a written description but
> the code is pretty straightforward. Look at ComputeRegionCounts in clang’s
> lib/CodeGen/CodeGenPGO.cpp source file.
>
> >
> > On Wed, Mar 25, 2015 at 10:47 PM, Xinliang David Li <davidxl at google.com>
> wrote:
> >> Bob,
> >>
> >>> Which workload is better? I don’t at all trust users to get this
> rig...