Adding naive encoding pass. functionEncoding partially is added
[satune.git] / src / AST / table.h
1 #ifndef TABLE_H
2 #define TABLE_H
3 #include "classlist.h"
4 #include "mymemory.h"
5 #include "structs.h"
6
7 struct Table {
8         Set ** domains;
9         Set * range;
10         uint numDomains;
11         VectorTableEntry* entries;
12 };
13
14 Table * allocTable(Set **domains, uint numDomain, Set * range);
15 void addNewTableEntry(Table* table, uint64_t* inputs, uint inputSize, uint64_t result);
16 void deleteTable(Table* table);
17 #endif