Make Record Name an Init
authorDavid Greene <greened@obbligato.org>
Wed, 10 Aug 2011 18:27:46 +0000 (18:27 +0000)
committerDavid Greene <greened@obbligato.org>
Wed, 10 Aug 2011 18:27:46 +0000 (18:27 +0000)
commit0d886401b3ec09b0c2d267942b07702a2f0740f4
treecfd3dca0884b735b192328cd3289acf94a9d906e
parent0b18d59435a7c01a433ac69845e6d8e1ad66ce8b
Make Record Name an Init

Use an Init (ultimately a StringInit) to represent the Record name.
This allows the name to be composed by standard TableGen operators.
This will enable us to get rid of the ugly #NAME# hack processing and
naturally replace it with operators.  It also increases flexibility
and power of the TableGen language by allowing record identifiers to
be computed dynamically.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137232 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/Record.cpp
utils/TableGen/Record.h
utils/TableGen/TGParser.cpp