">Referenced by <a class="el" href="classCollapseStructure.html#a1873a65f7cba45686310eafbff79b85e">CollapseStructure::labelLoops()</a>.</p>

</div>
</div>
<a id="aa21c0bf7e110479ebeb1590c8ef58542"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa21c0bf7e110479ebeb1590c8ef58542">&#9670;&nbsp;</a></span>compare_head()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int4 LoopBody::compare_head </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classLoopBody.html">LoopBody</a> *&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFlowBlock.html">FlowBlock</a> *&#160;</td>
          <td class="paramname"><em>looptop</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compare just the <b>head</b>. </p>
<p>Compare two loops based on the indices of the <b>head</b> </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">a</td><td>is the first <a class="el" href="classLoopBody.html" title="A description of the body of a loop.">LoopBody</a> to compare </td></tr>
    <tr><td class="paramname">looptop</td><td>is the second </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>-1,0, or 1 if the first is ordered before, the same, or after the second </dd></dl>

<p class="reference">References <a class="el" href="classLoopBody.html#a98fd1545c3efff7eef8a5f130bbfb76f">head</a>.</p>

<p class="reference">Referenced by <a class="el" href="classLoopBody.html#a4fd224d75508dcfb4826877b99ad32ce">find()</a>.</p>

</div>
</div>
<a id="ab172e6e4e585fe12494548b642e000fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab172e6e4e585fe12494548b642e000fc">&#9670;&nbsp;</a></span>emitLikelyEdges()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LoopBody::emitLikelyEdges </td>
          <td>(</td>
          <td class="paramtype">list&lt; <a class="el" href="classFloatingEdge.html">FloatingEdge</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>likely</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFlowBlock.html">FlowBlock</a> *&#160;</td>
          <td class="paramname"><em>graph</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Collect likely <em>unstructured</em> edges. </p>
<p>Add edges that exit from <b>this</b> loop body to the list of likely <em>gotos</em>, giving them the proper priority. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">likely</td><td>will hold the exit edges in (reverse) priority order </td></tr>
    <tr><td class="paramname">graph</td><td>is the containing control-flow graph </td></tr>
  </table>
  </dd>
</dl>

<p class="reference">References <a class="el" href="classLoopBody.html#aa68446168893d9309abf19ecc410338a">exitblock</a>, <a class="el" href="classLoopBody.html#a492f0648bbb6d2ed46d344b0e5563ae3">exitedges</a>, <a class="el" href="classLoopBody.html#a98fd1545c3efff7eef8a5f130bbfb76f">head</a>, and <a class="el" href="classLoopBody.html#ab41d658e285d7e3a85132521e8f44fbb">tails</a>.</p>

</div>
</div>
<a id="add1dd57bc541e2a76e7874017721fd48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add1dd57bc541e2a76e7874017721fd48">&#9670;&nbsp;</a></span>extend()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LoopBody::extend </td>
          <td>(</td>
          <td class="paramtype">vector&lt; <a class="el" href="classFlowBlock.html">FlowBlock</a> * &gt; &amp;&#160;</td>
          <td class="paramname"><em>body</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Extend body (to blocks that never exit) </p>
<p>Extend the <b>body</b> of this loop to every <a class="el" href="classFlowBlock.html" title="Description of a control-flow block containing PcodeOps.">FlowBlock</a> that can be reached <b>only</b> from <b>head</b> without hitting the <b>exitblock</b>. Assume <b>body</b> has been filled out by <a class="el" href="classLoopBody.html#aca6d8a4529165274b791ed9ec37385ef" title="Mark the body FlowBlocks of this loop.">findBase()</a> and that all these blocks have their mark set. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">body</td><td>contains the current loop body and will be extended </td></tr>
  </table>
  </dd>
</dl>

<p class="reference">References <a class="el" href="classLoopBody.html#aa68446168893d9309abf19ecc410338a">exitblock</a>.</p>

</div>
</div>
<a id="a7b0e37808256d9fc9bbb5443fa473445"></a>
<h2 class="memtitle"><span class="permalink"><a href