Skip to content

Commit

Permalink
Minor format tweask for tables.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17394 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Reid Spencer committed Nov 1, 2004
1 parent 0922172 commit d3f876c
Show file tree
Hide file tree
Showing 7 changed files with 141 additions and 187 deletions.
2 changes: 1 addition & 1 deletion docs/CompilerDriver.html
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@
<td><b>optimizer.output</b></td>
<td><tt>bytecode</tt> or <tt>assembly</tt></td>
<td class="td_left">This item specifies the kind of output the language's
optimizer generates. Valid values are "assembly" and "bytecode"<td>
optimizer generates. Valid values are "assembly" and "bytecode"</td>
<td><tt>bytecode</tt></td>
</tr>
<tr>
Expand Down
9 changes: 2 additions & 7 deletions docs/GettingStarted.html
Original file line number Diff line number Diff line change
Expand Up @@ -581,20 +581,15 @@
<p>The following environment variables are used by the <tt>configure</tt>
script to configure the build system:</p>

<table border=1>
<tr>
<th>Variable</th>
<th>Purpose</th>
</tr>

<table>
<tr><th>Variable</th><th>Purpose</th></tr>
<tr>
<td>CC</td>
<td>Tells <tt>configure</tt> which C compiler to use. By default,
<tt>configure</tt> will look for the first GCC C compiler in
<tt>PATH</tt>. Use this variable to override
<tt>configure</tt>'s default behavior.</td>
</tr>

<tr>
<td>CXX</td>
<td>Tells <tt>configure</tt> which C++ compiler to use. By default,
Expand Down
14 changes: 5 additions & 9 deletions docs/HowToSubmitABug.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
How to submit an LLVM bug report
</div>

<table border="0" width="100%">
<tr>
<td valign="top">

<table class="layout" style="width: 90%" >
<tr class="layout">
<td class="left">
<ol>
<li><a href="#introduction">Introduction - Got bugs?</a></li>
<li><a href="#crashers">Crashing Bugs</a>
Expand All @@ -26,20 +25,17 @@
</ul></li>
<li><a href="#miscompilations">Miscompilations</a></li>
<li><a href="#codegen">Incorrect code generation (JIT and LLC)</a></li>

</ol>

<div class="doc_author">
<p>Written by <a href="mailto:[email protected]">Chris Lattner</a> and
<a href="http://misha.brukman.net">Misha Brukman</a></p>
</div>

</td>
<td align="right">
<td class="right">
<img src="img/Debugging.gif" alt="Debugging" width="444" height="314">
</td>
</tr>
</table>
</div>

<!-- *********************************************************************** -->
<div class="doc_section">
Expand Down
251 changes: 112 additions & 139 deletions docs/LangRef.html
Original file line number Diff line number Diff line change
Expand Up @@ -299,78 +299,39 @@
<p>The primitive types are the fundamental building blocks of the LLVM
system. The current set of primitive types are as follows:</p>

