[LLVMdev] Getting the DSNode from a Pool Descriptor?

Patrick Alexander Simmons simmon12 at cs.uiuc.edu
Tue Mar 16 14:46:27 PDT 2010


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?

Thanks,
--Patrick



More information about the llvm-dev mailing list