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 void override_options
PARAMS ((void));
26 extern int s390_arg_frame_offset
PARAMS ((void));
27 extern void s390_function_prologue
PARAMS ((FILE *, HOST_WIDE_INT
));
28 extern void s390_function_epilogue
PARAMS ((FILE *, HOST_WIDE_INT
));
29 extern void s390_emit_prologue
PARAMS ((void));
30 extern void s390_emit_epilogue
PARAMS ((void));
31 extern void s390_function_profiler
PARAMS ((FILE *, int));
34 extern int const0_operand
PARAMS ((rtx
, enum machine_mode
));
35 extern int consttable_operand
PARAMS ((rtx
, enum machine_mode
));
36 extern int larl_operand
PARAMS ((rtx
, enum machine_mode
));
37 extern int fp_operand
PARAMS ((rtx
, enum machine_mode
));
38 extern int s_operand
PARAMS ((rtx
, enum machine_mode
));
39 extern int s_imm_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 extern int s390_single_hi
PARAMS ((rtx
, enum machine_mode
, int));
44 extern int s390_extract_hi
PARAMS ((rtx
, enum machine_mode
, int));
45 extern int s390_single_qi
PARAMS ((rtx
, enum machine_mode
, int));
46 extern int s390_extract_qi
PARAMS ((rtx
, enum machine_mode
, int));
48 extern int s390_match_ccmode
PARAMS ((rtx
, enum machine_mode
));
49 extern enum machine_mode s390_select_ccmode
PARAMS ((enum rtx_code
, rtx
, rtx
));
50 extern int symbolic_reference_mentioned_p
PARAMS ((rtx
));
51 extern int legitimate_la_operand_p
PARAMS ((rtx
));
52 extern rtx legitimize_la_operand
PARAMS ((rtx
));
53 extern int legitimate_pic_operand_p
PARAMS ((rtx
));
54 extern int legitimate_constant_p
PARAMS ((rtx
));
55 extern int legitimate_reload_constant_p
PARAMS ((rtx
));
56 extern int legitimate_address_p
PARAMS ((enum machine_mode
, rtx
, int));
57 extern rtx legitimize_pic_address
PARAMS ((rtx
, rtx
));
58 extern rtx legitimize_address
PARAMS ((rtx
, rtx
, enum machine_mode
));
59 extern enum reg_class s390_preferred_reload_class
PARAMS ((rtx
, enum reg_class
));
60 extern enum reg_class s390_secondary_input_reload_class
PARAMS ((enum reg_class
, enum machine_mode
, rtx
));
61 extern int s390_plus_operand
PARAMS ((rtx
, enum machine_mode
));
62 extern void s390_expand_plus_operand
PARAMS ((rtx
, rtx
, rtx
));
63 extern void emit_pic_move
PARAMS ((rtx
*, enum machine_mode
));
65 extern void s390_output_symbolic_const
PARAMS ((FILE *, rtx
));
66 extern void print_operand_address
PARAMS ((FILE *, rtx
));
67 extern void print_operand
PARAMS ((FILE *, rtx
, int));
68 extern void s390_output_constant_pool
PARAMS ((FILE *));
69 extern void s390_trampoline_template
PARAMS ((FILE *));
70 extern void s390_initialize_trampoline
PARAMS ((rtx
, rtx
, rtx
));
71 extern rtx s390_gen_rtx_const_DI
PARAMS ((int, int));
72 extern rtx s390_simplify_dwarf_addr
PARAMS ((rtx
));
76 extern int s390_function_arg_pass_by_reference
PARAMS ((enum machine_mode
, tree
));
77 extern void s390_function_arg_advance
PARAMS ((CUMULATIVE_ARGS
*, enum machine_mode
, tree
, int));
78 extern tree s390_build_va_list
PARAMS ((void));
80 extern rtx s390_function_arg
PARAMS ((CUMULATIVE_ARGS
*, enum machine_mode
, tree
, int));
81 extern void s390_va_start
PARAMS ((int, tree
, rtx
));
82 extern rtx s390_va_arg
PARAMS ((tree
, tree
));
84 #endif /* TREE_CODE */