1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Fix validation errors.

llvm-svn: 40116
This commit is contained in:
Reid Spencer 2007-07-20 19:59:11 +00:00
parent 33a4d149d6
commit 491c2963bd

View File

@ -200,11 +200,11 @@
<li><a href="#int_memory_barrier">'<tt>llvm.memory.barrier</tt>' Intrinsic</a></li> <li><a href="#int_memory_barrier">'<tt>llvm.memory.barrier</tt>' Intrinsic</a></li>
</ol> </ol>
</li> </li>
<li><a href="#int_general">General intrinsics</a></li> <li><a href="#int_general">General intrinsics</a>
<ol> <ol>
<li><a href="#int_var_annotation">'<tt>llvm.var.annotation</tt>' <li><a href="#int_var_annotation">
Intrinsic</a></li> <tt>llvm.var.annotation</tt>' Intrinsic</a></li>
</ol> </ol>
</li> </li>
</ol> </ol>
</li> </li>
@ -282,7 +282,7 @@ by the verifier pass indicate bugs in transformation passes or input to
the parser.</p> the parser.</p>
</div> </div>
<!-- Describe the typesetting conventions here. --> </div> <!-- Describe the typesetting conventions here. -->
<!-- *********************************************************************** --> <!-- *********************************************************************** -->
<div class="doc_section"> <a name="identifiers">Identifiers</a> </div> <div class="doc_section"> <a name="identifiers">Identifiers</a> </div>
@ -4848,7 +4848,7 @@ Handling</a> document. </p>
<p> <p>
These do <em>not</em> form an API such as high-level threading libraries, These do <em>not</em> form an API such as high-level threading libraries,
software transaction memory systems, atomic primitives, and intrinsic software transaction memory systems, atomic primitives, and intrinsic
functionss as found in BSD, GNU libc, atomic_ops, APR, and other system and functions as found in BSD, GNU libc, atomic_ops, APR, and other system and
application libraries. The hardware interface provided by LLVM should allow application libraries. The hardware interface provided by LLVM should allow
a clean implementation of all of these APIs and parallel programming models. a clean implementation of all of these APIs and parallel programming models.
No one model or paradigm should be selected above others unless the hardware No one model or paradigm should be selected above others unless the hardware
@ -4864,14 +4864,13 @@ Handling</a> document. </p>
<h5>Syntax:</h5> <h5>Syntax:</h5>
<p> <p>
This is an overloaded intrinsic. You can use <tt>llvm.atomic.lcs</tt> on any This is an overloaded intrinsic. You can use <tt>llvm.atomic.lcs</tt> on any
integer bit width. Not all targets support all bit widths however. integer bit width. Not all targets support all bit widths however.</p>
<pre> <pre>
declare i8 @llvm.atomic.lcs.i8.i8p.i8.i8( i8* &lt;ptr&gt;, i8 &lt;cmp&gt;, i8 &lt;val&gt; ) declare i8 @llvm.atomic.lcs.i8.i8p.i8.i8( i8* &lt;ptr&gt;, i8 &lt;cmp&gt;, i8 &lt;val&gt; )
declare i16 @llvm.atomic.lcs.i16.i16p.i16.i16( i16* &lt;ptr&gt;, i16 &lt;cmp&gt;, i16 &lt;val&gt; ) declare i16 @llvm.atomic.lcs.i16.i16p.i16.i16( i16* &lt;ptr&gt;, i16 &lt;cmp&gt;, i16 &lt;val&gt; )
declare i32 @llvm.atomic.lcs.i32.i32p.i32.i32( i32* &lt;ptr&gt;, i32 &lt;cmp&gt;, i32 &lt;val&gt; ) declare i32 @llvm.atomic.lcs.i32.i32p.i32.i32( i32* &lt;ptr&gt;, i32 &lt;cmp&gt;, i32 &lt;val&gt; )
declare i64 @llvm.atomic.lcs.i64.i64p.i64.i64( i64* &lt;ptr&gt;, i64 &lt;cmp&gt;, i64 &lt;val&gt; ) declare i64 @llvm.atomic.lcs.i64.i64p.i64.i64( i64* &lt;ptr&gt;, i64 &lt;cmp&gt;, i64 &lt;val&gt; )
</pre> </pre>
</p>
<h5>Overview:</h5> <h5>Overview:</h5>
<p> <p>
This loads a value in shared memory and compares it to a given value. If they This loads a value in shared memory and compares it to a given value. If they
@ -4920,14 +4919,13 @@ declare i64 @llvm.atomic.lcs.i64.i64p.i64.i64( i64* &lt;ptr&gt;, i64 &lt;cmp&gt;
<h5>Syntax:</h5> <h5>Syntax:</h5>
<p> <p>
This is an overloaded intrinsic. You can use <tt>llvm.atomic.ls</tt> on any This is an overloaded intrinsic. You can use <tt>llvm.atomic.ls</tt> on any
integer bit width. Not all targets support all bit widths however. integer bit width. Not all targets support all bit widths however.</p>
<pre> <pre>
declare i8 @llvm.atomic.ls.i8.i8p.i8( i8* &lt;ptr&gt;, i8 &lt;val&gt; ) declare i8 @llvm.atomic.ls.i8.i8p.i8( i8* &lt;ptr&gt;, i8 &lt;val&gt; )
declare i16 @llvm.atomic.ls.i16.i16p.i16( i16* &lt;ptr&gt;, i16 &lt;val&gt; ) declare i16 @llvm.atomic.ls.i16.i16p.i16( i16* &lt;ptr&gt;, i16 &lt;val&gt; )
declare i32 @llvm.atomic.ls.i32.i32p.i32( i32* &lt;ptr&gt;, i32 &lt;val&gt; ) declare i32 @llvm.atomic.ls.i32.i32p.i32( i32* &lt;ptr&gt;, i32 &lt;val&gt; )
declare i64 @llvm.atomic.ls.i64.i64p.i64( i64* &lt;ptr&gt;, i64 &lt;val&gt; ) declare i64 @llvm.atomic.ls.i64.i64p.i64( i64* &lt;ptr&gt;, i64 &lt;val&gt; )
</pre> </pre>
</p>
<h5>Overview:</h5> <h5>Overview:</h5>
<p> <p>
This intrinsic loads the value stored in shared memory at <tt>ptr</tt> and This intrinsic loads the value stored in shared memory at <tt>ptr</tt> and
@ -4975,14 +4973,13 @@ declare i64 @llvm.atomic.ls.i64.i64p.i64( i64* &lt;ptr&gt;, i64 &lt;val&gt; )
<h5>Syntax:</h5> <h5>Syntax:</h5>
<p> <p>
This is an overloaded intrinsic. You can use <tt>llvm.atomic.las</tt> on any This is an overloaded intrinsic. You can use <tt>llvm.atomic.las</tt> on any
integer bit width. Not all targets support all bit widths however. integer bit width. Not all targets support all bit widths however.</p>
<pre> <pre>
declare i8 @llvm.atomic.las.i8.i8p.i8( i8* &lt;ptr&gt;, i8 &lt;delta&gt; ) declare i8 @llvm.atomic.las.i8.i8p.i8( i8* &lt;ptr&gt;, i8 &lt;delta&gt; )
declare i16 @llvm.atomic.las.i16.i16p.i16( i16* &lt;ptr&gt;, i16 &lt;delta&gt; ) declare i16 @llvm.atomic.las.i16.i16p.i16( i16* &lt;ptr&gt;, i16 &lt;delta&gt; )
declare i32 @llvm.atomic.las.i32.i32p.i32( i32* &lt;ptr&gt;, i32 &lt;delta&gt; ) declare i32 @llvm.atomic.las.i32.i32p.i32( i32* &lt;ptr&gt;, i32 &lt;delta&gt; )
declare i64 @llvm.atomic.las.i64.i64p.i64( i64* &lt;ptr&gt;, i64 &lt;delta&gt; ) declare i64 @llvm.atomic.las.i64.i64p.i64( i64* &lt;ptr&gt;, i64 &lt;delta&gt; )
</pre> </pre>
</p>
<h5>Overview:</h5> <h5>Overview:</h5>
<p> <p>
This intrinsic adds <tt>delta</tt> to the value stored in shared memory at This intrinsic adds <tt>delta</tt> to the value stored in shared memory at
@ -5023,14 +5020,13 @@ declare i64 @llvm.atomic.las.i64.i64p.i64( i64* &lt;ptr&gt;, i64 &lt;delta&gt; )
<h5>Syntax:</h5> <h5>Syntax:</h5>
<p> <p>
This is an overloaded intrinsic. You can use <tt>llvm.atomic.lss</tt> on any This is an overloaded intrinsic. You can use <tt>llvm.atomic.lss</tt> on any
integer bit width. Not all targets support all bit widths however. integer bit width. Not all targets support all bit widths however.</p>
<pre> <pre>
declare i8 @llvm.atomic.lss.i8.i8.i8( i8* &lt;ptr&gt;, i8 &lt;delta&gt; ) declare i8 @llvm.atomic.lss.i8.i8.i8( i8* &lt;ptr&gt;, i8 &lt;delta&gt; )
declare i16 @llvm.atomic.lss.i16.i16.i16( i16* &lt;ptr&gt;, i16 &lt;delta&gt; ) declare i16 @llvm.atomic.lss.i16.i16.i16( i16* &lt;ptr&gt;, i16 &lt;delta&gt; )
declare i32 @llvm.atomic.lss.i32.i32.i32( i32* &lt;ptr&gt;, i32 &lt;delta&gt; ) declare i32 @llvm.atomic.lss.i32.i32.i32( i32* &lt;ptr&gt;, i32 &lt;delta&gt; )
declare i64 @llvm.atomic.lss.i64.i64.i64( i64* &lt;ptr&gt;, i64 &lt;delta&gt; ) declare i64 @llvm.atomic.lss.i64.i64.i64( i64* &lt;ptr&gt;, i64 &lt;delta&gt; )
</pre> </pre>
</p>
<h5>Overview:</h5> <h5>Overview:</h5>
<p> <p>
This intrinsic subtracts <tt>delta</tt> from the value stored in shared This intrinsic subtracts <tt>delta</tt> from the value stored in shared
@ -5070,11 +5066,9 @@ declare i64 @llvm.atomic.lss.i64.i64.i64( i64* &lt;ptr&gt;, i64 &lt;delta&gt; )
</div> </div>
<div class="doc_text"> <div class="doc_text">
<h5>Syntax:</h5> <h5>Syntax:</h5>
<p>
<pre> <pre>
declare void @llvm.memory.barrier( i1 &lt;ll&gt;, i1 &lt;ls&gt;, i1 &lt;sl&gt;, i1 &lt;ss&gt; ) declare void @llvm.memory.barrier( i1 &lt;ll&gt;, i1 &lt;ls&gt;, i1 &lt;sl&gt;, i1 &lt;ss&gt; )
</pre> </pre>
</p>
<h5>Overview:</h5> <h5>Overview:</h5>
<p> <p>
The <tt>llvm.memory.barrier</tt> intrinsic guarantees ordering between The <tt>llvm.memory.barrier</tt> intrinsic guarantees ordering between