[LLVMdev] get TopDown DSGraph

Chris Lattner sabre at nondot.org
Thu Nov 21 21:17:01 PST 2002


> 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);

Yes, that's the right way.

> I found out the DSGraph I got using this method is actually bottom up
> DSGraph, can you let me know why?

Why do you think it's a BU graph?

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list