search for: sibvalueinfo

Displaying 6 results from an estimated 6 matches for "sibvalueinfo".

2012 Sep 19
2
[LLVMdev] InlineSpiller Questions
...formation from r2 as far as I can tell. >> >> Is that correct? > > Sounds right. Oh good, I'm understanding something. :) >> Does that information exist anywhere or is it lost after >> traceSiblingValue terminates? > > The r2 value would be cached in the SibValueInfo Deps array for the r1 > value. So if there are multiple values between r2 and r3 (r2.1, r2.2, etc.) I would just follow the chains implied by the SibValueInfo Deps array? Basically, I want to find all of the live ranges related to r1. >> What does propagateSiblingValue have to do with al...
2012 Sep 19
0
[LLVMdev] InlineSpiller Questions
...r1 and the value number information for r3. We don't have the > value information from r2 as far as I can tell. > > Is that correct? Sounds right. > Does that information exist anywhere or is it lost > after traceSiblingValue terminates? The r2 value would be cached in the SibValueInfo Deps array for the r1 value. > What does propagateSiblingValue have to do with all of this? It's a performance optimization to handle the quadratic number of CFG edges appearing after tail-duplicating an indirectbr. It's cheap enough to search up the dominator tree until you hit a PHI,...
2012 Sep 19
2
[LLVMdev] InlineSpiller Questions
The InlineSpiller in 3.1 is quite different from the old spiller so I am trying to slog through the code and learn a bit. On a spill, the spiller calls traceSiblingValue. I gather that this is supposed to find the "original" def point of a value, checking back through copies, phis, etc. At the end we have an interval being spilled and the original def instruction of the value. For
2012 Sep 19
0
[LLVMdev] InlineSpiller Questions
On Sep 19, 2012, at 10:49 AM, <dag at cray.com> wrote: > Jakob Stoklund Olesen <stoklund at 2pi.dk> writes: > > So if there are multiple values between r2 and r3 (r2.1, r2.2, etc.) I > would just follow the chains implied by the SibValueInfo Deps array? > Basically, I want to find all of the live ranges related to r1. It really depends on what you're trying to do. The whole sibling value machinery is only concerned with tracking different virtual register value numbers that are known to have the same value. It doesn't real...
2012 Sep 19
3
[LLVMdev] InlineSpiller Questions
...2pi.dk> writes: > On Sep 19, 2012, at 10:49 AM, <dag at cray.com> wrote: > >> Jakob Stoklund Olesen <stoklund at 2pi.dk> writes: >> >> So if there are multiple values between r2 and r3 (r2.1, r2.2, etc.) I >> would just follow the chains implied by the SibValueInfo Deps array? >> Basically, I want to find all of the live ranges related to r1. > > It really depends on what you're trying to do. > > The whole sibling value machinery is only concerned with tracking > different virtual register value numbers that are known to have the >...
2012 Sep 19
0
[LLVMdev] InlineSpiller Questions
...gt; On Sep 19, 2012, at 10:49 AM, <dag at cray.com> wrote: >> >>> Jakob Stoklund Olesen <stoklund at 2pi.dk> writes: >>> >>> So if there are multiple values between r2 and r3 (r2.1, r2.2, etc.) I >>> would just follow the chains implied by the SibValueInfo Deps array? >>> Basically, I want to find all of the live ranges related to r1. >> >> It really depends on what you're trying to do. >> >> The whole sibling value machinery is only concerned with tracking >> different virtual register value numbers that...