<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Given lack of context in your question, it's hard to figure out what
    you're asking, but as a guess, I'd suggest you look at
    addBasicBlockToLoop on LoopBase in LoopInfo.h<br>
    <br>
    Philip<br>
    <br>
    <div class="moz-cite-prefix">On 06/12/2015 01:53 PM,
      <a class="moz-txt-link-abbreviated" href="mailto:marwayusuf@feng.bu.edu.eg">marwayusuf@feng.bu.edu.eg</a> wrote:<br>
    </div>
    <blockquote
cite="mid:AM2PR01MB08047F0589D24061C9EF09DDBBBB0@AM2PR01MB0804.eurprd01.prod.exchangelabs.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p>Dear All<br>
        </p>
        <p>I'm making a transformation pass that inserts a new basic
          block at the start of a loop. However when I try to change
          predecessor/successor relations, it does not consider the new
          block in the loop at all. So I got that just inserting a loop
          in a function before another loop is not enough. So how
          exactly to do this job?<br>
        </p>
        <p><br>
        </p>
        <div id="Signature">
          <div id="divtagdefaultwrapper" style="font-size:12pt;
            color:#000000; background-color:#FFFFFF;
            font-family:Calibri,Arial,Helvetica,sans-serif">
            <div class="BodyFragment"><font size="2"><span
                  style="font-size:10pt">
                  <div class="PlainText">Regards,<br>
                    Marwa Yusuf<br>
                    Teaching Assistant - Computer Engineering Department<br>
                    Faculty of Engineering - Benha University<br>
                    E-JUST PhD Student<br>
                    Computer Science & Engineering Dept.</div>
                </span></font></div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>