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
2006-09-18-LargeInt.td
2010-03-24-PrematureDefaults.td XFAIL a new tblgen test for memory leak checking. 2010-03-27 04:59:47 +00:00
AnonDefinitionOnDemand.td
BitsInitOverflow.td
cast.td
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
DefmInsideMultiClass.td Teach tablegen to support 'defm' inside multiclasses. 2010-06-05 02:11:52 +00:00
dg.exp
eq.td
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
ForwardRef.td
GeneralList.td
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
LazyChange.td
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
ListArgsSimple.td
ListConversion.td
ListManip.td Rename lisp-like functions as suggested by Gabor Greif as loooong time 2011-01-07 17:05:37 +00:00
ListSlices.td
MultiClass.td
MultiClassDefName.td
MultiClassInherit.td
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
String.td
subst2.td
subst.td
SuperSubclassSameName.td
TargetInstrInfo.td Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
TargetInstrSpec.td
TemplateArgRename.td
Tree.td
TreeNames.td
UnsetBitInit.td
UnterminatedComment.td
usevalname.td Fix a tblgen bug. 2010-06-23 19:50:39 +00:00