Changes in directory llvm/docs:
BytecodeFormat.html updated: 1.56 -> 1.57 LangRef.html updated: 1.178 -> 1.179 --- Log message: Packed Structure Definitions (docs) --- Diffs of the changes: (+39 -2) BytecodeFormat.html | 6 +++++- LangRef.html | 35 ++++++++++++++++++++++++++++++++++- 2 files changed, 39 insertions(+), 2 deletions(-) Index: llvm/docs/BytecodeFormat.html diff -u llvm/docs/BytecodeFormat.html:1.56 llvm/docs/BytecodeFormat.html:1.57 --- llvm/docs/BytecodeFormat.html:1.56 Wed Nov 8 14:07:40 2006 +++ llvm/docs/BytecodeFormat.html Fri Dec 8 11:13:00 2006 @@ -862,6 +862,10 @@ <td class="td_left">Type ID for structure types (14)</td> </tr> <tr> + <td><a href="#uint32_vbr">uint32_vbr</a></td> + <td class="td_left">Value 0 if a normal structure, 1 if a packed structure</td> + </tr> + <tr> <td><a href="#zlist">zlist</a>(<a href="#uint24_vbr">uint24_vbr</a>)</td> <td class="td_left">Slot number of each of the element's fields.</td> </tr> @@ -2166,7 +2170,7 @@ <a href="mailto:[EMAIL PROTECTED]">Reid Spencer</a> and <a href="mailto:[EMAIL PROTECTED]">Chris Lattner</a><br> <a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br> -Last modified: $Date: 2006/11/08 20:07:40 $ +Last modified: $Date: 2006/12/08 17:13:00 $ </address> </body> </html> Index: llvm/docs/LangRef.html diff -u llvm/docs/LangRef.html:1.178 llvm/docs/LangRef.html:1.179 --- llvm/docs/LangRef.html:1.178 Wed Dec 6 01:08:07 2006 +++ llvm/docs/LangRef.html Fri Dec 8 11:13:00 2006 @@ -40,6 +40,7 @@ <li><a href="#t_function">Function Type</a></li> <li><a href="#t_pointer">Pointer Type</a></li> <li><a href="#t_struct">Structure Type</a></li> + <li><a href="#t_pstruct">Packed Structure Type</a></li> <li><a href="#t_packed">Packed Type</a></li> <li><a href="#t_opaque">Opaque Type</a></li> </ol> @@ -933,6 +934,38 @@ </div> <!-- _______________________________________________________________________ --> +<div class="doc_subsubsection"> <a name="t_pstruct">Packed Structure Type</a> +</div> +<div class="doc_text"> +<h5>Overview:</h5> +<p>The packed structure type is used to represent a collection of data members +together in memory. There is no padding between fields. Further, the alignment +of a packed structure is 1 byte. The elements of a packed structure may +be any type that has a size.</p> +<p>Structures are accessed using '<tt><a href="#i_load">load</a></tt> +and '<tt><a href="#i_store">store</a></tt>' by getting a pointer to a +field with the '<tt><a href="#i_getelementptr">getelementptr</a></tt>' +instruction.</p> +<h5>Syntax:</h5> +<pre> < { <type list> } > <br></pre> +<h5>Examples:</h5> +<table class="layout"> + <tr class="layout"> + <td class="left"> + <tt> < { int, int, int } > </tt><br/> + <tt> < { float, int (int) * } > </tt><br/> + </td> + <td class="left"> + a triple of three <tt>int</tt> values<br/> + A pair, where the first element is a <tt>float</tt> and the second element + is a <a href="#t_pointer">pointer</a> to a <a href="#t_function">function</a> + that takes an <tt>int</tt>, returning an <tt>int</tt>.<br/> + </td> + </tr> +</table> +</div> + +<!-- _______________________________________________________________________ --> <div class="doc_subsubsection"> <a name="t_pointer">Pointer Type</a> </div> <div class="doc_text"> <h5>Overview:</h5> @@ -4435,7 +4468,7 @@ <a href="mailto:[EMAIL PROTECTED]">Chris Lattner</a><br> <a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br> - Last modified: $Date: 2006/12/06 07:08:07 $ + Last modified: $Date: 2006/12/08 17:13:00 $ </address> </body> </html> _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits