search for: argnodes

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

Did you mean: argcodes
2010 Mar 17
0
[LLVMdev] Getting the DSNode from a Pool Descriptor?
You might want to have a look at PoolAllocate.h. Per function, a PA::FuncInfo structure keeps track of all DSNodes that should be pool allocated. ArgNodes contains pool arguments, NodesToPA contains nodes that are locally pool allocated and thus initialized using poolinit. PoolDescriptors contains a mapping from DSNodes to pool descriptors, and you could easily invert this mapping. Finding a corresponding DSNode which is complete is not uniquely...
2010 Mar 16
4
[LLVMdev] Getting the DSNode from a Pool Descriptor?
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
2010 Mar 19
3
[LLVMdev] Getting the DSNode from a Pool Descriptor?
...on may very well only exist in a clone, I can't use this. Is there another way? Thanks, --Patrick Harmen van der Spek wrote: > You might want to have a look at PoolAllocate.h. > > Per function, a PA::FuncInfo structure keeps track of all DSNodes that > should be pool allocated. ArgNodes contains pool arguments, NodesToPA > contains nodes that are locally pool allocated and thus initialized > using poolinit. > > PoolDescriptors contains a mapping from DSNodes to pool descriptors, and > you could easily invert this mapping. > > Finding a corresponding DSNode wh...
2010 Mar 19
3
[LLVMdev] Getting the DSNode from a Pool Descriptor?
...ther way? >> >> Thanks, >> --Patrick >> >> Harmen van der Spek wrote: >> >>> You might want to have a look at PoolAllocate.h. >>> >>> Per function, a PA::FuncInfo structure keeps track of all DSNodes that should be pool allocated. ArgNodes contains pool arguments, NodesToPA >>> contains nodes that are locally pool allocated and thus initialized using poolinit. >>> >>> PoolDescriptors contains a mapping from DSNodes to pool descriptors, and >>> you could easily invert this mapping. >>> >...
2010 Mar 19
0
[LLVMdev] Getting the DSNode from a Pool Descriptor?
...a clone, I can't use this. Is there another way? > > Thanks, > --Patrick > > Harmen van der Spek wrote: >> You might want to have a look at PoolAllocate.h. >> >> Per function, a PA::FuncInfo structure keeps track of all DSNodes that should be pool allocated. ArgNodes contains pool arguments, NodesToPA >> contains nodes that are locally pool allocated and thus initialized using poolinit. >> >> PoolDescriptors contains a mapping from DSNodes to pool descriptors, and >> you could easily invert this mapping. >> >> Finding a cor...
2010 Mar 19
0
[LLVMdev] Getting the DSNode from a Pool Descriptor?
...--Patrick >>> >>> Harmen van der Spek wrote: >>> >>> >>>> You might want to have a look at PoolAllocate.h. >>>> >>>> Per function, a PA::FuncInfo structure keeps track of all DSNodes that should be pool allocated. ArgNodes contains pool arguments, NodesToPA >>>> contains nodes that are locally pool allocated and thus initialized using poolinit. >>>> >>>> PoolDescriptors contains a mapping from DSNodes to pool descriptors, and >>>> you could easily invert this mapping. &...