mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-22 10:36:10 +00:00
Convert the remainder of the intrinsic function prototypes to "declare"
form from the "call" form. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21573 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d462235968
commit
a8d451e1d4
@ -2257,7 +2257,7 @@ int %test(int %X, ...) {
|
||||
|
||||
<div class="doc_text">
|
||||
<h5>Syntax:</h5>
|
||||
<pre> call <va_list> ()* %llvm.va_start()<br></pre>
|
||||
<pre> declare <va_list> %llvm.va_start()<br></pre>
|
||||
<h5>Overview:</h5>
|
||||
<p>The '<tt>llvm.va_start</tt>' intrinsic returns a new <tt><arglist></tt>
|
||||
for subsequent use by the variable argument intrinsics.</p>
|
||||
@ -2279,7 +2279,7 @@ within the body of a variable argument function.</p>
|
||||
|
||||
<div class="doc_text">
|
||||
<h5>Syntax:</h5>
|
||||
<pre> call void (<va_list>)* %llvm.va_end(<va_list> <arglist>)<br></pre>
|
||||
<pre> declare void %llvm.va_end(<va_list> <arglist>)<br></pre>
|
||||
<h5>Overview:</h5>
|
||||
<p>The '<tt>llvm.va_end</tt>' intrinsic destroys <tt><arglist></tt>
|
||||
which has been initialized previously with <tt><a href="#i_va_start">llvm.va_start</a></tt>
|
||||
@ -2304,7 +2304,7 @@ with calls to <tt>llvm.va_end</tt>.</p>
|
||||
<h5>Syntax:</h5>
|
||||
|
||||
<pre>
|
||||
call <va_list> (<va_list>)* %llvm.va_copy(<va_list> <destarglist>)
|
||||
declare <va_list> %llvm.va_copy(<va_list> <destarglist>)
|
||||
</pre>
|
||||
|
||||
<h5>Overview:</h5>
|
||||
@ -2355,7 +2355,7 @@ href="GarbageCollection.html">Accurate Garbage Collection with LLVM</a>.
|
||||
<h5>Syntax:</h5>
|
||||
|
||||
<pre>
|
||||
call void (<ty>**, <ty2>*)* %llvm.gcroot(<ty>** %ptrloc, <ty2>* %metadata)
|
||||
declare void %llvm.gcroot(<ty>** %ptrloc, <ty2>* %metadata)
|
||||
</pre>
|
||||
|
||||
<h5>Overview:</h5>
|
||||
@ -2389,7 +2389,7 @@ the runtime to find the pointer at GC safe points.
|
||||
<h5>Syntax:</h5>
|
||||
|
||||
<pre>
|
||||
call sbyte* (sbyte**)* %llvm.gcread(sbyte** %Ptr)
|
||||
declare sbyte* %llvm.gcread(sbyte** %Ptr)
|
||||
</pre>
|
||||
|
||||
<h5>Overview:</h5>
|
||||
@ -2422,7 +2422,7 @@ garbage collector runtime, as needed.</p>
|
||||
<h5>Syntax:</h5>
|
||||
|
||||
<pre>
|
||||
call void (sbyte*, sbyte**)* %llvm.gcwrite(sbyte* %P1, sbyte** %P2)
|
||||
declare void %llvm.gcwrite(sbyte* %P1, sbyte** %P2)
|
||||
</pre>
|
||||
|
||||
<h5>Overview:</h5>
|
||||
@ -2468,7 +2468,7 @@ be implemented with code generator support.
|
||||
|
||||
<h5>Syntax:</h5>
|
||||
<pre>
|
||||
call void* ()* %llvm.returnaddress(uint <level>)
|
||||
declare void* %llvm.returnaddress(uint <level>)
|
||||
</pre>
|
||||
|
||||
<h5>Overview:</h5>
|
||||
@ -2512,7 +2512,7 @@ source-language caller.
|
||||
|
||||
<h5>Syntax:</h5>
|
||||
<pre>
|
||||
call void* ()* %llvm.frameaddress(uint <level>)
|
||||
declare void* %llvm.frameaddress(uint <level>)
|
||||
</pre>
|
||||
|
||||
<h5>Overview:</h5>
|
||||
@ -2555,9 +2555,8 @@ source-language caller.
|
||||
|
||||
<h5>Syntax:</h5>
|
||||
<pre>
|
||||
call void (sbyte *, uint, uint)* %llvm.prefetch(sbyte * <address>,
|
||||
uint <rw>,
|
||||
uint <locality>)
|
||||
declare void %llvm.prefetch(sbyte * <address>,
|
||||
uint <rw>, uint <locality>)
|
||||
</pre>
|
||||
|
||||
<h5>Overview:</h5>
|
||||
@ -2600,7 +2599,7 @@ performance.
|
||||
|
||||
<h5>Syntax:</h5>
|
||||
<pre>
|
||||
call void (uint)* %llvm.pcmarker( uint <id> )
|
||||
declare void %llvm.pcmarker( uint <id> )
|
||||
</pre>
|
||||
|
||||
<h5>Overview:</h5>
|
||||
@ -2654,7 +2653,7 @@ operating system level code.
|
||||
|
||||
<h5>Syntax:</h5>
|
||||
<pre>
|
||||
call <integer type> (<integer type>)* %llvm.readport (<integer type> <address>)
|
||||
declare <integer type> %llvm.readport (<integer type> <address>)
|
||||
</pre>
|
||||
|
||||
<h5>Overview:</h5>
|
||||
@ -2738,7 +2737,7 @@ value written must be 8, 16, or 32 bits in length.
|
||||
|
||||
<h5>Syntax:</h5>
|
||||
<pre>
|
||||
call <result> (<ty>*)* %llvm.readio (<ty> * <pointer>)
|
||||
declare <result> %llvm.readio (<ty> * <pointer>)
|
||||
</pre>
|
||||
|
||||
<h5>Overview:</h5>
|
||||
@ -2786,7 +2785,7 @@ ensures that accesses to memory mapped I/O registers occur in program order.
|
||||
|
||||
<h5>Syntax:</h5>
|
||||
<pre>
|
||||
call void (<ty1>, <ty2>*)* %llvm.writeio (<ty1> <value>, <ty2> * <pointer>)
|
||||
declare void %llvm.writeio (<ty1> <value>, <ty2> * <pointer>)
|
||||
</pre>
|
||||
|
||||
<h5>Overview:</h5>
|
||||
@ -3004,8 +3003,7 @@ this can be specified as the fourth argument, otherwise it should be set to 0 or
|
||||
|
||||
<h5>Syntax:</h5>
|
||||
<pre>
|
||||
call bool (<float or double>, <float or double>)* %llvm.isunordered(<float or double> Val1,
|
||||
<float or double> Val2)
|
||||
declare bool %llvm.isunordered(<float or double> Val1, <float or double> Val2)
|
||||
</pre>
|
||||
|
||||
<h5>Overview:</h5>
|
||||
|
Loading…
x
Reference in New Issue
Block a user