summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2011-10-19 13:04:56 +0000
committerDavid Greene <greened@obbligato.org>2011-10-19 13:04:56 +0000
commitdc5287c7388d0d57b139eafe7cf451bca9e47718 (patch)
tree3a843580030bb1f09407df0d9ea66071fc428ab1
parent3ce88b92ba80048e91dfef86dfaa6198d4e75c1c (diff)
downloadllvm-dc5287c7388d0d57b139eafe7cf451bca9e47718.tar.gz
llvm-dc5287c7388d0d57b139eafe7cf451bca9e47718.tar.bz2
llvm-dc5287c7388d0d57b139eafe7cf451bca9e47718.tar.xz
Document NAME
Document NAME as a special member of def records that should not be defined anywhere else. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142527 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/TableGenFundamentals.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html
index e8fca32513..f7f3d97ffe 100644
--- a/docs/TableGenFundamentals.html
+++ b/docs/TableGenFundamentals.html
@@ -207,6 +207,14 @@ file, to factor out the common features that instructions of its class share. A
key feature of TableGen is that it allows the end-user to define the
abstractions they prefer to use when describing their information.</p>
+<p>Each def record has a special entry called "NAME." This is the
+name of the def ("ADD32rr" above). In the general case def names can
+be formed from various kinds of string processing expressions and NAME
+resolves to the final value obtained after resolving all of those
+expressions. The user may refer to NAME anywhere she desires to use
+the ultimate name of the def. NAME should not be defined anywhere
+else in user code to avoid conflict problems.</p>
+
</div>
<!-- ======================================================================= -->