OSDN Git Service

Coding style cleanup.
[pf3gnuchains/gcc-fork.git] / gcc / config / s390 / s390-protos.h
1 /* Definitions of target machine for GNU compiler, for IBM S/390.
2    Copyright (C) 2000 Free Software Foundation, Inc.
3    Contributed by Hartmut Penner (hpenner@de.ibm.com)
4
5 This file is part of GNU CC.
6
7 GNU CC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
11
12 GNU CC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING.  If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.  */
21
22 /* Declare functions in s390.c.  */
23
24 extern void optimization_options PARAMS ((int, int));
25 extern int s390_arg_frame_offset PARAMS ((void));
26 extern void s390_function_prologue PARAMS ((FILE *, HOST_WIDE_INT));
27 extern void s390_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT));
28
29 #ifdef RTX_CODE
30 extern int const0_operand PARAMS ((rtx, enum machine_mode));
31 extern int const1_operand PARAMS ((rtx, enum machine_mode));
32 extern int larl_operand PARAMS ((rtx, enum machine_mode));
33 extern int fp_operand PARAMS ((rtx, enum machine_mode));
34 extern int s_operand PARAMS ((rtx, enum machine_mode));
35 extern int r_or_s_operand PARAMS ((rtx, enum machine_mode));
36 extern int r_or_s_or_im8_operand PARAMS ((rtx, enum machine_mode));
37 extern int r_or_x_or_im16_operand PARAMS ((rtx, enum machine_mode));
38 extern int r_or_im8_operand PARAMS ((rtx, enum machine_mode));
39 extern int tmxx_operand PARAMS ((rtx, enum machine_mode));
40 extern int bras_sym_operand PARAMS ((rtx, enum machine_mode));
41 extern int load_multiple_operation PARAMS ((rtx, enum machine_mode));
42 extern int store_multiple_operation PARAMS ((rtx, enum machine_mode));
43
44 extern int s390_match_ccmode PARAMS ((rtx, enum machine_mode));
45 extern int symbolic_reference_mentioned_p PARAMS ((rtx));
46 extern int legitimate_pic_operand_p PARAMS ((rtx));
47 extern int legitimate_constant_p PARAMS ((rtx));
48 extern int legitimate_address_p PARAMS ((enum machine_mode, rtx, int));
49 extern rtx legitimize_pic_address PARAMS ((rtx, rtx));
50 extern rtx legitimize_address PARAMS ((rtx, rtx, enum machine_mode));
51 extern void emit_pic_move PARAMS ((rtx *, enum machine_mode));
52
53 extern void s390_output_symbolic_const PARAMS ((FILE *, rtx));
54 extern void print_operand_address PARAMS ((FILE *, rtx));
55 extern void print_operand PARAMS ((FILE *, rtx, int));
56 extern int s390_adjust_cost PARAMS ((rtx, rtx, rtx, int));
57 extern int s390_stop_dump_lit_p PARAMS ((rtx));
58 extern void s390_dump_literal_pool PARAMS ((rtx, rtx));
59 extern void s390_trampoline_template PARAMS ((FILE *));
60 extern void s390_initialize_trampoline PARAMS ((rtx, rtx, rtx));
61 #endif /* RTX_CODE */
62
63 #ifdef TREE_CODE
64 extern void s390_asm_output_pool_prologue PARAMS ((FILE *, const char *, tree, int));
65 extern int s390_function_arg_pass_by_reference PARAMS ((enum machine_mode, tree));
66 extern void s390_function_arg_advance PARAMS ((CUMULATIVE_ARGS *, enum machine_mode, tree, int));
67 extern tree s390_build_va_list PARAMS ((void));
68 #ifdef RTX_CODE
69 extern rtx s390_function_arg PARAMS ((CUMULATIVE_ARGS *, enum machine_mode, tree, int));
70 extern void s390_va_start PARAMS ((int, tree, rtx));
71 extern rtx s390_va_arg PARAMS ((tree, tree));
72 #endif /* RTX_CODE */
73 #endif /* TREE_CODE */
74