On Mon, 1 May 2006, Balpreet Pankaj wrote: > Is there a way in LLVM , using which I can get Call graph SCCs in reverse > post order in a FunctionPass object? Yes, in your Pass, just add require the CallGraph interface. Then do a rpo iteration on the callgraph node objects. -Chris -- http://nondot.org/sabre/ http://llvm.org/