mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-13 08:26:02 +00:00
Add description of 'llvm.trap' intrinsic. Also, minor fixes in formatting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46024 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -208,10 +208,10 @@
|
|||||||
<ol>
|
<ol>
|
||||||
<li><a href="#int_var_annotation">
|
<li><a href="#int_var_annotation">
|
||||||
<tt>llvm.var.annotation</tt>' Intrinsic</a></li>
|
<tt>llvm.var.annotation</tt>' Intrinsic</a></li>
|
||||||
</ol>
|
|
||||||
<ol>
|
|
||||||
<li><a href="#int_annotation">
|
<li><a href="#int_annotation">
|
||||||
<tt>llvm.annotation.*</tt>' Intrinsic</a></li>
|
<tt>llvm.annotation.*</tt>' Intrinsic</a></li>
|
||||||
|
<li><a href="#int_trap">
|
||||||
|
<tt>llvm.trap</tt>' Intrinsic</a></li>
|
||||||
</ol>
|
</ol>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
@@ -5240,8 +5240,9 @@ file name, and the last argument is the line number.
|
|||||||
<p>
|
<p>
|
||||||
This intrinsic allows annotation of local variables with arbitrary strings.
|
This intrinsic allows annotation of local variables with arbitrary strings.
|
||||||
This can be useful for special purpose optimizations that want to look for these
|
This can be useful for special purpose optimizations that want to look for these
|
||||||
annotations. These have no other defined use, they are ignored by code
|
annotations. These have no other defined use, they are ignored by code
|
||||||
generation and optimization.
|
generation and optimization.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- _______________________________________________________________________ -->
|
<!-- _______________________________________________________________________ -->
|
||||||
@@ -5287,6 +5288,39 @@ that want to look for these annotations. These have no other defined use, they
|
|||||||
are ignored by code generation and optimization.
|
are ignored by code generation and optimization.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- _______________________________________________________________________ -->
|
||||||
|
<div class="doc_subsubsection">
|
||||||
|
<a name="int_trap">'<tt>llvm.trap</tt>' Intrinsic</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="doc_text">
|
||||||
|
|
||||||
|
<h5>Syntax:</h5>
|
||||||
|
<pre>
|
||||||
|
declare void @llvm.trap()
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
<h5>Overview:</h5>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The '<tt>llvm.trap</tt>' intrinsic
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h5>Arguments:</h5>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
None
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h5>Semantics:</h5>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
This intrinsics is lowered to the target dependent trap instruction. If the
|
||||||
|
target does not have a trap instruction, this intrinsic will be lowered to the
|
||||||
|
call of the abort() function.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- *********************************************************************** -->
|
<!-- *********************************************************************** -->
|
||||||
<hr>
|
<hr>
|
||||||
<address>
|
<address>
|
||||||
|
Reference in New Issue
Block a user