Fix more whitespace to be consistent with AsmPrinter.

llvm-svn: 104963
This commit is contained in:
Dan Gohman 2010-05-28 17:13:49 +00:00
parent 49590bf7cd
commit 5e04f2df0b
2 changed files with 26 additions and 26 deletions

View File

@ -503,15 +503,15 @@
<a href="#identifiers">@.LC0</a> = <a href="#linkage_internal">internal</a> <a href="#globalvars">constant</a> <a href="#t_array">[13 x i8]</a> c"hello world\0A\00" <i>; [13 x i8]*</i> <a href="#identifiers">@.LC0</a> = <a href="#linkage_internal">internal</a> <a href="#globalvars">constant</a> <a href="#t_array">[13 x i8]</a> c"hello world\0A\00" <i>; [13 x i8]*</i>
<i>; External declaration of the puts function</i> <i>; External declaration of the puts function</i>
<a href="#functionstructure">declare</a> i32 @puts(i8 *) <i>; i32(i8 *)* </i> <a href="#functionstructure">declare</a> i32 @puts(i8*) <i>; i32 (i8*)* </i>
<i>; Definition of main function</i> <i>; Definition of main function</i>
define i32 @main() { <i>; i32()* </i> define i32 @main() { <i>; i32()* </i>
<i>; Convert [13 x i8]* to i8 *...</i> <i>; Convert [13 x i8]* to i8 *...</i>
%cast210 = <a href="#i_getelementptr">getelementptr</a> [13 x i8]* @.LC0, i64 0, i64 0 <i>; i8 *</i> %cast210 = <a href="#i_getelementptr">getelementptr</a> [13 x i8]* @.LC0, i64 0, i64 0 <i>; i8*</i>
<i>; Call puts function to write out the string to stdout.</i> <i>; Call puts function to write out the string to stdout.</i>
<a href="#i_call">call</a> i32 @puts(i8 * %cast210) <i>; i32</i> <a href="#i_call">call</a> i32 @puts(i8* %cast210) <i>; i32</i>
<a href="#i_ret">ret</a> i32 0<br>} <a href="#i_ret">ret</a> i32 0<br>}
<i>; Named metadata</i> <i>; Named metadata</i>
@ -1900,7 +1900,7 @@ Classifications</a> </div>
href="#t_array">array</a> of four <tt>i32</tt> values.</td> href="#t_array">array</a> of four <tt>i32</tt> values.</td>
</tr> </tr>
<tr class="layout"> <tr class="layout">
<td class="left"><tt>i32 (i32 *) *</tt></td> <td class="left"><tt>i32 (i32*) *</tt></td>
<td class="left"> A <a href="#t_pointer">pointer</a> to a <a <td class="left"> A <a href="#t_pointer">pointer</a> to a <a
href="#t_function">function</a> that takes an <tt>i32*</tt>, returning an href="#t_function">function</a> that takes an <tt>i32*</tt>, returning an
<tt>i32</tt>.</td> <tt>i32</tt>.</td>
@ -5406,7 +5406,7 @@ Loop: ; Infinite loop that counts from 0 on up...
<h5>Example:</h5> <h5>Example:</h5>
<pre> <pre>
%retval = call i32 @test(i32 %argc) %retval = call i32 @test(i32 %argc)
call i32 (i8 *, ...)* @printf(i8 * %msg, i32 12, i8 42) <i>; yields i32</i> call i32 (i8*, ...)* @printf(i8* %msg, i32 12, i8 42) <i>; yields i32</i>
%X = tail call i32 @foo() <i>; yields i32</i> %X = tail call i32 @foo() <i>; yields i32</i>
%Y = tail call <a href="#callingconv">fastcc</a> i32 @foo() <i>; yields i32</i> %Y = tail call <a href="#callingconv">fastcc</a> i32 @foo() <i>; yields i32</i>
call void %foo(i8 97 signext) call void %foo(i8 97 signext)
@ -5839,7 +5839,7 @@ LLVM</a>.</p>
<h5>Syntax:</h5> <h5>Syntax:</h5>
<pre> <pre>
declare i8 *@llvm.frameaddress(i32 &lt;level&gt;) declare i8* @llvm.frameaddress(i32 &lt;level&gt;)
</pre> </pre>
<h5>Overview:</h5> <h5>Overview:</h5>
@ -5873,7 +5873,7 @@ LLVM</a>.</p>
<h5>Syntax:</h5> <h5>Syntax:</h5>
<pre> <pre>
declare i8 *@llvm.stacksave() declare i8* @llvm.stacksave()
</pre> </pre>
<h5>Overview:</h5> <h5>Overview:</h5>
@ -5903,7 +5903,7 @@ LLVM</a>.</p>
<h5>Syntax:</h5> <h5>Syntax:</h5>
<pre> <pre>
declare void @llvm.stackrestore(i8 * %ptr) declare void @llvm.stackrestore(i8* %ptr)
</pre> </pre>
<h5>Overview:</h5> <h5>Overview:</h5>
@ -6037,9 +6037,9 @@ LLVM</a>.</p>
all bit widths however.</p> all bit widths however.</p>
<pre> <pre>
declare void @llvm.memcpy.p0i8.p0i8.i32(i8 * &lt;dest&gt;, i8 * &lt;src&gt;, declare void @llvm.memcpy.p0i8.p0i8.i32(i8* &lt;dest&gt;, i8* &lt;src&gt;,
i32 &lt;len&gt;, i32 &lt;align&gt;, i1 &lt;isvolatile&gt;) i32 &lt;len&gt;, i32 &lt;align&gt;, i1 &lt;isvolatile&gt;)
declare void @llvm.memcpy.p0i8.p0i8.i64(i8 * &lt;dest&gt;, i8 * &lt;src&gt;, declare void @llvm.memcpy.p0i8.p0i8.i64(i8* &lt;dest&gt;, i8* &lt;src&gt;,
i64 &lt;len&gt;, i32 &lt;align&gt;, i1 &lt;isvolatile&gt;) i64 &lt;len&gt;, i32 &lt;align&gt;, i1 &lt;isvolatile&gt;)
</pre> </pre>
@ -6091,9 +6091,9 @@ LLVM</a>.</p>
widths however.</p> widths however.</p>
<pre> <pre>
declare void @llvm.memmove.p0i8.p0i8.i32(i8 * &lt;dest&gt;, i8 * &lt;src&gt;, declare void @llvm.memmove.p0i8.p0i8.i32(i8* &lt;dest&gt;, i8* &lt;src&gt;,
i32 &lt;len&gt;, i32 &lt;align&gt;, i1 &lt;isvolatile&gt;) i32 &lt;len&gt;, i32 &lt;align&gt;, i1 &lt;isvolatile&gt;)
declare void @llvm.memmove.p0i8.p0i8.i64(i8 * &lt;dest&gt;, i8 * &lt;src&gt;, declare void @llvm.memmove.p0i8.p0i8.i64(i8* &lt;dest&gt;, i8* &lt;src&gt;,
i64 &lt;len&gt;, i32 &lt;align&gt;, i1 &lt;isvolatile&gt;) i64 &lt;len&gt;, i32 &lt;align&gt;, i1 &lt;isvolatile&gt;)
</pre> </pre>
@ -6147,9 +6147,9 @@ LLVM</a>.</p>
widths however.</p> widths however.</p>
<pre> <pre>
declare void @llvm.memset.p0i8.i32(i8 * &lt;dest&gt;, i8 &lt;val&gt;, declare void @llvm.memset.p0i8.i32(i8* &lt;dest&gt;, i8 &lt;val&gt;,
i32 &lt;len&gt;, i32 &lt;align&gt;, i1 &lt;isvolatile&gt;) i32 &lt;len&gt;, i32 &lt;align&gt;, i1 &lt;isvolatile&gt;)
declare void @llvm.memset.p0i8.i64(i8 * &lt;dest&gt;, i8 &lt;val&gt;, declare void @llvm.memset.p0i8.i64(i8* &lt;dest&gt;, i8 &lt;val&gt;,
i64 &lt;len&gt;, i32 &lt;align&gt;, i1 &lt;isvolatile&gt;) i64 &lt;len&gt;, i32 &lt;align&gt;, i1 &lt;isvolatile&gt;)
</pre> </pre>

