diff options
author | Chris Lattner <sabre@nondot.org> | 2004-09-18 06:28:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-09-18 06:28:07 +0000 |
commit | 7a2fd89ccad1b0d60171f5cafe04f64c711cce84 (patch) | |
tree | 5abb83595b6b2bc84e8b4a96cc00738897e78e2b | |
parent | 60ec2655bb883b1f0a988147929db00166398ac0 (diff) | |
download | external_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.html | 8 |
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<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 |