X-Git-Url: http://plrg.eecs.uci.edu/git/?p=satune.git;a=blobdiff_plain;f=src%2Fclasslist.h;h=2e395f7ac87fc74b9a9cb45a5bf39dcbc76f8790;hp=fa3e3bdb608058fb3ef3732ee6e9aa4ac260997d;hb=db18e3357fda778cdf03b6338a0301b4bd9525c2;hpb=4c9d60b6f6c3656ba0426eaca8af69457bf56dee diff --git a/src/classlist.h b/src/classlist.h index fa3e3bd..2e395f7 100644 --- a/src/classlist.h +++ b/src/classlist.h @@ -12,76 +12,64 @@ #include "mymemory.h" #include -#define bool int -#define true 1 -#define false 0 -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; - -struct ASTNode; -typedef struct ASTNode ASTNode; - -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; - -typedef struct ElementFunction ElementFunction; -typedef struct ElementSet ElementSet; -typedef struct ElementConst ElementConst; - -struct Element; -typedef struct Element Element; - -typedef struct FunctionOperator FunctionOperator; -typedef struct FunctionTable FunctionTable; - -struct Function; -typedef struct Function Function; - -struct Predicate; -typedef struct Predicate Predicate; - -struct PredicateTable; -typedef struct PredicateTable PredicateTable; - -struct PredicateOperator; -typedef struct PredicateOperator PredicateOperator; - -struct Table; -typedef struct Table Table; - -struct Order; -typedef struct Order Order; - -struct OrderPair; -typedef struct OrderPair OrderPair; - -struct ElementEncoding; -typedef struct ElementEncoding ElementEncoding; - -struct FunctionEncoding; -typedef struct FunctionEncoding FunctionEncoding; - -struct OrderEncoding; -typedef struct OrderEncoding OrderEncoding; - 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