Hello <br>I'm wandring to write a Function parser that iterates over loops inside each function and inside each loop iterates over instructions <br><br>So I found a way to do the Function parser that iterates over  BasicBlocks (using the runOnfunction Pass)  but I no know how make it iterates over loops ?<br>
<br>So my question is there any way to make a loop inside the runOnfunction to iterate over "loops" (just like with the Basicblock loop   "for (BasicBlock::iterator i = b->begin(), ie = b->end(); i != ie; ++i) " ) ? <br>
<br>Thank you so much for helping me <br>