Document NAME

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

llvm-svn: 142527
This commit is contained in:
David Greene 2011-10-19 13:04:56 +00:00
parent 13c8360c26
commit e7c3ea9704
1 changed files with 8 additions and 0 deletions

View File

@ -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>
<!-- ======================================================================= -->