/usr/share/doc/libllvm-3.3-ocaml-dev/html/Llvm.PassManager.html is in libllvm-3.3-ocaml-dev 1:3.3-16ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Llvm.MemoryBuffer.html">
<link rel="Up" href="Llvm.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Llvm" rel="Chapter" href="Llvm.html">
<link title="Llvm_analysis" rel="Chapter" href="Llvm_analysis.html">
<link title="Llvm_bitreader" rel="Chapter" href="Llvm_bitreader.html">
<link title="Llvm_bitwriter" rel="Chapter" href="Llvm_bitwriter.html">
<link title="Llvm_executionengine" rel="Chapter" href="Llvm_executionengine.html">
<link title="Llvm_ipo" rel="Chapter" href="Llvm_ipo.html">
<link title="Llvm_scalar_opts" rel="Chapter" href="Llvm_scalar_opts.html">
<link title="Llvm_target" rel="Chapter" href="Llvm_target.html"><title>Llvm.PassManager</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Llvm.MemoryBuffer.html" title="Llvm.MemoryBuffer">Previous</a>
<a class="up" href="Llvm.html" title="Llvm">Up</a>
</div>
<h1>Module <a href="type_Llvm.PassManager.html">Llvm.PassManager</a></h1>
<pre><span class="keyword">module</span> PassManager: <code class="code"><span class="keyword">sig</span></code> <a href="Llvm.PassManager.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><hr width="100%">
<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type">'a</code> t</span> </pre>
<div class="info ">
</div>
<pre><span id="TYPEany"><span class="keyword">type</span> <code class="type"></code>any</span> = <code class="type">[ `Function | `Module ]</code> </pre>
<pre><span id="VALcreate"><span class="keyword">val</span> create</span> : <code class="type">unit -> [ `Module ] <a href="Llvm.PassManager.html#TYPEt">t</a></code></pre><div class="info ">
<code class="code"><span class="constructor">PassManager</span>.create ()</code> constructs a new whole-module pass pipeline. This
type of pipeline is suitable for link-time optimization and whole-module
transformations.
See the constructor of <code class="code">llvm::<span class="constructor">PassManager</span></code>.<br>
</div>
<pre><span id="VALcreate_function"><span class="keyword">val</span> create_function</span> : <code class="type"><a href="Llvm.html#TYPEllmodule">Llvm.llmodule</a> -> [ `Function ] <a href="Llvm.PassManager.html#TYPEt">t</a></code></pre><div class="info ">
<code class="code"><span class="constructor">PassManager</span>.create_function m</code> constructs a new function-by-function
pass pipeline over the module <code class="code">m</code>. It does not take ownership of <code class="code">m</code>.
This type of pipeline is suitable for code generation and JIT compilation
tasks.
See the constructor of <code class="code">llvm::<span class="constructor">FunctionPassManager</span></code>.<br>
</div>
<pre><span id="VALrun_module"><span class="keyword">val</span> run_module</span> : <code class="type"><a href="Llvm.html#TYPEllmodule">Llvm.llmodule</a> -> [ `Module ] <a href="Llvm.PassManager.html#TYPEt">t</a> -> bool</code></pre><div class="info ">
<code class="code">run_module m pm</code> initializes, executes on the module <code class="code">m</code>, and finalizes
all of the passes scheduled in the pass manager <code class="code">pm</code>. Returns <code class="code"><span class="keyword">true</span></code> if
any of the passes modified the module, <code class="code"><span class="keyword">false</span></code> otherwise.
See the <code class="code">llvm::<span class="constructor">PassManager</span>::run</code> method.<br>
</div>
<pre><span id="VALinitialize"><span class="keyword">val</span> initialize</span> : <code class="type">[ `Function ] <a href="Llvm.PassManager.html#TYPEt">t</a> -> bool</code></pre><div class="info ">
<code class="code">initialize fpm</code> initializes all of the function passes scheduled in the
function pass manager <code class="code">fpm</code>. Returns <code class="code"><span class="keyword">true</span></code> if any of the passes modified
the module, <code class="code"><span class="keyword">false</span></code> otherwise.
See the <code class="code">llvm::<span class="constructor">FunctionPassManager</span>::doInitialization</code> method.<br>
</div>
<pre><span id="VALrun_function"><span class="keyword">val</span> run_function</span> : <code class="type"><a href="Llvm.html#TYPEllvalue">Llvm.llvalue</a> -> [ `Function ] <a href="Llvm.PassManager.html#TYPEt">t</a> -> bool</code></pre><div class="info ">
<code class="code">run_function f fpm</code> executes all of the function passes scheduled in the
function pass manager <code class="code">fpm</code> over the function <code class="code">f</code>. Returns <code class="code"><span class="keyword">true</span></code> if any
of the passes modified <code class="code">f</code>, <code class="code"><span class="keyword">false</span></code> otherwise.
See the <code class="code">llvm::<span class="constructor">FunctionPassManager</span>::run</code> method.<br>
</div>
<pre><span id="VALfinalize"><span class="keyword">val</span> finalize</span> : <code class="type">[ `Function ] <a href="Llvm.PassManager.html#TYPEt">t</a> -> bool</code></pre><div class="info ">
<code class="code">finalize fpm</code> finalizes all of the function passes scheduled in in the
function pass manager <code class="code">fpm</code>. Returns <code class="code"><span class="keyword">true</span></code> if any of the passes
modified the module, <code class="code"><span class="keyword">false</span></code> otherwise.
See the <code class="code">llvm::<span class="constructor">FunctionPassManager</span>::doFinalization</code> method.<br>
</div>
<pre><span id="VALdispose"><span class="keyword">val</span> dispose</span> : <code class="type">[< <a href="Llvm.PassManager.html#TYPEany">any</a> ] <a href="Llvm.PassManager.html#TYPEt">t</a> -> unit</code></pre><div class="info ">
Frees the memory of a pass pipeline. For function pipelines, does not free
the module.
See the destructor of <code class="code">llvm::<span class="constructor">BasePassManager</span></code>.<br>
</div>
</body></html>
|