[llvm-commits] CVS: llvm/docs/WritingAnLLVMBackend.html
Chris Lattner
lattner at cs.uiuc.edu
Fri Sep 17 23:28:19 PDT 2004
Changes in directory llvm/docs:
WritingAnLLVMBackend.html updated: 1.1 -> 1.2
---
Log message:
Make this HTML 4.01 strict
Update to reflect changes to the 'Register' tblgen class.
---
Diffs of the changes: (+5 -5)
Index: llvm/docs/WritingAnLLVMBackend.html
diff -u llvm/docs/WritingAnLLVMBackend.html:1.1 llvm/docs/WritingAnLLVMBackend.html:1.2
--- llvm/docs/WritingAnLLVMBackend.html:1.1 Mon Sep 6 17:58:13 2004
+++ llvm/docs/WritingAnLLVMBackend.html Sat Sep 18 01:28:07 2004
@@ -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 @@
<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<string name> : Register<name> {
<b>let</b> Namespace = "<em>Target</em>";
}
-<b>class</b> IntReg<<b>bits</b><5> num> : <em>Target</em>Reg {
+<b>class</b> IntReg<<b>bits</b><5> num, string name> : <em>Target</em>Reg<name> {
<b>field</b> <b>bits</b><5> Num = num;
}
-<b>def</b> R0 : IntReg<0>;
+<b>def</b> R0 : IntReg<0, "%R0">;
...
// class RegisterClass is defined in Target.td
@@ -238,7 +238,7 @@
<a href="http://misha.brukman.net">Misha Brukman</a><br>
<a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a>
<br>
- Last modified: $Date: 2004/09/06 22:58:13 $
+ Last modified: $Date: 2004/09/18 06:28:07 $
</address>
</body>
More information about the llvm-commits
mailing list