X-Git-Url: http://plrg.eecs.uci.edu/git/?p=satune.git;a=blobdiff_plain;f=src%2Fclasslist.h;h=9616bc2e7154adc2f55eaba6bc6cab22169e9140;hp=3306ffe311b5e148e13824f9f5931109e7961704;hb=4c58af641a877bb6d65769994c8fd57ecedbd22c;hpb=fa74d0b740b20fa40af55404c5bb99570a8b40ca diff --git a/src/classlist.h b/src/classlist.h index 3306ffe..9616bc2 100644 --- a/src/classlist.h +++ b/src/classlist.h @@ -12,68 +12,75 @@ #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; +class BooleanOrder; +class BooleanVar; -struct Constraint; -typedef struct Constraint Constraint; +class BooleanPredicate; +class ASTNode; -typedef struct BooleanOrder BooleanOrder; -typedef struct BooleanVar BooleanVar; -typedef struct BooleanLogic BooleanLogic; -typedef struct BooleanComp BooleanComp; -typedef struct BooleanPredicate BooleanPredicate; -struct Boolean; -typedef struct Boolean Boolean; -struct IncrementalSolver; -typedef struct IncrementalSolver IncrementalSolver; +class ElementFunction; +class ElementSet; +class ElementConst; + +class FunctionOperator; +class FunctionTable; + -struct Set; -typedef struct Set Set; -typedef struct Set MutableSet; -typedef struct ElementFunction ElementFunction; -typedef struct ElementSet ElementSet; +class PredicateTable; +class PredicateOperator; -struct Element; -typedef struct Element Element; -typedef struct FunctionOperator FunctionOperator; -typedef struct FunctionTable FunctionTable; +class OrderPair; -struct Function; -typedef struct Function Function; +class OrderElement; +class IntegerEncodingRecord; +class Transform; +class Pass; +class Transformer; +class AnalysisData; -struct Predicate; -typedef struct Predicate Predicate; +class ElementEncoding; +class FunctionEncoding; +class OrderEncoding; -struct Table; -typedef struct Table Table; +class OrderGraph; +class OrderNodeKey; +class OrderNode; +class OrderEdge; +class DOREdge; -struct Order; -typedef struct Order Order; +class AutoTuner; +class CompTuner; +class SearchTuner; +class TunableSetting; -struct ElementEncoding; -typedef struct ElementEncoding ElementEncoding; +class SerializeTuner; -struct FunctionEncoding; -typedef struct FunctionEncoding FunctionEncoding; +class TunableDesc; -struct OrderEncoding; -typedef struct OrderEncoding OrderEncoding; +class OrderResolver; +class DecomposeOrderResolver; +class EncodingGraph; +class EncodingNode; +class EncodingEdge; +class EncodingSubGraph; +class SignatureEnc; +class Signature; +class ValuedSignature; +class AlloyElementSig; +class AlloySetSig; +class AlloyBoolSig; +struct IncrementalSolver; +typedef struct IncrementalSolver IncrementalSolver; struct TableEntry; typedef struct TableEntry TableEntry; - -typedef unsigned int uint; -typedef uint64_t VarType; +typedef int TunableParam; #endif