llvm-project/llvm/lib/TableGen
David Greene 8e85b480d5 Implement Paste
Add a paste operator '#' to take two identifier-like strings and joint
them.  Internally paste gets represented as a !strconcat() with any
necessary casts to string added.

This will be used to implement basic for loop functionality as in:

for i = [0, 1, 2, 3, 4, 5, 6, 7] {
  def R#i : Register<...>
}

llvm-svn: 142525
2011-10-19 13:04:43 +00:00
..
CMakeLists.txt Revert r141079: tblgen: add preprocessor as a separate mode 2011-10-08 12:39:26 +00:00
Error.cpp Make SMDiagnostic a little more sane. Instead of passing around note/warning/error as a 2011-10-16 05:43:57 +00:00
Main.cpp Revert r141079: tblgen: add preprocessor as a separate mode 2011-10-08 12:39:26 +00:00
Makefile
Record.cpp Add NAME Member 2011-10-19 13:04:13 +00:00
TGLexer.cpp Implement Paste 2011-10-19 13:04:43 +00:00
TGLexer.h Implement Paste 2011-10-19 13:04:43 +00:00
TGParser.cpp Implement Paste 2011-10-19 13:04:43 +00:00
TGParser.h Process Defm Prefix as Init 2011-10-19 13:04:31 +00:00
TableGenBackend.cpp