[Question]: How to tracking the relationship between gimple expr and expanded rtx ?
Li Kun
hw.likun@huawei.com
Fri Jan 18 09:33:00 GMT 2019
å¨ 2019/1/18 16:52, Richard Biener åé:
> On Fri, Jan 18, 2019 at 4:11 AM Li Kun <hw.likun@huawei.com> wrote:
>> I need to known which rtx is expanded from a specific CALL_EXPR, how
>> could i do ?
>>
>> Is INSN_LOCATION accurate enough ?
> No. There's no accurate way to do this so you have to invent something.
> Or start by explaining what you are wanting to do.
I'm trying to implement safestack as an pass after expand, so i have to
known where the
args are lying if the composite struct param passed by reference, and i
could move the arg to unsafe region.
I try to not interfere the procedure of expand_call, but i can't get the
accurate informations.
What i'm thinking about is to get the rtxs of CALL_EXPR, and to locate
the args reversely.
So is there any better way to make it ?
Thanks a lot!
>
> Richard.
>
>> --
>> Best Regards
>> Li Kun
>>
--
Best Regards
Li Kun
More information about the Gcc
mailing list