[LLVMdev] Getting the DSNode from a Pool Descriptor?

Andrew Lenharth andrewl at lenharth.org
Wed Mar 17 06:24:19 PDT 2010


In BU, a node will not be complete if it it is reachable from an
argument.  Poolalloc, originally, uses (c)BU.  The TD based poolalloc
was for safecode.  Patrick doesn't work on safecode, so I was assuming
he was using BU-poolalloc.

On Wed, Mar 17, 2010 at 7:17 AM, Harmen van der Spek <hvdspek at liacs.nl> wrote:
> Depending on the value of dsa_pass_to_use, either EquivBUDataStructures
> or EQTDDataStructures is used. In the case that the top-down DSA is
> used, information is pushed down to nodes in callees. However,
> if bottom-up DSA is used, information has only been merged upwards and
> the nodes are not necessarily equivalent.
>
> Harmen
>
> Andrew Lenharth wrote:
>> On Tue, Mar 16, 2010 at 3:46 PM, Patrick Alexander Simmons
>> <simmon12 at cs.uiuc.edu> wrote:
>>> I figure (hopefully correctly) that I can iterate over all pool
>>> descriptors in a program by iterating over all users of poolinit and
>>> looking at the first argument.  However, once I have a pool descriptor,
>>> I need to get its corresponding DSNode in the function in which it is
>>> complete (or in the global graph if it is a global).  How do I do this?
>>
>> How is different than the function in which the poolinit appears (or
>> main if it is global)?
>>
>> Andrew
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list