Small edit
[satune.git] / src / ASTTransform / pass.h
1 /* 
2  * File:   pass.h
3  * Author: hamed
4  *
5  * Created on August 28, 2017, 6:23 PM
6  */
7
8 #ifndef PASS_H
9 #define PASS_H
10 #include "classlist.h"
11 #include "mymemory.h"
12 #include "structs.h"
13 #include "tunable.h"
14 #include "csolver.h"
15
16 class Pass{
17 public:
18         Pass(){};
19         virtual ~Pass(){};
20         virtual inline bool canExecutePass(CSolver* This, uint type, Tunables tunable, TunableDesc* desc){
21                 return GETVARTUNABLE(This->getTuner(), type, tunable, desc);
22         }
23         CMEMALLOC;
24
25 };
26
27
28 #endif /* PASS_H */
29