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)
5 This file is part of GNU CC.
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)
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.
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. */
22 /* Declare functions in s390.c. */
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
));
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
));
44 extern int s390_match_ccmode
PARAMS ((rtx
, enum machine_mode
));
45 extern enum machine_mode s390_select_ccmode
PARAMS ((enum rtx_code
, rtx
, rtx
));
46 extern int symbolic_reference_mentioned_p
PARAMS ((rtx
));
47 extern int legitimate_la_operand_p
PARAMS ((rtx
));
48 extern int legitimate_pic_operand_p
PARAMS ((rtx
));
49 extern int legitimate_constant_p
PARAMS ((rtx
));
50 extern int legitimate_address_p
PARAMS ((enum machine_mode
, rtx
, int));
51 extern rtx legitimize_pic_address
PARAMS ((rtx
, rtx
));
52 extern rtx legitimize_address
PARAMS ((rtx
, rtx
, enum machine_mode
));
53 extern void emit_pic_move
PARAMS ((rtx
*, enum machine_mode
));
55 extern void s390_output_symbolic_const
PARAMS ((FILE *, rtx
));
56 extern void print_operand_address
PARAMS ((FILE *, rtx
));
57 extern void print_operand
PARAMS ((FILE *, rtx
, int));
58 extern int s390_stop_dump_lit_p
PARAMS ((rtx
));
59 extern void s390_dump_literal_pool
PARAMS ((rtx
, rtx
));
60 extern void s390_trampoline_template
PARAMS ((FILE *));
61 extern void s390_initialize_trampoline
PARAMS ((rtx
, rtx
, rtx
));
65 extern void s390_asm_output_pool_prologue
PARAMS ((FILE *, const char *, tree
, int));
66 extern int s390_function_arg_pass_by_reference
PARAMS ((enum machine_mode
, tree
));
67 extern void s390_function_arg_advance
PARAMS ((CUMULATIVE_ARGS
*, enum machine_mode
, tree
, int));
68 extern tree s390_build_va_list
PARAMS ((void));
70 extern rtx s390_function_arg
PARAMS ((CUMULATIVE_ARGS
*, enum machine_mode
, tree
, int));
71 extern void s390_va_start
PARAMS ((int, tree
, rtx
));
72 extern rtx s390_va_arg
PARAMS ((tree
, tree
));
74 #endif /* TREE_CODE */