Displaying 4 results from an estimated 4 matches for "not_addr_taken".
2013 Oct 30
2
[LLVMdev] [Propose] Add address-taken bit to GlobalVariable for disambiguation purpose
...understand from this example: Suppose the a.c b.c comprise the
program where a.c has some static variable whose address
are not taken. The addr-taken information collected during stage
time-stamp-0 cannot be found at time-stamp-1.2.
If we were saving the addr-not-taken info in
GlobalVariable::not_addr_taken, optimizations in 1.2 will automatically
benefit from
cached information.
-------------------------------------
time-stamp-0:
clang *.c -flto -c -o a.o
time stamp 1:
clang *.o -flto -o a.out
time stamp 1.1): link a.o b.o into merged.o
time stamp 1.2): do some optimizations
time stamp...
2013 Oct 30
0
[LLVMdev] [Propose] Add address-taken bit to GlobalVariable for disambiguation purpose
...from this example: Suppose the a.c b.c comprise the program where a.c has some static variable whose address
> are not taken. The addr-taken information collected during stage time-stamp-0 cannot be found at time-stamp-1.2.
>
> If we were saving the addr-not-taken info in GlobalVariable::not_addr_taken, optimizations in 1.2 will automatically benefit from
> cached information.
To answer Hal’s question, I think internal globals already benefit from Shuxin’s proposed optimization, independent of LTO. Shuxin is only pointing out a potential additional benefit, either in terms of compile time (no...
2013 Oct 30
0
[LLVMdev] [Propose] Add address-taken bit to GlobalVariable for disambiguation purpose
----- Original Message -----
> Hi, Hal:
>
> Thank you for your feedback, see following inline comment
>
> Thanks
>
> On 10/29/13 5:02 PM, Hal Finkel wrote:
> > ----- Original Message -----
> >> Hi, There:
> >>
> >> I'd like to add bit, called "addr_not_taken", to
> >> GlobalVariable in
> >> order to
2013 Oct 30
3
[LLVMdev] [Propose] Add address-taken bit to GlobalVariable for disambiguation purpose
Hi, Hal:
Thank you for your feedback, see following inline comment
Thanks
On 10/29/13 5:02 PM, Hal Finkel wrote:
> ----- Original Message -----
>> Hi, There:
>>
>> I'd like to add bit, called "addr_not_taken", to GlobalVariable in
>> order to
>> indicate if a GlobalVariable doesn't has its address taken or not.
>>
>> 1.The