llvm-6502/test/TableGen
Jakob Stoklund Olesen 1de99829b6 Teach TableGen to evaluate DAG expressions as set operations.
A TableGen backend can define how certain classes can be expanded into
ordered sets of defs, typically by evaluating a specific field in the
record. The SetTheory class can then evaluate DAG expressions that refer
to these named sets.

A number of standard set and list operations are predefined, and the
backend can add more specialized operators if needed. The -print-sets
backend is used by SetTheory.td to provide examples.

This is intended to simplify how register classes are defined:

  def GR32_NOSP : RegisterClass<"X86", [i32], 32, (sub GR32, ESP)>;

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132621 91177308-0d34-0410-b5e6-96231b3b80d8
2011-06-04 04:11:37 +00:00
..
2003-08-03-PassCode.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
2006-09-18-LargeInt.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
2010-03-24-PrematureDefaults.td XFAIL a new tblgen test for memory leak checking. 2010-03-27 04:59:47 +00:00
AnonDefinitionOnDemand.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
BitsInitOverflow.td For all RUN lines starting with "not", redirect stderr to /dev/null so tests 2008-06-10 12:57:32 +00:00
cast.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
CStyleComment.td
Dag.td Generalize tblgen's dag parsing logic to handle arbitrary expressions 2010-10-06 04:55:48 +00:00
defmclass.td enhance tblgen to support anonymous defm's, use this to 2010-10-05 22:51:56 +00:00
DefmInherit.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
DefmInsideMultiClass.td Teach tablegen to support 'defm' inside multiclasses. 2010-06-05 02:11:52 +00:00
dg.exp
eq.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
eqbit.td let the '!eq' expression support 'int' and 'bit' types 2010-06-16 23:24:12 +00:00
FieldAccess.td tests: XFAIL a handful of tests on the vg_leak builder, so we can get back to 2010-09-09 15:50:19 +00:00
foreach.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
ForwardRef.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
GeneralList.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
if.td Rename lisp-like functions as suggested by Gabor Greif as loooong time 2011-01-07 17:05:37 +00:00
ifbit.td For a tablegen expression such as !if(a,b,c), let 'a' 2010-06-17 00:31:36 +00:00
Include.inc
Include.td
IntBitInit.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
LazyChange.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
LetInsideMultiClasses.td Teach tablegen to allow "let" expressions inside multiclasses, 2010-06-10 02:42:59 +00:00
lisp.td Rename lisp-like functions as suggested by Gabor Greif as loooong time 2011-01-07 17:05:37 +00:00
ListArgs.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
ListArgsSimple.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
ListConversion.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
ListManip.td Rename lisp-like functions as suggested by Gabor Greif as loooong time 2011-01-07 17:05:37 +00:00
ListSlices.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
MultiClass.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
MultiClassDefName.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
MultiClassInherit.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
nested-comment.td
SetTheory.td Teach TableGen to evaluate DAG expressions as set operations. 2011-06-04 04:11:37 +00:00
Slice.td Rename lisp-like functions as suggested by Gabor Greif as loooong time 2011-01-07 17:05:37 +00:00
strconcat.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
String.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
subst2.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
subst.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
SuperSubclassSameName.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
TargetInstrInfo.td Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
TargetInstrSpec.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
TemplateArgRename.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
Tree.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
TreeNames.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
UnsetBitInit.td Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
UnterminatedComment.td For all RUN lines starting with "not", redirect stderr to /dev/null so tests 2008-06-10 12:57:32 +00:00
usevalname.td Fix a tblgen bug. 2010-06-23 19:50:39 +00:00