search for: dsnodeequiv

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

Did you mean: dsnodeequivs
2013 Jan 22
0
[LLVMdev] llvm alloca dependencies
...gh all the allocas and ask if they alias with the loaded pointer. You can use any of the alias analysis implementations available for LLVM. Alternatively, I think LLVM might have a class called AliasSetTracker which can do something similar for you. 2) Use DSA from the poolalloc project. The DSNodeEquivs pass can be used to determine if a load and an alloca alias. Depending on your situation, DSA may give better or worse results than LLVM's current alias analysis algorithms. I would think that DSA can do a better job for pointers stored into memory locations. -- John T. --------------...
2013 Jan 21
2
[LLVMdev] llvm alloca dependencies
Hello everyone ! I am trying to determine for certain Load instructions from my pass their corresponding Alloca instructions (that can be in other previous blocks). The chain can be something like : `TargetLoad(var) -> other stores/loads that use var (or dependencies on var) -> alloca(var).` , linked on several basic blocks. Do you know how can I do it? I tried to use the methods from
2012 Aug 08
0
[LLVMdev] PgmDependenceGraph
...out there in the current release? We haven't built a new version that uses DSA. I think building an intra-procedural analysis with DSA would be pretty easy. If you need an inter-procedural analysis, that would be more difficult to build, but you could probably build a simple one using the DSNodeEquivs pass (this pass equivalences classes DSNodes from different functions if they may refer to the same memory object). We also have an internal analysis pass that may do something similar to what you need. I'll check with our students to see if my hunch is correct and, if so, whether we can...
2012 Aug 08
2
[LLVMdev] PgmDependenceGraph
Hi All, I want to build dependence graph for a function for forward slicing. I found the PgmDependenceGraph.cpp in a very old release of poolalloc. But it seems to be gone for long. I'm wondering is there a similar class out there in the current release? Thanks very much! David -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 May 20
0
[LLVMdev] Question about DSA analysis
...was low priority. How you should use the DSA analysis depends on what you're doing. For intra-procedural alias analysis queries, you can use the DSGraph straight from the BottomUp or TopDown DSA analysis passes. For both intra- and inter-procedural alias analysis queries, you can use the DSNodeEquivs pass. If you need a shape graph, you can use the DSGraph interface directly. If you could tell me how you want to use DSA, I can explain which approach to use and how to make it work. > > 2. I checked the svn history of poolalloc. there is no update to trunk > since last Nov. the r...
2013 May 19
2
[LLVMdev] Question about DSA analysis
Greeting. I am working on one DSA related project. Got several questions about LLVM's DSA analysis: 1. I looked through the llvm doc, it seems "-ds-aa" option is the one I should use. (http://llvm.org/docs/AliasAnalysis.html#the-ds-aa-pass). however based on the poolalloc's svn history, this option was removed on (or before) 2011. May I know why this one was removed ? and is