Is there a way in LLVM , using which I can get Call graph SCCs in reverse post order in a FunctionPass object? -Balpreet -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060501/f34b3700/attachment.html>
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/
Seemingly Similar Threads
- [ThinLTO] Suggestions on how to traverse SCCs in the Module Summary Index bottom up
- [LLVMdev] FunctionPass requiring SCCs
- [LLVMdev] Get the call graph SCCs from a function pass
- [LLVMdev] Get the call graph SCCs from a function pass
- [LLVMdev] Get the call graph SCCs from a function pass