llvm-6502/lib/TableGen
Hal Finkel 2370e55a53 [TableGen] Use the same anonymous name as the prefix on all multiclass defs
TableGen had been generating a different name for an anonymous multiclass's
NAME for every def in the multiclass. This had an unfortunate side effect: it
was impossible to reference one def within the multiclass from another (in the
parameter list, for example). By making sure we only generate an anonymous name
once per multiclass (which, as it turns out, requires only changing the name
parameter to reference type), we can now concatenate NAME within the multiclass
with a def name in order to generate a reference to that def.

This does not matter so much, in and of itself, but is necessary for a
follow-up commit that will fix variable capturing in implicit anonymous
multiclass defs (and that is important).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198340 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-02 19:35:33 +00:00
..
CMakeLists.txt
Error.cpp
LLVMBuild.txt
Main.cpp
Makefile
Record.cpp Fix most memory leaks in tablegen. 2013-10-31 04:07:41 +00:00
StringMatcher.cpp
TableGenBackend.cpp
TGLexer.cpp
TGLexer.h
TGParser.cpp [TableGen] Use the same anonymous name as the prefix on all multiclass defs 2014-01-02 19:35:33 +00:00
TGParser.h [TableGen] Use the same anonymous name as the prefix on all multiclass defs 2014-01-02 19:35:33 +00:00