<!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_target.Endian.html"> <link rel="Up" href="Llvm_target.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_target.DataLayout</title> </head> <body> <div class="navbar"><a class="pre" href="Llvm_target.Endian.html" title="Llvm_target.Endian">Previous</a> <a class="up" href="Llvm_target.html" title="Llvm_target">Up</a> </div> <h1>Module <a href="type_Llvm_target.DataLayout.html">Llvm_target.DataLayout</a></h1> <pre><span class="keyword">module</span> DataLayout: <code class="code"><span class="keyword">sig</span></code> <a href="Llvm_target.DataLayout.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"></code>t</span> </pre> <pre><span id="VALcreate"><span class="keyword">val</span> create</span> : <code class="type">string -> <a href="Llvm_target.DataLayout.html#TYPEt">t</a></code></pre><div class="info "> <code class="code"><span class="constructor">DataLayout</span>.create rep</code> parses the target data string representation <code class="code">rep</code>. See the constructor llvm::DataLayout::DataLayout.<br> </div> <pre><span id="VALadd"><span class="keyword">val</span> add</span> : <code class="type"><a href="Llvm_target.DataLayout.html#TYPEt">t</a> -><br> [< <a href="Llvm.PassManager.html#TYPEany">Llvm.PassManager.any</a> ] <a href="Llvm.PassManager.html#TYPEt">Llvm.PassManager.t</a> -> unit</code></pre><div class="info "> <code class="code">add_target_data td pm</code> adds the target data <code class="code">td</code> to the pass manager <code class="code">pm</code>. Does not take ownership of the target data. See the method llvm::PassManagerBase::add.<br> </div> <pre><span id="VALas_string"><span class="keyword">val</span> as_string</span> : <code class="type"><a href="Llvm_target.DataLayout.html#TYPEt">t</a> -> string</code></pre><div class="info "> <code class="code">as_string td</code> is the string representation of the target data <code class="code">td</code>. See the constructor llvm::DataLayout::DataLayout.<br> </div> <pre><span id="VALdispose"><span class="keyword">val</span> dispose</span> : <code class="type"><a href="Llvm_target.DataLayout.html#TYPEt">t</a> -> unit</code></pre><div class="info "> Deallocates a DataLayout. See the destructor llvm::DataLayout::~DataLayout.<br> </div> </body></html>