Displaying 3 results from an estimated 3 matches for "call_to_function".
2008 Oct 31
2
[LLVMdev] Optimizations and debug info
...9;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_counter it pessimized the c...
2008 Nov 03
0
[LLVMdev] Optimizations and debug info
...re 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). So
> by inserting the...
2008 Nov 03
2
[LLVMdev] Optimizations and debug info
...>>>
>>>
>> 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...