<table border="0" style="align: center">
<tbody>
<tr>
<td>
<table border="1" cellspacing="0" cellpadding="4" style="align: center">
<table class="layout">
<tr class="layout">
<td class="left">
<table>
<tbody>
<tr>
<td><tt>void</tt></td>
<td>No value</td>
</tr>
<tr>
<td><tt>ubyte</tt></td>
<td>Unsigned 8 bit value</td>
</tr>
<tr>
<td><tt>ushort</tt></td>
<td>Unsigned 16 bit value</td>
</tr>
<tr>
<td><tt>uint</tt></td>
<td>Unsigned 32 bit value</td>
</tr>
<tr>
<td><tt>ulong</tt></td>
<td>Unsigned 64 bit value</td>
</tr>
<tr>
<td><tt>float</tt></td>
<td>32 bit floating point value</td>
</tr>
<tr>
<td><tt>label</tt></td>
<td>Branch destination</td>
</tr>
<tr><th>Type</th><th>Description</th></tr>
<tr><td><tt>void</tt></td><td>No value</td></tr>
<tr><td><tt>ubyte</tt></td><td>Unsigned 8 bit value</td></tr>
<tr><td><tt>ushort</tt></td><td>Unsigned 16 bit value</td></tr>
<tr><td><tt>uint</tt></td><td>Unsigned 32 bit value</td></tr>
<tr><td><tt>ulong</tt></td><td>Unsigned 64 bit value</td></tr>
<tr><td><tt>float</tt></td><td>32 bit floating point value</td></tr>
<tr><td><tt>label</tt></td><td>Branch destination</td></tr>
</tbody>
</table>
</td>
<td valign="top">
<table border="1" cellspacing="0" cellpadding="4">
</td>
<td class="right">
<table>
<tbody>
<tr>
<td><tt>bool</tt></td>
<td>True or False value</td>
</tr>
<tr>
<td><tt>sbyte</tt></td>
<td>Signed 8 bit value</td>
</tr>
<tr>
<td><tt>short</tt></td>
<td>Signed 16 bit value</td>
</tr>
<tr>
<td><tt>int</tt></td>
<td>Signed 32 bit value</td>
</tr>
<tr>
<td><tt>long</tt></td>
<td>Signed 64 bit value</td>
</tr>
<tr>
<td><tt>double</tt></td>
<td>64 bit floating point value</td>
</tr>
<tr><th>Type</th><th>Description</th></tr>
<tr><td><tt>bool</tt></td><td>True or False value</td></tr>
<tr><td><tt>sbyte</tt></td><td>Signed 8 bit value</td></tr>
<tr><td><tt>short</tt></td><td>Signed 16 bit value</td></tr>
<tr><td><tt>int</tt></td><td>Signed 32 bit value</td></tr>
<tr><td><tt>long</tt></td><td>Signed 64 bit value</td></tr>
<tr><td><tt>double</tt></td><td>64 bit floating point value</td></tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</td>
</tr>
</table>

</div>

<!-- _______________________________________________________________________ -->
<div class="doc_subsubsection"> <a name="t_classifications">Type
Classifications</a> </div>
Expand All @@ -380,6 +341,7 @@

<table border="1" cellspacing="0" cellpadding="4">
<tbody>
<tr><th>Classification</th><th>Types</th></tr>
<tr>
<td><a name="t_signed">signed</a></td>
<td><tt>sbyte, short, int, long, float, double</tt></td>
Expand Down Expand Up @@ -436,30 +398,37 @@ <h5>Syntax:</h5>
<p>The number of elements is a constant integer value, elementtype may
be any type with a size.</p>
<h5>Examples:</h5>
<p> <tt>[40 x int ]</tt>: Array of 40 integer values.<br>
<tt>[41 x int ]</tt>: Array of 41 integer values.<br>
<tt>[40 x uint]</tt>: Array of 40 unsigned integer values.</p>
<p> </p>
<table class="layout">
<tr class="layout">
<td class="left">
<tt>[40 x int ]</tt><br/>
<tt>[41 x int ]</tt><br/>
<tt>[40 x uint]</tt><br/>
</td>
<td class="left">
Array of 40 integer values.<br/>
Array of 41 integer values.<br/>
Array of 40 unsigned integer values.<br/>
</td>
</tr>
</table>
<p>Here are some examples of multidimensional arrays:</p>

<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><tt>[3 x [4 x int]]</tt></td>
<td>: 3x4 array integer values.</td>
</tr>
<tr>
<td><tt>[12 x [10 x float]]</tt></td>
<td>: 12x10 array of single precision floating point values.</td>
</tr>
<tr>
<td><tt>[2 x [3 x [4 x uint]]]</tt></td>
<td>: 2x3x4 array of unsigned integer values.</td>
</tr>
</tbody>
<table class="layout">
<tr class="layout">
<td class="left">
<tt>[3 x [4 x int]]</tt><br/>
<tt>[12 x [10 x float]]</tt><br/>
<tt>[2 x [3 x [4 x uint]]]</tt><br/>
</td>
<td class="left">
3x4 array integer values.<br/>
12x10 array of single precision floating point values.<br/>
2x3x4 array of unsigned integer values.<br/>
</td>
</tr>
</table>

</div>

<!-- _______________________________________________________________________ -->
<div class="doc_subsubsection"> <a name="t_function">Function Type</a> </div>
<div class="doc_text">
Expand All @@ -480,27 +449,23 @@ <h5>Syntax:</h5>
Variable argument functions can access their arguments with the <a
href="#int_varargs">variable argument handling intrinsic</a> functions.</p>
<h5>Examples:</h5>

