[llvm-branch-commits] [llvm-branch] r136075 - /llvm/branches/exception-handling-rewrite/docs/LangRef.html
Bill Wendling
isanbard at gmail.com
Tue Jul 26 03:45:18 PDT 2011
Author: void
Date: Tue Jul 26 05:45:18 2011
New Revision: 136075
URL: http://llvm.org/viewvc/llvm-project?rev=136075&view=rev
Log:
Initial documentaiton for the 'resume' instruction.
Modified:
llvm/branches/exception-handling-rewrite/docs/LangRef.html
Modified: llvm/branches/exception-handling-rewrite/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/exception-handling-rewrite/docs/LangRef.html?rev=136075&r1=136074&r2=136075&view=diff
==============================================================================
--- llvm/branches/exception-handling-rewrite/docs/LangRef.html (original)
+++ llvm/branches/exception-handling-rewrite/docs/LangRef.html Tue Jul 26 05:45:18 2011
@@ -123,6 +123,7 @@
<li><a href="#i_indirectbr">'<tt>indirectbr</tt>' Instruction</a></li>
<li><a href="#i_invoke">'<tt>invoke</tt>' Instruction</a></li>
<li><a href="#i_unwind">'<tt>unwind</tt>' Instruction</a></li>
+ <li><a href="#i_resume">'<tt>resume</tt>' Instruction</a></li>
<li><a href="#i_unreachable">'<tt>unreachable</tt>' Instruction</a></li>
</ol>
</li>
@@ -2942,13 +2943,14 @@
control flow, not values (the one exception being the
'<a href="#i_invoke"><tt>invoke</tt></a>' instruction).</p>
-<p>There are seven different terminator instructions: the
+<p>There are eight different terminator instructions: the
'<a href="#i_ret"><tt>ret</tt></a>' instruction, the
'<a href="#i_br"><tt>br</tt></a>' instruction, the
'<a href="#i_switch"><tt>switch</tt></a>' instruction, the
'<a href="#i_indirectbr">'<tt>indirectbr</tt></a>' Instruction, the
'<a href="#i_invoke"><tt>invoke</tt></a>' instruction, the
- '<a href="#i_unwind"><tt>unwind</tt></a>' instruction, and the
+ '<a href="#i_unwind"><tt>unwind</tt></a>' instruction, the
+ '<a href="#i_resume"><tt>resume</tt></a>' instruction, and the
'<a href="#i_unreachable"><tt>unreachable</tt></a>' instruction.</p>
<!-- _______________________________________________________________________ -->
@@ -3271,6 +3273,35 @@
<!-- _______________________________________________________________________ -->
<h4>
+ <a name="i_resume">'<tt>resume</tt>' Instruction</a>
+</h4>
+
+<div>
+
+<h5>Syntax:</h5>
+<pre>
+ resume <type> <value>
+</pre>
+
+<h5>Overview:</h5>
+<p>The '<tt>resume</tt>' instruction is a terminator instruction that has no
+ successors. Its operand must have the same type as the result of any
+ '<tt>landingpad</tt>' instruction in the same function.</p>
+
+<h5>Semantics:</h5>
+<p>The '<tt>resume</tt>' instruction resumes propagation of an existing
+ (in-flight) exception.</p>
+
+<h5>Example:</h5>
+<pre>
+ resume { i8*, i32 } %exn
+</pre>
+
+</div>
+
+<!-- _______________________________________________________________________ -->
+
+<h4>
<a name="i_unreachable">'<tt>unreachable</tt>' Instruction</a>
</h4>
More information about the llvm-branch-commits
mailing list