[LLVMdev] Listing all loops in a function

Prasenjit Chakraborty cprasenj at in.ibm.com
Wed Sep 2 06:16:16 PDT 2009


Hi,
      I am new to LLVM. I want to go through all loops in a function. I see
that there is a LoopPass manager that I can use. But that is not much of
help, as I want to get the order of loops in CallGraphSCC order, hence I
visit each function and then just want to go over the loops.

Regards,

Prasenjit Chakraborty
Performance Modeling and Analysis
IBM Systems & Technology Lab




More information about the llvm-dev mailing list