llvm-6502/lib/TableGen
David Greene 6da674cda1 Parser Multidef Support
Add parser support to recognize multidefs.  No processing on the
multidef is done at this point.  The grammar is:

MultiDef = MULTIDEF ObjectName < Value, Declaration, Value > ObjectBody

The first Value must be resolveable to a list and the second Value
must be resolveable to an integer.  The Declaration is a temporary
value used as an iterator to refer to list items during processing.
It may be passed into the ObjectBody where it will be substituted with
the list value used to instantiate each def.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141232 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-05 22:42:44 +00:00
..
CMakeLists.txt
Error.cpp
Main.cpp
Makefile
Record.cpp Allow Operator Arguments 2011-10-04 18:55:36 +00:00
TableGenBackend.cpp
TGLexer.cpp Lexer Support for Multidefs 2011-10-05 22:42:35 +00:00
TGLexer.h Lexer Support for Multidefs 2011-10-05 22:42:35 +00:00
TGParser.cpp Parser Multidef Support 2011-10-05 22:42:44 +00:00
TGParser.h Parser Multidef Support 2011-10-05 22:42:44 +00:00
TGPreprocessor.cpp Replace snprintf with raw_string_ostream. 2011-10-04 21:08:56 +00:00
TGPreprocessor.h Fix compilation when using gcc-4.6. Patch by wanders. 2011-10-05 14:36:12 +00:00