summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-10-30 21:07:28 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-10-30 21:07:28 +0000
commit943beeb7476b521eebbfc29400cf95125ec5f660 (patch)
tree3f483fb14b3bb42dcbc5c7aa8ec3ddc1a9325b2e /docs
parent50e5972dc66c523b0b94497a375558bd9ed777cd (diff)
downloadllvm-943beeb7476b521eebbfc29400cf95125ec5f660.tar.gz
llvm-943beeb7476b521eebbfc29400cf95125ec5f660.tar.bz2
llvm-943beeb7476b521eebbfc29400cf95125ec5f660.tar.xz
Validate HTML.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/CodeGenerator.html26
-rw-r--r--docs/TableGenFundamentals.html16
2 files changed, 20 insertions, 22 deletions
diff --git a/docs/CodeGenerator.html b/docs/CodeGenerator.html
index c574976881..f83d7b0e31 100644
--- a/docs/CodeGenerator.html
+++ b/docs/CodeGenerator.html
@@ -5,6 +5,17 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>The LLVM Target-Independent Code Generator</title>
<link rel="stylesheet" href="llvm.css" type="text/css">
+
+ <style type="text/css">
+ .unknown { background-color: #C0C0C0; text-align: center; }
+ .unknown:before { content: "?" }
+ .no { background-color: #C11B17 }
+ .no:before { content: "N" }
+ .partial { background-color: #F88017 }
+ .yes { background-color: #0F0; }
+ .yes:before { content: "Y" }
+ </style>
+
</head>
<body>
@@ -872,7 +883,7 @@ directive in a .s file).
<!-- ======================================================================= -->
<div class="doc_subsection">
- <a name="mcinst">The <tt>MCInst</tt> class</a></li>
+ <a name="mcinst">The <tt>MCInst</tt> class</a>
</div>
<div class="doc_text">
@@ -1974,17 +1985,6 @@ on the current instruction set.</p>
<a name="targetfeatures">Target Feature Matrix</a>
</div>
-<style type="text/css">
- .unknown { background-color: #C0C0C0; text-align: center; }
- .unknown:before { content: "?" }
- .no { background-color: #C11B17 }
- .no:before { content: "N" }
- .partial { background-color: #F88017 }
- .yes { background-color: #00FF00; }
- .yes:before { content: "Y" }
-</style>
-
-
<div class="doc_text">
<p>Note that this table does not include the C backend or Cpp backends, since
@@ -2015,7 +2015,7 @@ is the key:</p>
<table width="689" border="1" cellspacing="0">
<tr><td></td>
-<td colspan="13" align="center" bgcolor="#ffffcc">Target</td>
+<td colspan="13" align="center" style="background-color:#ffc">Target</td>
</tr>
<tr>
<th>Feature</th>
diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html
index 412dc74c1a..2f0c4ae6ec 100644
--- a/docs/TableGenFundamentals.html
+++ b/docs/TableGenFundamentals.html
@@ -423,7 +423,7 @@ class. This operation is analogous to $(foreach) in GNU make.</dd>
'c' otherwise.</dd>
<dt><tt>!eq(a,b)</tt></dt>
<dd>Integer one if string a is equal to string b, zero otherwise. This
- only operates on string, int and bit objects. Use !cast<string> to
+ only operates on string, int and bit objects. Use !cast&lt;string&gt; to
compare other types of objects.</dd>
</dl>
@@ -813,8 +813,7 @@ end-user to factor out commonality from the records.</p>
apply, and one or more records to bind the values in. Here are some
examples:</p>
-<div class="doc_code">
-<pre>
+<pre class="doc_code">
<b>let</b> isTerminator = 1, isReturn = 1, isBarrier = 1, hasCtrlDep = 1 <b>in</b>
<b>def</b> RET : I&lt;0xC3, RawFrm, (outs), (ins), "ret", [(X86retflag 0)]&gt;;
@@ -831,7 +830,6 @@ examples:</p>
"call\t{*}$dst", []&gt;;
}
</pre>
-</div>
<p>File-scope "let" expressions are often useful when a couple of definitions
need to be added to several records, and the records do not otherwise need to be
@@ -842,8 +840,7 @@ more ways to factor out commonality from the records, specially if using
several levels of multiclass instanciations. This also avoids the need of using
"let" expressions within subsequent records inside a multiclass.</p>
-<div class="doc_code">
-<pre>
+<pre class="doc_code">
<b>multiclass </b>basic_r&lt;bits&lt;4&gt; opc&gt; {
<b>let </b>Predicates = [HasSSE2] in {
<b>def </b>rr : Instruction&lt;opc, "rr"&gt;;
@@ -869,16 +866,17 @@ several levels of multiclass instanciations. This also avoids the need of using
<div class="doc_section"><a name="codegen">Code Generator backend info</a></div>
<!-- *********************************************************************** -->
+<div class="doc_text">
+
<p>Expressions used by code generator to describe instructions and isel
patterns:</p>
-<div class="doc_text">
-
+<dl>
<dt><tt>(implicit a)</tt></dt>
<dd>an implicitly defined physical register. This tells the dag instruction
selection emitter the input pattern's extra definitions matches implicit
physical register definitions.</dd>
-
+</dl>
</div>
<!-- *********************************************************************** -->