You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
24 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>IR__Procdesc (infer.IR__Procdesc)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../index.html">infer</a> &#x00BB; IR__Procdesc</nav><h1>Module <code>IR__Procdesc</code></h1><nav class="toc"><ul><li><a href="#per-procedure-cfg">Per-procedure CFG</a></li></ul></nav></header><section><header><h2 id="per-procedure-cfg"><a href="#per-procedure-cfg" class="anchor"></a>Per-procedure CFG</h2></header><div class="spec module" id="module-NodeKey"><a href="#module-NodeKey" class="anchor"></a><code><span class="keyword">module</span> <a href="NodeKey/index.html">NodeKey</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><dl><dt class="spec module" id="module-Node"><a href="#module-Node" class="anchor"></a><code><span class="keyword">module</span> <a href="Node/index.html">Node</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></dt><dd><p>node of the control flow graph</p></dd></dl><dl><dt class="spec module" id="module-IdMap"><a href="#module-IdMap" class="anchor"></a><code><span class="keyword">module</span> IdMap : <a href="../IStdlib/PrettyPrintable/index.html#module-type-PPMap">IStdlib.PrettyPrintable.PPMap</a> <span class="keyword">with</span> <span class="keyword">type</span> <a href="../IStdlib/PrettyPrintable/index.html#module-type-PPMap">PPMap</a>.key = <a href="Node/index.html#type-id">Node.id</a></code></dt><dd><p>Map with node id keys.</p></dd></dl><dl><dt class="spec module" id="module-NodeHash"><a href="#module-NodeHash" class="anchor"></a><code><span class="keyword">module</span> NodeHash : <a href="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.Caml.Hashtbl.S <span class="keyword">with</span> <span class="keyword">type</span> <a href="index.html#module-NodeHash">NodeHash</a>.key = <a href="Node/index.html#type-t">Node.t</a></code></dt><dd><p>Hash table with nodes as keys.</p></dd></dl><dl><dt class="spec module" id="module-NodeMap"><a href="#module-NodeMap" class="anchor"></a><code><span class="keyword">module</span> NodeMap : <a href="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.Caml.Map.S <span class="keyword">with</span> <span class="keyword">type</span> <a href="index.html#module-NodeMap">NodeMap</a>.key = <a href="Node/index.html#type-t">Node.t</a></code></dt><dd><p>Map over nodes.</p></dd></dl><dl><dt class="spec module" id="module-NodeSet"><a href="#module-NodeSet" class="anchor"></a><code><span class="keyword">module</span> NodeSet : <a href="../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.Caml.Set.S <span class="keyword">with</span> <span class="keyword">type</span> <a href="index.html#module-NodeSet">NodeSet</a>.elt = <a href="Node/index.html#type-t">Node.t</a></code></dt><dd><p>Set of nodes.</p></dd></dl><aside><p>procedure descriptions</p></aside><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code></dt><dd><p>proc description</p></dd></dl><dl><dt class="spec value" id="val-append_locals"><a href="#val-append_locals" class="anchor"></a><code><span class="keyword">val</span> append_locals : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><a href="../IR/ProcAttributes/index.html#type-var_data">IR.ProcAttributes.var_data</a> list</span> <span>&#45;&gt;</span> unit</code></dt><dd><p>append a list of new local variables to the existing list of local variables</p></dd></dl><dl><dt class="spec value" id="val-compute_distance_to_exit_node"><a href="#val-compute_distance_to_exit_node" class="anchor"></a><code><span class="keyword">val</span> compute_distance_to_exit_node : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>Compute the dist