Merging with branch master and fixing bugs
[satune.git] / src / classlist.h
index d232592fef332c3d58cbe6670569f3e03ce0cfe0..2e395f7ac87fc74b9a9cb45a5bf39dcbc76f8790 100644 (file)
 
 #include "mymemory.h"
 #include <inttypes.h>
-#define bool int
-#define true 1
-#define false 0
 
-struct CSolver;
-typedef struct CSolver CSolver;
-
-struct Constraint;
-typedef struct Constraint Constraint;
-
-typedef struct BooleanOrder BooleanOrder;
-typedef struct BooleanVar BooleanVar;
-typedef struct BooleanLogic BooleanLogic;
-typedef struct BooleanComp BooleanComp;
-
-struct Boolean;
-typedef struct Boolean Boolean;
+class CSolver;
+class SATEncoder;
+class Boolean;
+class BooleanOrder;
+class BooleanVar;
+class BooleanLogic;
+class BooleanPredicate;
+class ASTNode;
+class Set;
+class MutableSet;
+
+class ElementFunction;
+class ElementSet;
+class ElementConst;
+class Element;
+
+class FunctionOperator;
+class FunctionTable;
+class Function;
+
+class Predicate;
+class PredicateTable;
+class PredicateOperator;
+class Table;
+class Order;
+class OrderPair;
+
+class OrderElement;
+class IntegerEncodingRecord;
+class Transform;
+
+class ElementEncoding;
+class FunctionEncoding;
+class OrderEncoding;
+
+class OrderGraph;
+class OrderNode;
+class OrderEdge;
+
+class AutoTuner;
+class SearchTuner;
+class TunableSetting;
+class Pass;
+class Transform;
 
 struct IncrementalSolver;
 typedef struct IncrementalSolver IncrementalSolver;
 
-struct Set;
-typedef struct Set Set;
-
-typedef struct Set MutableSet;
-
-struct Element;
-typedef struct Element Element;
-
-struct Function;
-typedef struct Function Function;
-
-struct Predicate;
-typedef struct Predicate Predicate;
-
-struct Table;
-typedef struct Table Table;
-
-struct Order;
-typedef struct Order Order;
-
-struct ElementEncoding;
-typedef struct ElementEncoding ElementEncoding;
-
-struct FunctionEncoding;
-typedef struct FunctionEncoding FunctionEncoding;
-
 struct TableEntry;
 typedef struct TableEntry TableEntry;
 
+class Tuner;
+class TunableDesc;
+
+typedef int TunableParam;
+
 typedef unsigned int uint;
+typedef long int int64;
 typedef uint64_t VarType;
 #endif