aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-11-30 21:43:43 +0000
committerBill Wendling <isanbard@gmail.com>2011-11-30 21:43:43 +0000
commitf6cc4c2d60b9d5e91df53d3e77511d72811505fe (patch)
tree16e75bdae6046e85e3e73b676890006468de19cb /docs
parenta97f02c40c95933df4b38a9ca7033836ded7ea18 (diff)
downloadexternal_llvm-f6cc4c2d60b9d5e91df53d3e77511d72811505fe.zip
external_llvm-f6cc4c2d60b9d5e91df53d3e77511d72811505fe.tar.gz
external_llvm-f6cc4c2d60b9d5e91df53d3e77511d72811505fe.tar.bz2
Minor cleanup. No content change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145521 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.html30
1 files changed, 23 insertions, 7 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index b133a53..960f673 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -2889,20 +2889,33 @@ call void asm sideeffect "something bad", ""()<b>, !srcloc !42</b>
preceding exclamation point ('<tt>!</tt>').</p>
<p>A metadata string is a string surrounded by double quotes. It can contain
- any character by escaping non-printable characters with "\xx" where "xx" is
- the two digit hex code. For example: "<tt>!"test\00"</tt>".</p>
+ any character by escaping non-printable characters with "<tt>\xx</tt>" where
+ "<tt>xx</tt>" is the two digit hex code. For example:
+ "<tt>!"test\00"</tt>".</p>
<p>Metadata nodes are represented with notation similar to structure constants
(a comma separated list of elements, surrounded by braces and preceded by an
- exclamation point). For example: "<tt>!{ metadata !"test\00", i32
- 10}</tt>". Metadata nodes can have any values as their operand.</p>
+ exclamation point). Metadata nodes can have any values as their operand. For
+ example:</p>
+
+<div class="doc_code">
+<pre>
+!{ metadata !"test\00", i32 10}
+</pre>
+</div>
<p>A <a href="#namedmetadatastructure">named metadata</a> is a collection of
metadata nodes, which can be looked up in the module symbol table. For
- example: "<tt>!foo = metadata !{!4, !3}</tt>".
+ example:</p>
+
+<div class="doc_code">
+<pre>
+!foo = metadata !{!4, !3}
+</pre>
+</div>
<p>Metadata can be used as function arguments. Here <tt>llvm.dbg.value</tt>
- function is using two metadata arguments.</p>
+ function is using two metadata arguments:</p>
<div class="doc_code">
<pre>
@@ -2911,7 +2924,8 @@ call void @llvm.dbg.value(metadata !24, i64 0, metadata !25)
</div>
<p>Metadata can be attached with an instruction. Here metadata <tt>!21</tt> is
- attached with <tt>add</tt> instruction using <tt>!dbg</tt> identifier.</p>
+ attached to the <tt>add</tt> instruction using the <tt>!dbg</tt>
+ identifier:</p>
<div class="doc_code">
<pre>
@@ -2922,6 +2936,7 @@ call void @llvm.dbg.value(metadata !24, i64 0, metadata !25)
<p>More information about specific metadata nodes recognized by the optimizers
and code generator is found below.</p>
+<!-- _______________________________________________________________________ -->
<h4>
<a name="tbaa">'<tt>tbaa</tt>' Metadata</a>
</h4>
@@ -2966,6 +2981,7 @@ call void @llvm.dbg.value(metadata !24, i64 0, metadata !25)
</div>
+<!-- _______________________________________________________________________ -->
<h4>
<a name="fpaccuracy">'<tt>fpaccuracy</tt>' Metadata</a>
</h4>