mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
Fixed some formatting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37338 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
174d57880f
commit
aac388b363
@ -734,9 +734,9 @@ a power of 2.</p>
|
|||||||
<h5>Syntax:</h5>
|
<h5>Syntax:</h5>
|
||||||
|
|
||||||
<div class="doc_code">
|
<div class="doc_code">
|
||||||
<pre>
|
<pre>
|
||||||
@<Name> = [Linkage] [Visibility] alias <AliaseeTy> @<Aliasee>
|
@<Name> = [Linkage] [Visibility] alias <AliaseeTy> @<Aliasee>
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -1961,7 +1961,8 @@ Both arguments must have identical types.</p>
|
|||||||
<p>The value produced is the integer or floating point difference of
|
<p>The value produced is the integer or floating point difference of
|
||||||
the two operands.</p>
|
the two operands.</p>
|
||||||
<h5>Example:</h5>
|
<h5>Example:</h5>
|
||||||
<pre> <result> = sub i32 4, %var <i>; yields {i32}:result = 4 - %var</i>
|
<pre>
|
||||||
|
<result> = sub i32 4, %var <i>; yields {i32}:result = 4 - %var</i>
|
||||||
<result> = sub i32 0, %val <i>; yields {i32}:result = -%var</i>
|
<result> = sub i32 0, %val <i>; yields {i32}:result = -%var</i>
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
@ -2607,11 +2608,11 @@ a pointer is returned.</p>
|
|||||||
<pre>
|
<pre>
|
||||||
%array = malloc [4 x i8 ] <i>; yields {[%4 x i8]*}:array</i>
|
%array = malloc [4 x i8 ] <i>; yields {[%4 x i8]*}:array</i>
|
||||||
|
|
||||||
%size = <a href="#i_add">add</a> i32 2, 2 <i>; yields {i32}:size = i32 4</i>
|
%size = <a href="#i_add">add</a> i32 2, 2 <i>; yields {i32}:size = i32 4</i>
|
||||||
%array1 = malloc i8, i32 4 <i>; yields {i8*}:array1</i>
|
%array1 = malloc i8, i32 4 <i>; yields {i8*}:array1</i>
|
||||||
%array2 = malloc [12 x i8], i32 %size <i>; yields {[12 x i8]*}:array2</i>
|
%array2 = malloc [12 x i8], i32 %size <i>; yields {[12 x i8]*}:array2</i>
|
||||||
%array3 = malloc i32, i32 4, align 1024 <i>; yields {i32*}:array3</i>
|
%array3 = malloc i32, i32 4, align 1024 <i>; yields {i32*}:array3</i>
|
||||||
%array4 = malloc i32, align 1024 <i>; yields {i32*}:array4</i>
|
%array4 = malloc i32, align 1024 <i>; yields {i32*}:array4</i>
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user