<!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_scalar_opts" rel="Chapter" href="Llvm_scalar_opts.html"> <link title="Llvm_target" rel="Chapter" href="Llvm_target.html"><title>Llvm_target.TargetData</title> </head> <body> <div class="navbar"><a href="Llvm_target.Endian.html">Previous</a> <a href="Llvm_target.html">Up</a> </div> <center><h1>Module <a href="type_Llvm_target.TargetData.html">Llvm_target.TargetData</a></h1></center> <br> <pre><span class="keyword">module</span> TargetData: <code class="code"><span class="keyword">sig</span></code> <a href="Llvm_target.TargetData.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.TargetData.html#TYPEt">t</a></code></pre><div class="info"> <code class="code"><span class="constructor">TargetData</span>.create rep</code> parses the target data string representation <code class="code">rep</code>. See the constructor llvm::TargetData::TargetData.<br> </div> <pre><span id="VALadd"><span class="keyword">val</span> add</span> : <code class="type"><a href="Llvm_target.TargetData.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.TargetData.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::TargetData::TargetData.<br> </div> <pre><span id="VALinvalidate_struct_layout"><span class="keyword">val</span> invalidate_struct_layout</span> : <code class="type"><a href="Llvm_target.TargetData.html#TYPEt">t</a> -> <a href="Llvm.html#TYPElltype">Llvm.lltype</a> -> unit</code></pre><div class="info"> Struct layouts are speculatively cached. If a TargetDataRef is alive when types are being refined and removed, this method must be called whenever a struct type is removed to avoid a dangling pointer in this cache. See the method llvm::TargetData::InvalidateStructLayoutInfo.<br> </div> <pre><span id="VALdispose"><span class="keyword">val</span> dispose</span> : <code class="type"><a href="Llvm_target.TargetData.html#TYPEt">t</a> -> unit</code></pre><div class="info"> Deallocates a TargetData. See the destructor llvm::TargetData::~TargetData.<br> </div> </body></html>