[LLVMdev] Getting the DSNode from a Pool Descriptor?
Harmen van der Spek
hvdspek at liacs.nl
Wed Mar 17 06:17:44 PDT 2010
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
More information about the llvm-dev
mailing list