source: icGREP/icgrep-devel/icgrep/compiler_helper.h @ 3998

Last change on this file since 3998 was 3850, checked in by cameron, 5 years ago

icgrep-0.8 distribution

File size: 807 bytes
Line 
1/*
2 *  Copyright (c) 2014 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 *  icgrep is a trademark of International Characters.
5 */
6
7#ifndef COMPILER_HELPER_H
8#define COMPILER_HELPER_H
9
10#include "compiler.h"
11#include "cc_compiler.h"
12
13class Compiler_Helper //: public CC_Compiler
14{
15public:
16//protected:
17    //Compiler_Helper();
18    static PabloE* make_not(PabloE* expr);
19    static PabloE* make_and(PabloE* expr1, PabloE* expr2);
20    static PabloE* make_or(PabloE* expr1, PabloE* expr2);
21    static PabloE* make_sel(PabloE* if_expr, PabloE* t_expr, PabloE* f_expr);
22    static PabloE* make_xor(PabloE* expr1, PabloE* expr2);
23    static bool equal_exprs(PabloE* expr1, PabloE* expr2);
24private:
25    Compiler_Helper();
26};
27
28#endif // COMPILER_HELPER_H
Note: See TracBrowser for help on using the repository browser.