source: icGREP/icgrep-devel/icgrep/pablo/pablo_routines.h @ 4199

Last change on this file since 4199 was 4199, checked in by nmedfort, 5 years ago

First stage of refactoring PabloE classes.

File size: 625 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
10namespace pablo {
11
12class PabloE;
13
14PabloE * make_not(PabloE * expr);
15PabloE * make_and(PabloE * expr1, PabloE * expr2);
16PabloE * make_or(PabloE * expr1, PabloE * expr2);
17PabloE * make_sel(PabloE * if_expr, PabloE * t_expr, PabloE * f_expr);
18PabloE * make_xor(PabloE * expr1, PabloE * expr2);
19bool equals(const PabloE * expr1, const PabloE *expr2);
20
21}
22
23#endif // COMPILER_HELPER_H
Note: See TracBrowser for help on using the repository browser.