Displaying 4 results from an estimated 4 matches for "enable_indirect_profile".
2015 Jun 30
3
[LLVMdev] IC profiling infrastructure
...ode.
>> In terms of value profiling code, there is no need for the check you
mentioned "if value kind is ..." at all, but 'attached' to the codegen
code for language construct of interests, for instance,
>> ... CodeGenFunction::EmitCall(...)
>> {
>> if (enable_indirect_profile) {
>> ....profileIndirectCall(); // does both instrumentation
>> and profile annotation depending on the context.
>> }
>> ...
>> }
>> Organizing the profile data according value profile kind allows profile
data to be independently loaded and...
2015 Jul 03
3
[LLVMdev] IC profiling infrastructure
...value profiling code, there is no need for the check you
> mentioned "if value kind is ..." at all, but 'attached' to the codegen code
> for language construct of interests, for instance,
> >> ... CodeGenFunction::EmitCall(...)
> >> {
> >> if (enable_indirect_profile) {
> >> ....profileIndirectCall(); // does both instrumentation
> >> and profile annotation depending on the context.
> >> }
> >> ...
> >> }
> >> Organizing the profile data according value profile kind allows
> >>...
2015 Jun 29
3
[LLVMdev] IC profiling infrastructure
...tually
> generalizing the code.
In terms of value profiling code, there is no need for the check you
mentioned "if value kind is ..." at all, but 'attached' to the codegen
code for language construct of interests, for instance,
... CodeGenFunction::EmitCall(...)
{
if (enable_indirect_profile) {
....profileIndirectCall(); // does both instrumentation
and profile annotation depending on the context.
}
...
}
Organizing the profile data according value profile kind allows
profile data to be independently loaded and used:
.. CodeGenPGO::assignRegionCounters (...) {...
2015 Jun 22
4
[LLVMdev] IC profiling infrastructure
Justin, do you have more concerns on keeping value_kind?
If there is still disagreement, can we agree to move on with it for
now ? After the initial version of the patches checked in, we can do
more serious testings with large apps and revisit this if there are
problems discovered.
thanks,
David
On Mon, Jun 15, 2015 at 10:47 PM, Xinliang David Li <davidxl at google.com> wrote: