llvm/lib
Che-Liang Chiou f987425657 tblgen: add preprocessor as a separate mode
This patch adds a preprocessor that can expand nested for-loops for
saving some copy-n-paste in *.td files.

The preprocessor is not yet integrated with TGParser, and so it has
no direct effect on *.td inputs.  However, you may preprocess an td
input (and only preprocess it).

To test the proprecessor, type:
  tblgen -E -o $@ $<



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141079 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-04 15:14:51 +00:00
..
Analysis The product of two chrec's can always be represented as a chrec. 2011-10-04 06:51:26 +00:00
Archive Rewrite the CMake build to use explicit dependencies between libraries, 2011-07-29 00:14:25 +00:00
AsmParser Remove last references to hotpatch. 2011-10-04 03:08:43 +00:00
Bitcode Fix a typo in the bitcode reader in the handling of atomic stores. Reported by David Meyer on llvmdev. 2011-09-19 19:41:28 +00:00
CodeGen Generic cleanup. 2011-10-04 00:16:40 +00:00
DebugInfo DWARF: avoid unnecessary map lookups. 2011-09-21 17:31:42 +00:00
ExecutionEngine MCJIT initialization TargetData 2011-09-30 16:40:10 +00:00
Linker lib/Linker: add support of deps which does not end with ".so". 2011-09-20 22:52:35 +00:00
MC Add definition of MipsELFObjectWriter. 2011-09-30 21:55:40 +00:00
Object Object: Add isSection{Data,BSS}. 2011-09-28 20:57:30 +00:00
Support Fix typo in comments. 2011-10-03 21:30:08 +00:00
TableGen tblgen: add preprocessor as a separate mode 2011-10-04 15:14:51 +00:00
Target Set operation actions to legal types only. 2011-10-04 12:05:35 +00:00
Transforms LSR should avoid redundant edge splitting. 2011-10-04 03:50:44 +00:00
VMCore Add C api for Instruction->eraseFromParent(). 2011-10-03 20:59:18 +00:00
CMakeLists.txt Move TableGen's parser and entry point into a library 2011-10-01 16:41:13 +00:00
Makefile Remove more of llvmc and dependencies. 2011-09-20 00:34:27 +00:00