X-Git-Url: http://plrg.eecs.uci.edu/git/?p=satune.git;a=blobdiff_plain;f=src%2Fclasslist.h;h=fee6d9bc7c14359893b61b1724d5e19fdc63ecc4;hp=339dee3f200564cb6157863c288bb8d39506ada5;hb=238830745ba3939323c285b722c9ae512b7baa9b;hpb=7f34f476185fb403276444b4cf0377d1ddb101e5 diff --git a/src/classlist.h b/src/classlist.h index 339dee3..fee6d9b 100644 --- a/src/classlist.h +++ b/src/classlist.h @@ -12,89 +12,66 @@ #include "mymemory.h" #include -#define bool int -#define true 1 -#define false 0 +#include "classes.h" +#include "astnode.h" -struct CSolver; -typedef struct CSolver CSolver; -struct SATEncoder; -typedef struct SATEncoder SATEncoder; -typedef struct BooleanOrder BooleanOrder; -typedef struct BooleanVar BooleanVar; -typedef struct BooleanLogic BooleanLogic; -typedef struct BooleanPredicate BooleanPredicate; +class BooleanOrder; +class BooleanVar; -struct ASTNode; -typedef struct ASTNode ASTNode; +class BooleanPredicate; +class ASTNode; -struct Boolean; -typedef struct Boolean Boolean; -struct IncrementalSolver; -typedef struct IncrementalSolver IncrementalSolver; -struct Set; -typedef struct Set Set; -typedef struct Set MutableSet; +class ElementFunction; +class ElementSet; +class ElementConst; -typedef struct ElementFunction ElementFunction; -typedef struct ElementSet ElementSet; -typedef struct ElementConst ElementConst; +class FunctionOperator; +class FunctionTable; -struct Element; -typedef struct Element Element; -typedef struct FunctionOperator FunctionOperator; -typedef struct FunctionTable FunctionTable; -struct Function; -typedef struct Function Function; +class PredicateTable; +class PredicateOperator; -struct Predicate; -typedef struct Predicate Predicate; -struct PredicateTable; -typedef struct PredicateTable PredicateTable; +class OrderPair; -struct PredicateOperator; -typedef struct PredicateOperator PredicateOperator; +class OrderElement; +class IntegerEncodingRecord; +class Transform; +class Pass; +class Transformer; +class AnalysisData; -struct Table; -typedef struct Table Table; +class ElementEncoding; +class FunctionEncoding; +class OrderEncoding; -struct Order; -typedef struct Order Order; +class OrderGraph; +class OrderNodeKey; +class OrderNode; +class OrderEdge; +class DOREdge; -struct OrderPair; -typedef struct OrderPair OrderPair; +class AutoTuner; +class SearchTuner; +class TunableSetting; -struct ElementEncoding; -typedef struct ElementEncoding ElementEncoding; +class TunableDesc; -struct FunctionEncoding; -typedef struct FunctionEncoding FunctionEncoding; +class OrderResolver; +class DecomposeOrderResolver; -struct OrderEncoding; -typedef struct OrderEncoding OrderEncoding; +class EncodingGraph; +class EncodingNode; +class EncodingEdge; +struct IncrementalSolver; +typedef struct IncrementalSolver IncrementalSolver; struct TableEntry; typedef struct TableEntry TableEntry; - -struct OrderGraph; -typedef struct OrderGraph OrderGraph; - -struct OrderNode; -typedef struct OrderNode OrderNode; - -struct OrderEdge; -typedef struct OrderEdge OrderEdge; - -struct OrderEncoder; -typedef struct OrderEncoder OrderEncoder; - -typedef unsigned int uint; -typedef long int int64; -typedef uint64_t VarType; +typedef int TunableParam; #endif