1 /* Bytecode token definitions for GNU C-compiler.
2 Copyright (C) 1993 Free Software Foundation, Inc.
4 This file is part of GNU CC.
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING. If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
21 extern void bc_expand_conversion ();
22 extern void bc_expand_truth_conversion ();
23 extern void bc_expand_binary_operation ();
24 extern void bc_expand_unary_operation ();
26 struct binary_operator
28 enum bytecode_opcode opcode
;
34 extern struct binary_operator optab_plus_expr
[];
35 extern struct binary_operator optab_minus_expr
[];
36 extern struct binary_operator optab_mult_expr
[];
37 extern struct binary_operator optab_trunc_div_expr
[];
38 extern struct binary_operator optab_trunc_mod_expr
[];
39 extern struct binary_operator optab_rdiv_expr
[];
40 extern struct binary_operator optab_bit_and_expr
[];
41 extern struct binary_operator optab_bit_ior_expr
[];
42 extern struct binary_operator optab_bit_xor_expr
[];
43 extern struct binary_operator optab_lshift_expr
[];
44 extern struct binary_operator optab_rshift_expr
[];
45 extern struct binary_operator optab_truth_and_expr
[];
46 extern struct binary_operator optab_truth_or_expr
[];
47 extern struct binary_operator optab_lt_expr
[];
48 extern struct binary_operator optab_le_expr
[];
49 extern struct binary_operator optab_ge_expr
[];
50 extern struct binary_operator optab_gt_expr
[];
51 extern struct binary_operator optab_eq_expr
[];
52 extern struct binary_operator optab_ne_expr
[];
56 enum bytecode_opcode opcode
;
61 extern struct unary_operator optab_negate_expr
[];
62 extern struct unary_operator optab_bit_not_expr
[];
63 extern struct unary_operator optab_truth_not_expr
[];
65 struct increment_operator
67 enum bytecode_opcode opcode
;
71 extern struct increment_operator optab_predecrement_expr
[];
72 extern struct increment_operator optab_preincrement_expr
[];
73 extern struct increment_operator optab_postdecrement_expr
[];
74 extern struct increment_operator optab_postincrement_expr
[];