[llvm-commits] [llvm] r142527 - /llvm/trunk/docs/TableGenFundamentals.html

David Greene greened at obbligato.org
Wed Oct 19 06:04:56 PDT 2011


Author: greened
Date: Wed Oct 19 08:04:56 2011
New Revision: 142527

URL: http://llvm.org/viewvc/llvm-project?rev=142527&view=rev
Log:
Document NAME

Document NAME as a special member of def records that should
not be defined anywhere else.

Modified:
    llvm/trunk/docs/TableGenFundamentals.html

Modified: llvm/trunk/docs/TableGenFundamentals.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/TableGenFundamentals.html?rev=142527&r1=142526&r2=142527&view=diff
==============================================================================
--- llvm/trunk/docs/TableGenFundamentals.html (original)
+++ llvm/trunk/docs/TableGenFundamentals.html Wed Oct 19 08:04:56 2011
@@ -207,6 +207,14 @@
 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>
 
 <!-- ======================================================================= -->





More information about the llvm-commits mailing list