[llvm-commits] [llvm] r42214 - /llvm/trunk/docs/LangRef.html
Tanya Lattner
tonic at nondot.org
Fri Sep 21 16:56:29 PDT 2007
Author: tbrethou
Date: Fri Sep 21 18:56:27 2007
New Revision: 42214
URL: http://llvm.org/viewvc/llvm-project?rev=42214&view=rev
Log:
Update annotation intrinsic with more details.
Modified:
llvm/trunk/docs/LangRef.html
Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=42214&r1=42213&r2=42214&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Fri Sep 21 18:56:27 2007
@@ -208,7 +208,7 @@
<li><a href="#int_general">General intrinsics</a>
<ol>
<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">
@@ -5275,13 +5275,22 @@
<div class="doc_text">
<h5>Syntax:</h5>
+<p>This is an overloaded intrinsic. You can use '<tt>llvm.annotation</tt>' on
+any integer bit width.
+</p>
<pre>
declare i32 @llvm.annotation(i32 <val>, i8* <str>, i8* <str>, i32 <int> )
+ declare i8 llvm.annotation(i8 <val>, i8* <str>, i8* <str>, i32 <int> )
+ declare i16 llvm.annotation(i16 <val>, i8* <str>, i8* <str>, i32 <int> )
+ declare i32 @llvm.annotation(i32 <val>, i8* <str>, i8* <str>, i32 <int> )
+ declare i64 @llvm.annotation(i64 <val>, i8* <str>, i8* <str>, i32 <int> )
+ declare i256 @llvm.annotation(i256 <val>, i8* <str>, i8* <str>, i32 <int> )
</pre>
<h5>Overview:</h5>
-<p>This is an overloaded intrinsic. You can use '<tt>llvm.annotation</tt>' on
-any integer bit width. Not all targets support all bit widths however.
+
+<p>
+The '<tt>llvm.annotation</tt>' intrinsic.
</p>
<h5>Arguments:</h5>
@@ -5290,6 +5299,7 @@
The first argument is an integer value (result of some expression),
the second is a pointer to a global string, the third is a pointer to a global
string which is the source file name, and the last argument is the line number.
+It returns the value of the first argument.
</p>
<h5>Semantics:</h5>
More information about the llvm-commits
mailing list