similar to: [LLVMdev] How to use the PoolDescriptor in ds-aa alias analysis?

Displaying 20 results from an estimated 8000 matches similar to: "[LLVMdev] How to use the PoolDescriptor in ds-aa alias analysis?"

2009 May 08
0
[LLVMdev] How to use the PoolDescriptor in ds-aa alias analysis?
On Friday 08 May 2009, hc2428 at columbia.edu wrote: > Dear Staff, > I 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
2009 May 13
4
[LLVMdev] DataStructure Analysis ds-aa can not stop when passing mysqld
Quoting Chris Lattner <clattner at apple.com>: Dear staff, I am using the ds-aa to pass mysqld. I compile mysqld 4.0.12 statically (compile all libraries statically to the executable) and got the bc file, named it as mysqld.bc3. I use the command to pass: opt -load <poolalloc install dir>/lib/libLLVMDataStructure.so -ds-aa mysqld.bc3 -print-alias-sets -disable-output
2009 May 13
0
[LLVMdev] DataStructure Analysis ds-aa can not stop when passing mysqld
Quoting hc2428 at columbia.edu: Dear staff, Here is the bc file. Heming > Quoting Chris Lattner <clattner at apple.com>: > > Dear staff, > I am using the ds-aa to pass mysqld. I compile mysqld 4.0.12 > statically (compile all libraries statically to the executable) and > got the bc file, named it as mysqld.bc3. > I use the command to pass: > > opt
2010 Mar 19
3
[LLVMdev] Getting the DSNode from a Pool Descriptor?
Thanks for all your help so far. My problem is that what I have are the pool descriptors, which I by traversing the uses of poolinit and accessing the first argument of each call. I need to find the DSNode (in the original function) to which this pool descriptor corresponds. The rub is that this pool descriptor of course does not exist except in the clone. If I call getFuncInfo(), I get a
2009 May 18
0
[LLVMdev] DataStructure Analysis ds-aa can not stop when passing mysqld
On Wed, May 13, 2009 at 1:36 PM, <hc2428 at columbia.edu> wrote: > Quoting Chris Lattner <clattner at apple.com>: > > Dear staff, >     I am using the ds-aa to pass mysqld. I compile mysqld 4.0.12 > statically (compile all libraries statically to the executable) and > got the bc file, named it as mysqld.bc3. >     I use the command to pass: > > opt -load
2010 Mar 19
0
[LLVMdev] Getting the DSNode from a Pool Descriptor?
Hi Patrick, That's right. DSNodes are coupled to the original function. For function clones, you first need to get the original function, and then use the DSNode from that function. FuncInfo contains the information if a function is a clone and what the original function is. If you want to find the corresponding DSNode for some instruction, you must call PA::FuncInfo::MapValueToOriginal(
2010 Mar 19
3
[LLVMdev] Getting the DSNode from a Pool Descriptor?
Harmen, your suggestion of inverting the mapping almost worked (and Andrew was correct that the function I need is the same as the one in which poolinit appears). Unfortunately, it appears that this mapping only considers the original function and not any of its clones. Since the pool descriptor in question may very well only exist in a clone, I can't use this. Is there another way?
2010 Mar 19
0
[LLVMdev] Getting the DSNode from a Pool Descriptor?
Patrick Simmons wrote: > Thanks for all your help so far. > > My problem is that what I have are the pool descriptors, which I by > traversing the uses of poolinit and accessing the first argument of each > call. I need to find the DSNode (in the original function) to which > this pool descriptor corresponds. The rub is that this pool descriptor > of course does not
2012 Apr 13
2
[LLVMdev] Are ds-aa and steens-aa still in Poolalloc?
Hi, I was looking at the LLVM's alias analysis documentation (http://llvm.org/docs/AliasAnalysis.html#exist) and it seems that poolalloc has ds-aa and steens-aa. However, I followed the instructions to use these passes, but I wasn't able to use them. Also, I found this: http://old.nabble.com/DSA-or-rDSA---td32576486.html saying that they were removed from poolalloc. Is that true? If so,
2012 Apr 22
1
[LLVMdev] How to use -ds-aa in llvm
Dear all, I'm a new user of LLVM. I'm trying to use DSA alias analysis in LLVM. I compiled llvm 3.0 and poolalloc (checkout from svn). I get the following lib in the ${poolalloc}/Release/lib/ : AssistDS.so libcount.so libpoolalloc_rt.so LLVMDataStructure.so poolalloc.so I tried to load all of them and do analysis by opt -load ${poolalloc}/Release/lib/<lib_name.so> -ds-aa
2012 Apr 13
0
[LLVMdev] Are ds-aa and steens-aa still in Poolalloc?
On 4/13/12 1:02 PM, Douglas do Couto Teixeira wrote: > Hi, > > I was looking at the LLVM's alias analysis documentation > (http://llvm.org/docs/AliasAnalysis.html#exist) and it seems that > poolalloc has ds-aa and steens-aa. However, I followed the > instructions to use these passes, but I wasn't able to use them. Also, > I found this:
2009 Sep 10
3
[LLVMdev] Where is steens-aa and ds-aa?
On 9/9/09 3:28 AM, Eli Friedman wrote: > On Wed, Sep 9, 2009 at 12:50 AM, Lei Shang<shang1982 at gmail.com> wrote: > >> Hi, >> >> I just found -steens-aa and -ds-aa Alias Analysis listed in documents do >> not exist in my llvm-2.3 code. Both from opt -help and the lib/Analysis. >> And then I go to download the llvm-2.5 version, there is still no
2005 Feb 21
2
[LLVMdev] Question about Pools
Hello, I have some questions about Pool Allocation Is it possible for a program to access and manipulate an (automatically allocated) pool at run time? For example, if a program wants to dump all the allocated pools that is using, is it possible to enumerate all those pools and access them (contents and information about the pool) and then dump all this information to a file? Also, please
2009 Sep 10
0
[LLVMdev] Where is steens-aa and ds-aa?
On Wed, Sep 9, 2009 at 11:49 PM, Mai, Haohui <haohui.mai at gmail.com> wrote: > On 9/9/09 3:28 AM, Eli Friedman wrote: >> On Wed, Sep 9, 2009 at 12:50 AM, Lei Shang<shang1982 at gmail.com>  wrote: >> >>> Hi, >>> >>>     I just found -steens-aa and -ds-aa Alias Analysis listed in documents do >>> not exist in my llvm-2.3 code. Both from
2009 Sep 09
2
[LLVMdev] Where is steens-aa and ds-aa?
Hi, I just found -steens-aa and -ds-aa Alias Analysis listed in documents do not exist in my llvm-2.3 code. Both from opt -help and the lib/Analysis. And then I go to download the llvm-2.5 version, there is still no these 2 options. Where are they? Lei -- /****** * Lei Shang * PhD candidate, Computer Science & Engineering, * University of New South Wales, Sydney, Australia, 2052 *
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
2005 Feb 21
0
[LLVMdev] Question about Pools
On Mon, 21 Feb 2005, xavier wrote: > Hello, > > I have some questions about Pool Allocation > > Is it possible for a program to access and manipulate an (automatically > allocated) pool at run time? For example, if a program wants to dump all > the allocated pools that is using, is it possible to enumerate all those > pools and access them (contents and information
2007 Oct 27
3
[LLVMdev] malloc() vs. MallocInst
Hi, I recently looked quite some time for why poolalloc wouldn't transform calls to malloc() in my program, until I noticed that it handles calls to malloc() (eg, stdlib pass) -- but only transforms MallocInst's. Is there a general policy on how passes should behave? Should they handle both representations, is doing -raiseallocs the preferred way, or do we explicitely not want any
2009 Sep 09
0
[LLVMdev] Where is steens-aa and ds-aa?
On Wed, Sep 9, 2009 at 12:50 AM, Lei Shang<shang1982 at gmail.com> wrote: > Hi, > >    I just found -steens-aa and -ds-aa Alias Analysis listed in documents do > not exist in my llvm-2.3 code. Both from opt -help and the lib/Analysis. > And then I go to download the llvm-2.5 version, there is still no these 2 > options. Where are they?
2007 Oct 29
1
[LLVMdev] malloc() vs. MallocInst
Hi Vikram, I want to use poolalloc as a means for partitioning memory in Software Transactional Memory. We will have a paper about tuning parameters in word-based STMs in PPoPP 08, but there we use one configuration for the complete TM, which obviously has limitations in heterogenous workloads. Partitioning with poolalloc should give me (1) hopefully meaningful partitions (ie,