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
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
DefmInherit.td
DefmInsideMultiClass.td
dg.exp
eq.td
eqbit.td
FieldAccess.td
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
Include.inc
Include.td
IntBitInit.td
LazyChange.td
LetInsideMultiClasses.td
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