llvm/test/TableGen
Chandler Carruth 4177e6fff5 Convert all tests using TCL-style quoting to use shell-style quoting.
This was done through the aid of a terrible Perl creation. I will not
paste any of the horrors here. Suffice to say, it require multiple
staged rounds of replacements, state carried between, and a few
nested-construct-parsing hacks that I'm not proud of. It happens, by
luck, to be able to deal with all the TCL-quoting patterns in evidence
in the LLVM test suite.

If anyone is maintaining large out-of-tree test trees, feel free to poke
me and I'll send you the steps I used to convert things, as well as
answer any painful questions etc. IRC works best for this type of thing
I find.

Once converted, switch the LLVM lit config to use ShTests the same as
Clang. In addition to being able to delete large amounts of Python code
from 'lit', this will also simplify the entire test suite and some of
lit's architecture.

Finally, the test suite runs 33% faster on Linux now. ;]
For my 16-hardware-thread (2x 4-core xeon e5520): 36s -> 24s

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159525 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-02 12:47:22 +00:00
..
2003-08-03-PassCode.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
2006-09-18-LargeInt.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
2010-03-24-PrematureDefaults.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
AnonDefinitionOnDemand.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
BitsInitOverflow.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
cast.td Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
CStyleComment.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
Dag.td Add NAME Member 2011-10-19 13:04:13 +00:00
defmclass.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
DefmInherit.td Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
DefmInsideMultiClass.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
eq.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
eqbit.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
FieldAccess.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
foreach.td Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
ForeachList.td Add Foreach Loop 2012-02-22 16:09:41 +00:00
ForeachLoop.td Add support for range expressions in TableGen foreach loops. 2012-05-24 22:17:39 +00:00
ForwardRef.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
GeneralList.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
if.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
ifbit.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
Include.inc Add test of file inclusion capability for bugpoint 2003-07-30 20:55:37 +00:00
Include.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
IntBitInit.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
LazyChange.td Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
LetInsideMultiClasses.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
lisp.td Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
ListArgs.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
ListArgsSimple.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
ListConversion.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
ListManip.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
ListOfList.td Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
ListSlices.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
lit.local.cfg Replace all instances of dg.exp file with lit.local.cfg, since all tests are run with LIT now and now Dejagnu. dg.exp is no longer needed. 2012-02-16 06:28:33 +00:00
LoLoL.td XFAIL tblgen tests on leak checkers. 2011-10-10 13:09:59 +00:00
MultiClass.td Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
MultiClassDefName.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
MultiClassInherit.td Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
MultiPat.td XFAIL tblgen tests on leak checkers. 2011-10-10 13:09:59 +00:00
nested-comment.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
NestedForeach.td Add Foreach Loop 2012-02-22 16:09:41 +00:00
Paste.td XFAIL test on leak checkers. 2011-10-24 17:24:05 +00:00
SetTheory.td Teach tblgen's set theory "sequence" operator to support an optional stride operand. 2012-05-24 21:37:08 +00:00
SiblingForeach.td Add Foreach Loop 2012-02-22 16:09:41 +00:00
Slice.td Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
strconcat.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
String.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
subst2.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
subst.td Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
SuperSubclassSameName.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
TargetInstrInfo.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
TargetInstrSpec.td Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
TemplateArgRename.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
Tree.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
TreeNames.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
TwoLevelName.td Fix infinite loop in nested multiclasses. 2012-03-07 16:39:35 +00:00
UnsetBitInit.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
UnterminatedComment.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00
usevalname.td s/tblgen/llvm-tblgen/g in a few missed places, including the tests 2011-10-06 13:39:59 +00:00