aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2007-04-28 13:45:00 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2007-04-28 13:45:00 +0000
commita80e1181b78183dc36ec6568559d38faa86981f0 (patch)
tree88ca9bd2f28f363e50add28297f6220ac8e09fc1 /docs
parent44b2c5098f5cf766b4eff43d9eb0d8a9a143e7d8 (diff)
Implement review feedback. Aliasees can be either GlobalValue's or
bitcasts of them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36537 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/BytecodeFormat.html14
-rw-r--r--docs/LangRef.html3
2 files changed, 9 insertions, 8 deletions
diff --git a/docs/BytecodeFormat.html b/docs/BytecodeFormat.html
index 396bf2f124..f479ca57b5 100644
--- a/docs/BytecodeFormat.html
+++ b/docs/BytecodeFormat.html
@@ -1212,14 +1212,18 @@ the first <a href="#uint32_vbr">uint32_vbr</a> which describes alias itself.</p>
linkage, 2 - Weak linkage.</td>
</tr>
<tr>
- <td><a href="#bit">bit(2-31)</a></td>
+ <td><a href="#bit">bit(2)</a></td>
+ <td class="td_left">0 - Aliasee is global value. 1 - Aliasee is constant
+ expression (bitcast of global value)</td>
+ </tr>
+ <tr>
+ <td><a href="#bit">bit(3-31)</a></td>
<td class="td_left">Type slot number of type for the alias itself.</td>
</tr>
</tbody>
</table>
- <p>The next two <a href="#uint32_vbr">uint32_vbr's</a> describes the
- aliasee. </p>
+ <p>The next <a href="#uint32_vbr">uint32_vbr</a> describes the aliasee. </p>
<table>
<tbody>
@@ -1229,10 +1233,6 @@ the first <a href="#uint32_vbr">uint32_vbr</a> which describes alias itself.</p>
</tr>
<tr>
<td><a href="#uint32_vbr">uint32_vbr</a></td>
- <td class="td_left">Type slot number of type for the aliasee.</td>
- </tr>
- <tr>
- <td><a href="#uint32_vbr">uint32_vbr</a></td>
<td class="td_left">Slot number of the aliasee.</td>
</tr>
</tbody>
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 807d1047f6..54b01eae87 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -24,6 +24,7 @@
<li><a href="#callingconv">Calling Conventions</a></li>
<li><a href="#globalvars">Global Variables</a></li>
<li><a href="#functionstructure">Functions</a></li>
+ <li><a href="aliasstructure">Aliases</a>
<li><a href="#paramattrs">Parameter Attributes</a></li>
<li><a href="#moduleasm">Module-Level Inline Assembly</a></li>
<li><a href="#datalayout">Data Layout</a></li>
@@ -705,7 +706,7 @@ a power of 2.</p>
</div>
<div class="doc_text">
<p>Aliases act as "second name" for the aliasee value (which can be either
- function or global variable). Aliases may have an
+ function or global variable or bitcast of global value). Aliases may have an
optional <a href="#linkage">linkage type</a>, and an
optional <a href="#visibility">visibility style</a>.</p>