Implement multiclass inheritance.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69810 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Greene
2009-04-22 16:42:54 +00:00
parent 20900cae35
commit de444af6bb
4 changed files with 211 additions and 5 deletions
+4 -2
View File
@@ -104,8 +104,10 @@ definition, so the backend can find all definitions of a particular class, such
as "Instruction".</p>
<p><b>TableGen multiclasses</b> are groups of abstract records that are
instantiated all at once. Each instantiation can result in multiple TableGen
definitions.</p>
instantiated all at once. Each instantiation can result in multiple
TableGen definitions. If a multiclass inherits from another multiclass,
the definitions in the sub-multiclass become part of the current
multiclass, as if they were declared in the current multiclass.</p>
</div>