aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-09-18 06:28:07 +0000
committerChris Lattner <sabre@nondot.org>2004-09-18 06:28:07 +0000
commit7a2fd89ccad1b0d60171f5cafe04f64c711cce84 (patch)
tree5abb83595b6b2bc84e8b4a96cc00738897e78e2b
parent60ec2655bb883b1f0a988147929db00166398ac0 (diff)
downloadexternal_llvm-7a2fd89ccad1b0d60171f5cafe04f64c711cce84.zip
external_llvm-7a2fd89ccad1b0d60171f5cafe04f64c711cce84.tar.gz
external_llvm-7a2fd89ccad1b0d60171f5cafe04f64c711cce84.tar.bz2
Make this HTML 4.01 strict
Update to reflect changes to the 'Register' tblgen class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16392 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/WritingAnLLVMBackend.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/WritingAnLLVMBackend.html b/docs/WritingAnLLVMBackend.html
index 1fb88a3..1a7bc7c 100644
--- a/docs/WritingAnLLVMBackend.html
+++ b/docs/WritingAnLLVMBackend.html
@@ -16,7 +16,7 @@
<li><a href="#intro">Introduction</a>
<li><a href="#backends">Writing a backend</a>
<ol>
- <li><a href="#machine">Machine backends</a></li>
+ <li><a href="#machine">Machine backends</a>
<ol>
<li><a href="#machineTOC">Outline</a></li>
<li><a href="#machineDetails">Implementation details</a></li>
@@ -148,15 +148,15 @@ architected registers.</p>
<div class="doc_code">
<pre>
// class Register is defined in Target.td
-<b>class</b> <em>Target</em>Reg : Register {
+<b>class</b> <em>Target</em>Reg&lt;string name&gt; : Register&lt;name&gt; {
<b>let</b> Namespace = "<em>Target</em>";
}
-<b>class</b> IntReg&lt;<b>bits</b>&lt;5&gt; num&gt; : <em>Target</em>Reg {
+<b>class</b> IntReg&lt;<b>bits</b>&lt;5&gt; num, string name&gt; : <em>Target</em>Reg&lt;name&gt; {
<b>field</b> <b>bits</b>&lt;5&gt; Num = num;
}
-<b>def</b> R0 : IntReg&lt;0&gt;;
+<b>def</b> R0 : IntReg&lt;0, "%R0"&gt;;
...
// class RegisterClass is defined in Target.td