diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-06-04 04:11:37 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-06-04 04:11:37 +0000 |
| commit | fc205a5694fd530ac921a56bd44e7ac71661e85c (patch) | |
| tree | e703a34602a100e0b0401e201fdec1dd619b6f59 /llvm/lib/ExecutionEngine/TargetSelect.cpp | |
| parent | 75b205386388c751921b8321e20a30cf0e4cc916 (diff) | |
| download | bcm5719-llvm-fc205a5694fd530ac921a56bd44e7ac71661e85c.tar.gz bcm5719-llvm-fc205a5694fd530ac921a56bd44e7ac71661e85c.zip | |
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
Diffstat (limited to 'llvm/lib/ExecutionEngine/TargetSelect.cpp')
0 files changed, 0 insertions, 0 deletions

