hanchenye-llvm-project/llvm/test/TableGen
Jakob Stoklund Olesen fc205a5694 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)>;

llvm-svn: 132621
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
CStyleComment.td
Dag.td Generalize tblgen's dag parsing logic to handle arbitrary expressions 2010-10-06 04:55:48 +00:00
DefmInherit.td
DefmInsideMultiClass.td
FieldAccess.td
ForwardRef.td
GeneralList.td
Include.inc
Include.td
IntBitInit.td
LazyChange.td
LetInsideMultiClasses.td
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
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
String.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
cast.td
defmclass.td enhance tblgen to support anonymous defm's, use this to 2010-10-05 22:51:56 +00:00
dg.exp
eq.td
eqbit.td
foreach.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
lisp.td Rename lisp-like functions as suggested by Gabor Greif as loooong time 2011-01-07 17:05:37 +00:00
nested-comment.td
strconcat.td
subst.td
subst2.td
usevalname.td