llvm/test/TableGen
Jakob Stoklund Olesen 4717fd4c0f Allow TableGen DAG arguments to be just a name.
DAG arguments can optionally be named:

  (dag node, node:$name)

With this change, the node is also optional:

  (dag node, node:$name, $name)

The missing node is treated as an UnsetInit, so the above is equivalent
to:

  (dag node, node:$name, ?:$name)

This syntax is useful in output patterns where we currently require the
types of variables to be repeated:

  def : Pat<(subc i32:$b, i32:$c), (SUBCCrr i32:$b, i32:$c)>;

This is preferable:

  def : Pat<(subc i32:$b, i32:$c), (SUBCCrr $b, $c)>;

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177843 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-24 19:36:51 +00:00
..
2003-08-03-PassCode.td
2006-09-18-LargeInt.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
2010-03-24-PrematureDefaults.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
AnonDefinitionOnDemand.td
BitsInitOverflow.td
cast.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
CStyleComment.td
Dag.td Allow TableGen DAG arguments to be just a name. 2013-03-24 19:36:51 +00:00
defmclass.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
DefmInherit.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
DefmInsideMultiClass.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
eq.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
eqbit.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
FieldAccess.td
foreach.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
ForeachList.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
ForeachLoop.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
ForwardRef.td
GeneralList.td
if.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
ifbit.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
Include.inc
Include.td
IntBitInit.td
LazyChange.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
LetInsideMultiClasses.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
lisp.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
list-element-bitref.td Fix typo, which prevent test from being check. 2012-12-12 21:10:56 +00:00
ListArgs.td
ListArgsSimple.td
ListConversion.td
ListManip.td
ListOfList.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
ListSlices.td
lit.local.cfg
LoLoL.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
math.td Improve the !add TableGen test case. 2013-01-25 20:29:25 +00:00
MultiClass.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
MultiClassDefName.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
MultiClassInherit.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
MultiPat.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
nested-comment.td
NestedForeach.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
Paste.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
pr8330.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
SetTheory.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
SiblingForeach.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
Slice.td FileCheck-ify some grep tests 2013-01-25 22:11:46 +00:00
strconcat.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
String.td
subst2.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
subst.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
SuperSubclassSameName.td
TargetInstrInfo.td
TargetInstrSpec.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
TemplateArgRename.td
Tree.td
TreeNames.td
TwoLevelName.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00
UnsetBitInit.td
UnterminatedComment.td
usevalname.td llvm/test/TableGen: Remove XFAIL:vg_leak in dozen of tests, according to llvm-x86_64-linux-vg_leak. 2012-12-11 13:14:16 +00:00