source: icGREP/icgrep-devel/icgrep/cc_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: 757 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 "pbix_compiler.h"
11#include "cc_compiler.h"
12
13class CC_Compiler_Helper
14{
15public:
16    static PabloE* make_not(PabloE* expr);
17    static PabloE* make_and(PabloE* expr1, PabloE* expr2);
18    static PabloE* make_or(PabloE* expr1, PabloE* expr2);
19    static PabloE* make_sel(PabloE* if_expr, PabloE* t_expr, PabloE* f_expr);
20    static PabloE* make_xor(PabloE* expr1, PabloE* expr2);
21    static bool equal_exprs(PabloE* expr1, PabloE* expr2);
22private:
23    CC_Compiler_Helper();
24};
25
26#endif // COMPILER_HELPER_H
Note: See TracBrowser for help on using the repository browser.