diff options
| author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-07-05 17:37:07 +0000 |
|---|---|---|
| committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-07-05 17:37:07 +0000 |
| commit | 4d6c832165c6a9892890e0f1c303be5afc2fb11d (patch) | |
| tree | c820bbee78800c4c188f2ef2deeaaea4ef60d9e2 /llvm/docs | |
| parent | 03d32ecd4f5a8061b6a56e512f05f74a4775b228 (diff) | |
| download | bcm5719-llvm-4d6c832165c6a9892890e0f1c303be5afc2fb11d.tar.gz bcm5719-llvm-4d6c832165c6a9892890e0f1c303be5afc2fb11d.zip | |
add @llvm.donothing
llvm-svn: 159758
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/LangRef.html | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 64154d4eaa8..97936598174 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -317,10 +317,12 @@ '<tt>llvm.debugtrap</tt>' Intrinsic</a></li> <li><a href="#int_stackprotector"> '<tt>llvm.stackprotector</tt>' Intrinsic</a></li> - <li><a href="#int_objectsize"> + <li><a href="#int_objectsize"> '<tt>llvm.objectsize</tt>' Intrinsic</a></li> - <li><a href="#int_expect"> + <li><a href="#int_expect"> '<tt>llvm.expect</tt>' Intrinsic</a></li> + <li><a href="#int_donothing"> + '<tt>llvm.donothing</tt>' Intrinsic</a></li> </ol> </li> </ol> @@ -8640,6 +8642,30 @@ intrinsic function should be used instead.</p> <p>This intrinsic is lowered to the <tt>val</tt>.</p> </div> +<!-- _______________________________________________________________________ --> +<h4> + <a name="int_donothing">'<tt>llvm.donothing</tt>' Intrinsic</a> +</h4> + +<div> + +<h5>Syntax:</h5> +<pre> + declare void @llvm.donothing() nounwind readnone +</pre> + +<h5>Overview:</h5> +<p>The <tt>llvm.donothing</tt> intrinsic doesn't perform any operation. It's the +only intrinsic that can be called with an invoke instruction.</p> + +<h5>Arguments:</h5> +<p>None.</p> + +<h5>Semantics:</h5> +<p>This intrinsic does nothing, and it's removed by optimizers and ignored by +codegen.</p> +</div> + </div> </div> |

