mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-14 15:28:20 +00:00
attributes are not part of types anymore, patch by James Woodyatt!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97557 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1664,7 +1664,7 @@ Classifications</a> </div>
|
|||||||
which indicates that the function takes a variable number of arguments.
|
which indicates that the function takes a variable number of arguments.
|
||||||
Variable argument functions can access their arguments with
|
Variable argument functions can access their arguments with
|
||||||
the <a href="#int_varargs">variable argument handling intrinsic</a>
|
the <a href="#int_varargs">variable argument handling intrinsic</a>
|
||||||
functions. '<tt><returntype></tt>' is a any type except
|
functions. '<tt><returntype></tt>' is any type except
|
||||||
<a href="#t_label">label</a>.</p>
|
<a href="#t_label">label</a>.</p>
|
||||||
|
|
||||||
<h5>Examples:</h5>
|
<h5>Examples:</h5>
|
||||||
@@ -1674,12 +1674,11 @@ Classifications</a> </div>
|
|||||||
<td class="left">function taking an <tt>i32</tt>, returning an <tt>i32</tt>
|
<td class="left">function taking an <tt>i32</tt>, returning an <tt>i32</tt>
|
||||||
</td>
|
</td>
|
||||||
</tr><tr class="layout">
|
</tr><tr class="layout">
|
||||||
<td class="left"><tt>float (i16 signext, i32 *) *
|
<td class="left"><tt>float (i16, i32 *) *
|
||||||
</tt></td>
|
</tt></td>
|
||||||
<td class="left"><a href="#t_pointer">Pointer</a> to a function that takes
|
<td class="left"><a href="#t_pointer">Pointer</a> to a function that takes
|
||||||
an <tt>i16</tt> that should be sign extended and a
|
an <tt>i16</tt> and a <a href="#t_pointer">pointer</a> to <tt>i32</tt>,
|
||||||
<a href="#t_pointer">pointer</a> to <tt>i32</tt>, returning
|
returning <tt>float</tt>.
|
||||||
<tt>float</tt>.
|
|
||||||
</td>
|
</td>
|
||||||
</tr><tr class="layout">
|
</tr><tr class="layout">
|
||||||
<td class="left"><tt>i32 (i8*, ...)</tt></td>
|
<td class="left"><tt>i32 (i8*, ...)</tt></td>
|
||||||
@@ -2888,9 +2887,10 @@ IfUnequal:
|
|||||||
function to be invoked. </li>
|
function to be invoked. </li>
|
||||||
|
|
||||||
<li>'<tt>function args</tt>': argument list whose types match the function
|
<li>'<tt>function args</tt>': argument list whose types match the function
|
||||||
signature argument types. If the function signature indicates the
|
signature argument types and parameter attributes. All arguments must be
|
||||||
function accepts a variable number of arguments, the extra arguments can
|
of <a href="#t_firstclass">first class</a> type. If the function
|
||||||
be specified.</li>
|
signature indicates the function accepts a variable number of arguments,
|
||||||
|
the extra arguments can be specified.</li>
|
||||||
|
|
||||||
<li>'<tt>normal label</tt>': the label reached when the called function
|
<li>'<tt>normal label</tt>': the label reached when the called function
|
||||||
executes a '<tt><a href="#i_ret">ret</a></tt>' instruction. </li>
|
executes a '<tt><a href="#i_ret">ret</a></tt>' instruction. </li>
|
||||||
@@ -5171,10 +5171,10 @@ Loop: ; Infinite loop that counts from 0 on up...
|
|||||||
to function value.</li>
|
to function value.</li>
|
||||||
|
|
||||||
<li>'<tt>function args</tt>': argument list whose types match the function
|
<li>'<tt>function args</tt>': argument list whose types match the function
|
||||||
signature argument types. All arguments must be of
|
signature argument types and parameter attributes. All arguments must be
|
||||||
<a href="#t_firstclass">first class</a> type. If the function signature
|
of <a href="#t_firstclass">first class</a> type. If the function
|
||||||
indicates the function accepts a variable number of arguments, the extra
|
signature indicates the function accepts a variable number of arguments,
|
||||||
arguments can be specified.</li>
|
the extra arguments can be specified.</li>
|
||||||
|
|
||||||
<li>The optional <a href="#fnattrs">function attributes</a> list. Only
|
<li>The optional <a href="#fnattrs">function attributes</a> list. Only
|
||||||
'<tt>noreturn</tt>', '<tt>nounwind</tt>', '<tt>readonly</tt>' and
|
'<tt>noreturn</tt>', '<tt>nounwind</tt>', '<tt>readonly</tt>' and
|
||||||
|
Reference in New Issue
Block a user