summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-01-15 22:31:34 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-01-15 22:31:34 +0000
commit06cbb65cb0b8f11f13b1c7811680e61cd0c09ed4 (patch)
tree7c8a0fb6604a37b4ee1ad7c1b07c936cd849af13 /llvm/docs
parent915ec1407301e7bdbfdb1bfbfa19211d3eb322bc (diff)
downloadbcm5719-llvm-06cbb65cb0b8f11f13b1c7811680e61cd0c09ed4.tar.gz
bcm5719-llvm-06cbb65cb0b8f11f13b1c7811680e61cd0c09ed4.zip
Add description of 'llvm.trap' intrinsic. Also, minor fixes in formatting.
llvm-svn: 46024
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/LangRef.html44
1 files changed, 39 insertions, 5 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html
index 49bcc974f08..5aa5157251e 100644
--- a/llvm/docs/LangRef.html
+++ b/llvm/docs/LangRef.html
@@ -208,10 +208,10 @@
<ol>
<li><a href="#int_var_annotation">
<tt>llvm.var.annotation</tt>' Intrinsic</a></li>
- </ol>
- <ol>
<li><a href="#int_annotation">
<tt>llvm.annotation.*</tt>' Intrinsic</a></li>
+ <li><a href="#int_trap">
+ <tt>llvm.trap</tt>' Intrinsic</a></li>
</ol>
</li>
</ol>
@@ -5238,10 +5238,11 @@ file name, and the last argument is the line number.
<h5>Semantics:</h5>
<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
- annotations. These have no other defined use, they are ignored by code
- generation and optimization.
+annotations. These have no other defined use, they are ignored by code
+generation and optimization.
+</p>
</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.
</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>
<address>
OpenPOWER on IntegriCloud