search for: pooldescriptors

Displaying 8 results from an estimated 8 matches for "pooldescriptors".

2009 May 07
2
[LLVMdev] How to use the PoolDescriptor in ds-aa alias analysis?
...am reading the paper "Making Context-sensitive Points-to Analysis with Heap Cloning Practical For The Real World", and I build the poolalloc module, and run the program in Figure 1 in this paper with -ds-aa alias analysis. Now I know that X and Y in the program would have distinct PoolDescriptors to make them disjoint data structures. However, how can we use the PoolDescriptor? What is storing in it? It seems that the PoolDescriptor in the program is just parsed as an argument from top to down, but it is not modified, so I am a little confused. Thanks, Heming
2009 May 08
0
[LLVMdev] How to use the PoolDescriptor in ds-aa alias analysis?
...he paper "Making Context-sensitive Points-to > Analysis with Heap Cloning Practical For The Real World", and I build > the poolalloc module, and run the program in Figure 1 in this paper > with -ds-aa alias analysis. Now I know that X and Y in the program > would have distinct PoolDescriptors to make them disjoint data > structures. > However, how can we use the PoolDescriptor? What is storing in > it? It seems that the PoolDescriptor in the program is just parsed as > an argument from top to down, but it is not modified, so I am a little > confused. Pool descriptor...
2010 Mar 19
3
[LLVMdev] Getting the DSNode from a Pool Descriptor?
...ant 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 > determined. For example, if a function F uses a pool, but its DSNode > is incomplete, it might be called from two d...
2010 Mar 19
0
[LLVMdev] Getting the DSNode from a Pool Descriptor?
...e 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 determined. For example, if a function F uses a pool, but its DSNode >> is incomplete, it might be called...
2010 Mar 19
3
[LLVMdev] Getting the DSNode from a Pool Descriptor?
...locate.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 determined. For example, if a function F uses a pool, but its DSNode >>> is incomplete, it...
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 determined. For example, if a function F uses a pool, but its DSNode is incomplete, it might be called from two different function G and...
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
0
[LLVMdev] Getting the DSNode from a Pool Descriptor?
...t;> >>>> 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 determined. For example, if a function F uses a pool, but its DSNode >>>> is...