<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><tt>int (int)</tt></td>
<td>: function taking an <tt>int</tt>, returning an <tt>int</tt></td>
</tr>
<tr>
<td><tt>float (int, int *) *</tt></td>
<td>: <a href="#t_pointer">Pointer</a> to a function that takes an
<table class="layout">
<tr class="layout">
<td class="left">
<tt>int (int)</tt> <br/>
<tt>float (int, int *) *</tt><br/>
<tt>int (sbyte *, ...)</tt><br/>
</td>
<td class="left">
function taking an <tt>int</tt>, returning an <tt>int</tt><br/>
<a href="#t_pointer">Pointer</a> to a function that takes an
<tt>int</tt> and a <a href="#t_pointer">pointer</a> to <tt>int</tt>,
returning <tt>float</tt>.</td>
</tr>
<tr>
<td><tt>int (sbyte *, ...)</tt></td>
<td>: A vararg function that takes at least one <a
href="#t_pointer">pointer</a> to <tt>sbyte</tt> (signed char in C), which
returns an integer. This is the signature for <tt>printf</tt> in
LLVM.</td>
</tr>
</tbody>
returning <tt>float</tt>.<br/>
A vararg function that takes at least one <a href="#t_pointer">pointer</a>
to <tt>sbyte</tt> (signed char in C), which returns an integer. This is
the signature for <tt>printf</tt> in LLVM.<br/>
</td>
</tr>
</table>

</div>
Expand All @@ -519,24 +484,22 @@ <h5>Overview:</h5>
<h5>Syntax:</h5>
<pre> { &lt;type list&gt; }<br></pre>
<h5>Examples:</h5>

<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><tt>{ int, int, int }</tt></td>
<td>: a triple of three <tt>int</tt> values</td>
</tr>
<tr>
<td><tt>{ float, int (int) * }</tt></td>
<td>: 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>.</td>
</tr>
</tbody>
<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">
Expand All @@ -546,23 +509,23 @@ <h5>Overview:</h5>
<h5>Syntax:</h5>
<pre> &lt;type&gt; *<br></pre>
<h5>Examples:</h5>

<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><tt>[4x int]*</tt></td>
<td>: <a href="#t_pointer">pointer</a> to <a href="#t_array">array</a> of
four <tt>int</tt> values</td>
</tr>
<tr>
<td><tt>int (int *) *</tt></td>
<td>: A <a href="#t_pointer">pointer</a> to a <a
<table class="layout">
<tr class="layout">
<td class="left">
<tt>[4x int]*</tt><br/>
<tt>int (int *) *</tt><br/>
</td>
<td class="left">
A <a href="#t_pointer">pointer</a> to <a href="#t_array">array</a> of
four <tt>int</tt> values<br/>
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>.</td>
</tr>
</tbody>
<tt>int</tt>.<br/>
</td>
</tr>
</table>
</div>

<!-- _______________________________________________________________________ -->
<div class="doc_subsubsection"> <a name="t_packed">Packed Type</a> </div>
<div class="doc_text">
Expand All @@ -578,10 +541,20 @@ <h5>Syntax:</h5>
<p>The number of elements is a constant integer value, elementtype may
be any integral or floating point type.</p>
<h5>Examples:</h5>
<p> <tt>&lt;4 x int&gt;</tt>: Packed vector of 4 integer values.<br>
<tt>&lt;8 x float&gt;</tt>: Packed vector of 8 floating-point values.<br>
<tt>&lt;2 x uint&gt;</tt>: Packed vector of 2 unsigned integer values.</p>
<p> </p>
<table class="layout">
<tr class="layout">
<td class="left">
<tt>&lt;4 x int&gt;</tt><br/>
<tt>&lt;8 x float&gt;</tt><br/>
<tt>&lt;2 x uint&gt;</tt><br/>
</td>
<td class="left">
Packed vector of 4 integer values.<br/>
Packed vector of 8 floating-point values.<br/>
Packed vector of 2 unsigned integer values.<br/>
</td>
</tr>
</table>
</div>

<!-- *********************************************************************** -->
Expand Down
Loading

0 comments on commit d3f876c

Please sign in to comment.