<!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_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.CallConv</title> </head> <body> <div class="navbar"><a class="pre" href="Llvm.Visibility.html" title="Llvm.Visibility">Previous</a> <a class="up" href="Llvm.html" title="Llvm">Up</a> <a class="post" href="Llvm.Attribute.html" title="Llvm.Attribute">Next</a> </div> <h1>Module <a href="type_Llvm.CallConv.html">Llvm.CallConv</a></h1> <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><div class="info module top"> 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> </div> <hr width="100%"> <pre><span id="VALc"><span class="keyword">val</span> c</span> : <code class="type">int</code></pre><div class="info "> <code class="code">c</code> is the C calling convention.<br> </div> <pre><span id="VALfast"><span class="keyword">val</span> fast</span> : <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 id="VALcold"><span class="keyword">val</span> cold</span> : <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 id="VALx86_stdcall"><span class="keyword">val</span> x86_stdcall</span> : <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 id="VALx86_fastcall"><span class="keyword">val</span> x86_fastcall</span> : <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>