Re: SRA argument after materialization

2020-07-13 Thread Erick Ochoa
On 13/07/2020 13:13, Martin Jambor wrote: Hi, On Fri, Jul 10 2020, Erick Ochoa wrote: Hello, is there a way to determine just how an argument is affected by SRA after SRA has occured? How would I be able to determine the effects of ISRA on the struct argument? For the changes performed b

Re: SRA argument after materialization

2020-07-13 Thread Martin Jambor
Hi, On Fri, Jul 10 2020, Erick Ochoa wrote: > Hello, > > is there a way to determine just how an argument is affected by SRA > after SRA has occured? > > How would I be able to determine the effects of ISRA on the struct argument? For the changes performed by IPA-SRA (but also to spot arguments

SRA argument after materialization

2020-07-10 Thread Erick Ochoa
Hello, is there a way to determine just how an argument is affected by SRA after SRA has occured? I have the following functions: source: _Bool returnLastField (struct arc anArc) { return anArc.c; } _Bool returnNextField (struct arc anArc) { _Bool *ptr = &(anArc.a); ptr = ptr + 1; // a