View File

@ -401,7 +401,7 @@ height="369">
metadata, ;; Reference to type descriptor metadata, ;; Reference to type descriptor
i1, ;; True if the global is local to compile unit (static) i1, ;; True if the global is local to compile unit (static)
i1, ;; True if the global is defined in the compile unit (not extern) i1, ;; True if the global is defined in the compile unit (not extern)
{ }* ;; Reference to the global variable {}* ;; Reference to the global variable
} }
</pre> </pre>
</div> </div>
@ -782,11 +782,11 @@ DW_TAG_return_variable = 258
<div class="doc_text"> <div class="doc_text">
<pre> <pre>
void %<a href="#format_common_declare">llvm.dbg.declare</a>({ }*, metadata) void %<a href="#format_common_declare">llvm.dbg.declare</a>({}*, metadata)
</pre> </pre>
<p>This intrinsic provides information about a local element (ex. variable.) The <p>This intrinsic provides information about a local element (ex. variable.) The
first argument is the alloca for the variable, cast to a <tt>{ }*</tt>. The first argument is the alloca for the variable, cast to a <tt>{}*</tt>. The
second argument is second argument is
the <tt>%<a href="#format_variables">llvm.dbg.variable</a></tt> containing the <tt>%<a href="#format_variables">llvm.dbg.variable</a></tt> containing
the description of the variable. </p> the description of the variable. </p>
@ -854,14 +854,14 @@ entry:
%X = alloca i32, align 4 ; &lt;i32*&gt; [#uses=4] %X = alloca i32, align 4 ; &lt;i32*&gt; [#uses=4]
%Y = alloca i32, align 4 ; &lt;i32*&gt; [#uses=4] %Y = alloca i32, align 4 ; &lt;i32*&gt; [#uses=4]
%Z = alloca i32, align 4 ; &lt;i32*&gt; [#uses=3] %Z = alloca i32, align 4 ; &lt;i32*&gt; [#uses=3]
%0 = bitcast i32* %X to { }* ; &lt;{ }*&gt; [#uses=1] %0 = bitcast i32* %X to {}* ; &lt;{}*&gt; [#uses=1]
call void @llvm.dbg.declare({ }* %0, metadata !0), !dbg !7 call void @llvm.dbg.declare({}* %0, metadata !0), !dbg !7
store i32 21, i32* %X, !dbg !8 store i32 21, i32* %X, !dbg !8
%1 = bitcast i32* %Y to { }* ; &lt;{ }*&gt; [#uses=1] %1 = bitcast i32* %Y to {}* ; &lt;{}*&gt; [#uses=1]
call void @llvm.dbg.declare({ }* %1, metadata !9), !dbg !10 call void @llvm.dbg.declare({}* %1, metadata !9), !dbg !10
store i32 22, i32* %Y, !dbg !11 store i32 22, i32* %Y, !dbg !11
%2 = bitcast i32* %Z to { }* ; &lt;{ }*&gt; [#uses=1] %2 = bitcast i32* %Z to {}* ; &lt;{}*&gt; [#uses=1]
call void @llvm.dbg.declare({ }* %2, metadata !12), !dbg !14 call void @llvm.dbg.declare({}* %2, metadata !12), !dbg !14
store i32 23, i32* %Z, !dbg !15 store i32 23, i32* %Z, !dbg !15
%tmp = load i32* %X, !dbg !16 ; &lt;i32&gt; [#uses=1] %tmp = load i32* %X, !dbg !16 ; &lt;i32&gt; [#uses=1]
%tmp1 = load i32* %Y, !dbg !16 ; &lt;i32&gt; [#uses=1] %tmp1 = load i32* %Y, !dbg !16 ; &lt;i32&gt; [#uses=1]
@ -872,7 +872,7 @@ entry:
ret void, !dbg !18 ret void, !dbg !18
} }
declare void @llvm.dbg.declare({ }*, metadata) nounwind readnone declare void @llvm.dbg.declare({}*, metadata) nounwind readnone
!0 = metadata !{i32 459008, metadata !1, metadata !"X", !0 = metadata !{i32 459008, metadata !1, metadata !"X",
metadata !3, i32 2, metadata !6}; [ DW_TAG_auto_variable ] metadata !3, i32 2, metadata !6}; [ DW_TAG_auto_variable ]
@ -914,7 +914,7 @@ declare void @llvm.dbg.declare({ }*, metadata) nounwind readnone
<div class="doc_code"> <div class="doc_code">
<pre> <pre>
call void @llvm.dbg.declare({ }* %0, metadata !0), !dbg !7 call void @llvm.dbg.declare({}* %0, metadata !0), !dbg !7
</pre> </pre>
</div> </div>
@ -949,7 +949,7 @@ call void @llvm.dbg.declare({ }* %0, metadata !0), !dbg !7
<div class="doc_code"> <div class="doc_code">
<pre> <pre>
call void @llvm.dbg.declare({ }* %2, metadata !12), !dbg !14 call void @llvm.dbg.declare({}* %2, metadata !12), !dbg !14
</pre> </pre>
</div> </div>