Displaying 3 results from an estimated 3 matches for "read_cycle_count".
Did you mean:
read_cycle_counter
2008 Oct 31
2
[LLVMdev] Optimizations and debug info
...ans if it
> doesn't :-). Do you have an example where being able to
> do optimizations would be useful?
>
> Dan
>
I don't have a real example for the readcycles, but I could think that a
profiler wants to profile something, and inserts it and it ends up with:
loop
...
read_cycle_counter
call_to_function
read_cycle_counter
....
Now, the presence of read_cycle_counter would prevent GVN from working
in that loop, since read_cycle_counter would be seen as a depedency of
every load and store (including the one from the induction variable). So
by inserting the read_cycle_coun...
2008 Nov 03
0
[LLVMdev] Optimizations and debug info
...Do you have an example where being able to
>> do optimizations would be useful?
>>
> I don't have a real example for the readcycles, but I could think
> that a
> profiler wants to profile something, and inserts it and it ends up
> with:
>
> loop
> ...
> read_cycle_counter
> call_to_function
> read_cycle_counter
> ....
>
> Now, the presence of read_cycle_counter would prevent GVN from working
> in that loop, since read_cycle_counter would be seen as a depedency of
> every load and store (including the one from the induction
> variable)...
2008 Nov 03
2
[LLVMdev] Optimizations and debug info
...optimizations would be useful?
>>>
>>>
>> I don't have a real example for the readcycles, but I could think
>> that a
>> profiler wants to profile something, and inserts it and it ends up
>> with:
>>
>> loop
>> ...
>> read_cycle_counter
>> call_to_function
>> read_cycle_counter
>> ....
>>
>> Now, the presence of read_cycle_counter would prevent GVN from working
>> in that loop, since read_cycle_counter would be seen as a depedency of
>> every load and store (including the one from th...