xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/vax/vax-protos.h (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
1 /* Definitions of target machine for GNU compiler.  VAX version.
2    Copyright (C) 2000-2020 Free Software Foundation, Inc.
3 
4 This file is part of GCC.
5 
6 GCC 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 3, or (at your option)
9 any later version.
10 
11 GCC 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.
15 
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3.  If not see
18 <http://www.gnu.org/licenses/>.  */
19 #include <stdbool.h>
20 
21 extern bool legitimate_constant_address_p (rtx);
22 extern bool legitimate_pic_operand_p (rtx);
23 extern void vax_expand_prologue (void);
24 
25 #ifdef RTX_CODE
26 extern const char *cond_name (rtx);
27 extern bool adjacent_operands_p (rtx, rtx, machine_mode);
28 extern const char *rev_cond_name (rtx);
29 extern void print_operand_address (FILE *, rtx);
30 extern void print_operand (FILE *, rtx, int);
31 extern void vax_notice_update_cc (rtx, rtx);
32 extern void vax_expand_addsub_di_operands (rtx *, enum rtx_code);
33 extern bool vax_decomposed_dimode_operand_p (rtx, rtx);
34 extern const char * vax_output_int_move (rtx, rtx *, machine_mode);
35 extern const char * vax_output_int_add (rtx_insn *, rtx *, machine_mode);
36 extern const char * vax_output_int_subtract (rtx_insn *, rtx *, machine_mode);
37 #endif /* RTX_CODE */
38 
39 #ifdef REAL_VALUE_TYPE
40 extern int check_float_value (machine_mode, REAL_VALUE_TYPE *, int);
41 #endif /* REAL_VALUE_TYPE */
42