Hello <br><br>I'm wandring to know how many times a block is executed inside a loop  ?<br>knowing that I can't use  getSmallConstantTripCount() because the number is unkown  "for (i=0;i<N;i++)  for example"<br>
<br>I'm using a Function pass <br><br>for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {<br>    if (Loop *L = LI->getLoopFor(BB)) {<br>            if (L->getHeader() == BB) <br>               {<br>
                 the code of the loop   (the header)<br>               }<br>             else{the code of the block inside the loop}<br>   else<br>     the code of a basicblock (outside a loop)<br><br><br>How can I get the variable N (even only the name of this variable !!)   ??? <br>
<br>I mean I want to get  "the loop will be executed  "%N"  times" <br><br>Thank you so much <br><br>K.H  <br>     <br>