9 * Copyright 2012 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 * This library is free software; you can redistribute it and/or modify it
12 * under the terms of the GNU Lesser General Public License, version 2.1 only,
13 * as published by the Free Software Foundation.
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with this library; if not, write to the Free Software Foundation,
22 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 #include "filter-ast.h"
27 enum ir_op_signedness
{
31 IR_SIGN_DYN
, /* signedness determined dynamically */
37 IR_DATA_NUMERIC
, /* numeric and boolean */
50 /* left or right child */
70 enum unary_op_type type
;
80 struct ir_op_logical
{
87 /* common to all ops */
89 enum ir_data_type data_type
;
90 enum ir_op_signedness signedness
;
94 struct ir_op_root root
;
95 struct ir_op_load load
;
96 struct ir_op_unary unary
;
97 struct ir_op_binary binary
;
98 struct ir_op_logical logical
;
102 #endif /* _FILTER_IR_H */