<!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.Visibility.html"> <link rel="next" href="Llvm.Attribute.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_scalar_opts" rel="Chapter" href="Llvm_scalar_opts.html"> <link title="Llvm_target" rel="Chapter" href="Llvm_target.html"><title>Llvm.CallConv</title> </head> <body> <div class="navbar"><a href="Llvm.Visibility.html">Previous</a> <a href="Llvm.html">Up</a> <a href="Llvm.Attribute.html">Next</a> </div> <center><h1>Module <a href="type_Llvm.CallConv.html">Llvm.CallConv</a></h1></center> <br> <pre><span class="keyword">module</span> CallConv: <code class="code"><span class="keyword">sig</span></code> <a href="Llvm.CallConv.html">..</a> <code class="code"><span class="keyword">end</span></code></pre>The following calling convention values may be accessed with <a href="Llvm.html#VALfunction_call_conv"><code class="code"><span class="constructor">Llvm</span>.function_call_conv</code></a> and <a href="Llvm.html#VALset_function_call_conv"><code class="code"><span class="constructor">Llvm</span>.set_function_call_conv</code></a>. Calling conventions are open-ended.<br> <hr width="100%"> <pre><span class="keyword">val</span> <a name="VALc"></a>c : <code class="type">int</code></pre><div class="info"> <code class="code">c</code> is the C calling convention.<br> </div> <pre><span class="keyword">val</span> <a name="VALfast"></a>fast : <code class="type">int</code></pre><div class="info"> <code class="code">fast</code> is the calling convention to allow LLVM maximum optimization opportunities. Use only with internal linkage.<br> </div> <pre><span class="keyword">val</span> <a name="VALcold"></a>cold : <code class="type">int</code></pre><div class="info"> <code class="code">cold</code> is the calling convention for callee-save.<br> </div> <pre><span class="keyword">val</span> <a name="VALx86_stdcall"></a>x86_stdcall : <code class="type">int</code></pre><div class="info"> <code class="code">x86_stdcall</code> is the familiar stdcall calling convention from C.<br> </div> <pre><span class="keyword">val</span> <a name="VALx86_fastcall"></a>x86_fastcall : <code class="type">int</code></pre><div class="info"> <code class="code">x86_fastcall</code> is the familiar fastcall calling convention from C.<br> </div> </body></html>