1 /* Definitions of target machine for GNU compiler, for IBM S/390.
2 Copyright (C) 2000, 2002, 2003 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_emit_prologue
PARAMS ((void));
28 extern void s390_emit_epilogue
PARAMS ((void));
29 extern void s390_function_profiler
PARAMS ((FILE *, int));
32 extern int s390_address_cost
PARAMS ((rtx
));
33 extern int q_constraint
PARAMS ((rtx
));
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 s_operand
PARAMS ((rtx
, enum machine_mode
));
38 extern int s_imm_operand
PARAMS ((rtx
, enum machine_mode
));
39 extern int bras_sym_operand
PARAMS ((rtx
, enum machine_mode
));
40 extern int load_multiple_operation
PARAMS ((rtx
, enum machine_mode
));
41 extern int store_multiple_operation
PARAMS ((rtx
, enum machine_mode
));
42 extern int s390_single_hi
PARAMS ((rtx
, enum machine_mode
, int));
43 extern int s390_extract_hi
PARAMS ((rtx
, enum machine_mode
, int));
44 extern int s390_single_qi
PARAMS ((rtx
, enum machine_mode
, int));
45 extern int s390_extract_qi
PARAMS ((rtx
, enum machine_mode
, int));
47 extern int s390_match_ccmode
PARAMS ((rtx
, enum machine_mode
));
48 extern enum machine_mode s390_tm_ccmode
PARAMS ((rtx
, rtx
, int));
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 int preferred_la_operand_p
PARAMS ((rtx
, int));
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
));
64 extern void s390_load_address
PARAMS ((rtx
, rtx
));
65 extern void s390_expand_movstr
PARAMS ((rtx
, rtx
, rtx
));
66 extern void s390_expand_clrstr
PARAMS ((rtx
, rtx
));
67 extern void s390_expand_cmpstr
PARAMS ((rtx
, rtx
, rtx
, rtx
));
68 extern rtx s390_return_addr_rtx
PARAMS ((int, rtx
));
70 extern void s390_output_symbolic_const
PARAMS ((FILE *, rtx
));
71 extern void print_operand_address
PARAMS ((FILE *, rtx
));
72 extern void print_operand
PARAMS ((FILE *, rtx
, int));
73 extern void s390_output_constant_pool
PARAMS ((rtx
, rtx
));
74 extern void s390_trampoline_template
PARAMS ((FILE *));
75 extern void s390_initialize_trampoline
PARAMS ((rtx
, rtx
, rtx
));
76 extern rtx s390_gen_rtx_const_DI
PARAMS ((int, int));
77 extern rtx s390_simplify_dwarf_addr
PARAMS ((rtx
));
78 extern void s390_machine_dependent_reorg
PARAMS ((rtx
));
79 extern int s390_agen_dep_p
PARAMS ((rtx
, rtx
));
84 extern int s390_function_arg_pass_by_reference
PARAMS ((enum machine_mode
, tree
));
85 extern void s390_function_arg_advance
PARAMS ((CUMULATIVE_ARGS
*, enum machine_mode
, tree
, int));
86 extern tree s390_build_va_list
PARAMS ((void));
88 extern rtx s390_function_arg
PARAMS ((CUMULATIVE_ARGS
*, enum machine_mode
, tree
, int));
89 extern void s390_va_start
PARAMS ((tree
, rtx
));
90 extern rtx s390_va_arg
PARAMS ((tree
, tree
));
92 #endif /* TREE_CODE */