search for: getanaysis

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

Did you mean: getanalysis
2012 Jun 26
2
[LLVMdev] Does anaysis group only contain passes?
Thanks, John. This sounds reasonable that the analysis group just provides an interface to its implementors (pass). Then I have another question, is it allowed to specify multiple pass in the same analysis group in the command line for opt? If yes, which pass will be used for the call of getAnaysis<AnalysisGroup>()? -Thomson On Mon, Jun 25, 2012 at 10:34 PM, John Criswell <criswell at illinois.edu>wrote: > On 6/24/12 10:37 AM, Thomson wrote: > > I found that ProfileInfo is contained in an analysis group, but > ProfileInfo class itself is not derived from any base c...
2002 Nov 21
1
[LLVMdev] get TopDown DSGraph
...has the InComplete Bit on. But when I use 'analyze -tddatastructure file.bc' I got the graph in which all the nodes don't have the bit on. So they are different. Could you tell me why the results from the analyze tool and from the dsg.dump() are different? Besides, each time I call the getAnaysis<TDDataStructure>(), it writes out some bu_funname.dot files to the disk. Why is that? Thanks, xiaodong On Thu, 21 Nov 2002, Chris Lattner wrote: > > I was wondering if this is the right way to get TopDown DSGraph? > > TDDataStructures &TD = getAnalysis<TDDataStructures&g...
2012 Jun 26
0
[LLVMdev] Does anaysis group only contain passes?
...analyses (like points-to analysis) in which one analysis tries to get a result and, if it can't get as good a result as it likes, asks the next analysis in the chain (see http://llvm.org/docs/WritingAnLLVMPass.html#AU::addRequired). > If yes, which pass will be used for the call of > getAnaysis<AnalysisGroup>()? I believe the chain is in reverse order. So if you specify opt -pass1 -pass2 -pass3 -transform, and transform queries the analysis group to which pass1, pass2, and pass3 belong, then pass3 is queried first. If pass3 then queries another pass in the analysis group, the...
2012 Jun 24
2
[LLVMdev] Does anaysis group only contain passes?
I found that ProfileInfo is contained in an analysis group, but ProfileInfo class itself is not derived from any base classes of passes, so it appears not to be a pass. Anything I missed here? Thanks, -Thomson -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120624/7f26ca93/attachment.html>
2012 Jun 25
0
[LLVMdev] Does anaysis group only contain passes?
On 6/24/12 10:37 AM, Thomson wrote: > I found that ProfileInfo is contained in an analysis group, but > ProfileInfo class itself is not derived from any base classes of > passes, so it appears not to be a pass. Anything I missed here? This is just a guess, but I suspect that the ProfileInfo class defines the interface which all passes in that analysis group are expected to
2002 Nov 21
2
[LLVMdev] get TopDown DSGraph
Dear LLVM, I was wondering if this is the right way to get TopDown DSGraph? TDDataStructures &TD = getAnalysis<TDDataStructures>(); F is some function DSGraph &dsg = TD.getDSGraph(F); I found out the DSGraph I got using this method is actually bottom up DSGraph, can you let me know why? Thanks, xiaodong