diff options
| author | Tanya Lattner <tonic@nondot.org> | 2007-06-15 20:50:54 +0000 |
|---|---|---|
| committer | Tanya Lattner <tonic@nondot.org> | 2007-06-15 20:50:54 +0000 |
| commit | cb1b96047df61a961b30731dc71bcdb3335ddbc3 (patch) | |
| tree | b0cf4f74036ac94069de19094ee91831c58e566a /llvm/docs/LangRef.html | |
| parent | 00cb117b079047b70ff4a46263f39635caacf51d (diff) | |
| download | bcm5719-llvm-cb1b96047df61a961b30731dc71bcdb3335ddbc3.tar.gz bcm5719-llvm-cb1b96047df61a961b30731dc71bcdb3335ddbc3.zip | |
Add local var annotation intrinsic.
llvm-svn: 37603
Diffstat (limited to 'llvm/docs/LangRef.html')
| -rw-r--r-- | llvm/docs/LangRef.html | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 9efc1c17ff8..796aa563a7b 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -191,6 +191,12 @@ </li> <li><a href="#int_debugger">Debugger intrinsics</a></li> <li><a href="#int_eh">Exception Handling intrinsics</a></li> + <li><a href="#int_general">General intrinsics</a></li> + <ol> + <li><a href="#int_var_annotation">'<tt>llvm.var.annotation</tt>' + Intrinsic</a></li> + </ol> + </li> </ol> </li> </ol> @@ -4819,6 +4825,50 @@ href="ExceptionHandling.html#format_common_intrinsics">LLVM Exception Handling</a> document. </p> </div> +<!-- ======================================================================= --> +<div class="doc_subsection"> + <a name="int_general">General Intrinsics</a> +</div> + +<div class="doc_text"> +<p> This class of intrinsics is designed to be generic and has +no specific purpose. </p> +</div> + +<!-- _______________________________________________________________________ --> +<div class="doc_subsubsection"> + <a name="int_var_annotation">'<tt>llvm.var.annotation</tt>' Intrinsic</a> +</div> + +<div class="doc_text"> + +<h5>Syntax:</h5> +<pre> + declare void @llvm.var.annotation(i8* <val>, i8* <str>) +</pre> + +<h5>Overview:</h5> + +<p> +The '<tt>llvm.var.annotation</tt>' intrinsic +</p> + +<h5>Arguments:</h5> + +<p> +The first argument is a pointer to a value, and the second is a pointer to a +global string. +</p> + +<h5>Semantics:</h5> + +<p> +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. +</div> + <!-- *********************************************************************** --> <hr> |

