[LLVMdev] get TopDown DSGraph

Xiaodong Li xli3 at csil-suna22.cs.uiuc.edu
Thu Nov 21 21:11:01 PST 2002


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





More information about the llvm-dev mailing list