OSDN Git Service

* config/ia64/t-ia64 (insn-attrtab.o-warn): Define as -Wno-error.
[pf3gnuchains/gcc-fork.git] / gcc / config / ia64 / ia64-protos.h
1 /* Definitions of target machine for GNU compiler for IA-64.
2    Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
3
4 This file is part of GNU CC.
5
6 GNU CC 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 2, or (at your option)
9 any later version.
10
11 GNU CC 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 GNU CC; see the file COPYING.  If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.  */
20
21 /* Variables defined in ia64.c.  */
22
23 #ifdef RTX_CODE
24 extern GTY(()) rtx ia64_compare_op0;
25 extern GTY(()) rtx ia64_compare_op1;
26 #endif
27
28 /* Functions defined in ia64.c */
29
30 extern int bundling_p;
31 #ifdef RTX_CODE
32 extern int ia64_st_address_bypass_p PARAMS((rtx, rtx));
33 extern int ia64_ld_address_bypass_p PARAMS((rtx, rtx));
34 extern int ia64_produce_address_p PARAMS((rtx));
35 extern int call_operand PARAMS((rtx, enum machine_mode));
36 extern int sdata_symbolic_operand PARAMS((rtx, enum machine_mode));
37 extern int got_symbolic_operand PARAMS((rtx, enum machine_mode));
38 extern int symbolic_operand PARAMS((rtx, enum machine_mode));
39 extern int tls_symbolic_operand PARAMS((rtx, enum machine_mode));
40 extern int function_operand PARAMS((rtx, enum machine_mode));
41 extern int setjmp_operand PARAMS((rtx, enum machine_mode));
42 extern int move_operand PARAMS((rtx, enum machine_mode));
43 extern int gr_register_operand PARAMS((rtx, enum machine_mode));
44 extern int fr_register_operand PARAMS((rtx, enum machine_mode));
45 extern int grfr_register_operand PARAMS((rtx, enum machine_mode));
46 extern int gr_nonimmediate_operand PARAMS((rtx, enum machine_mode));
47 extern int fr_nonimmediate_operand PARAMS((rtx, enum machine_mode));
48 extern int grfr_nonimmediate_operand PARAMS((rtx, enum machine_mode));
49 extern int gr_reg_or_0_operand PARAMS((rtx, enum machine_mode));
50 extern int gr_reg_or_5bit_operand PARAMS((rtx, enum machine_mode));
51 extern int gr_reg_or_6bit_operand PARAMS((rtx, enum machine_mode));
52 extern int gr_reg_or_8bit_operand PARAMS((rtx, enum machine_mode));
53 extern int grfr_reg_or_8bit_operand PARAMS((rtx, enum machine_mode));
54 extern int gr_reg_or_8bit_adjusted_operand PARAMS((rtx, enum machine_mode));
55 extern int gr_reg_or_8bit_and_adjusted_operand PARAMS((rtx, enum machine_mode));
56 extern int gr_reg_or_14bit_operand PARAMS((rtx, enum machine_mode));
57 extern int gr_reg_or_22bit_operand PARAMS((rtx, enum machine_mode));
58 extern int shift_count_operand PARAMS((rtx, enum machine_mode));
59 extern int shift_32bit_count_operand PARAMS((rtx, enum machine_mode));
60 extern int shladd_operand PARAMS((rtx, enum machine_mode));
61 extern int fetchadd_operand PARAMS((rtx, enum machine_mode));
62 extern int fr_reg_or_fp01_operand PARAMS((rtx, enum machine_mode));
63 extern int normal_comparison_operator PARAMS((rtx, enum machine_mode));
64 extern int adjusted_comparison_operator PARAMS((rtx, enum machine_mode));
65 extern int signed_inequality_operator PARAMS((rtx, enum machine_mode));
66 extern int destination_operand PARAMS((rtx, enum machine_mode));
67 extern int not_postinc_memory_operand PARAMS((rtx, enum machine_mode));
68 extern int predicate_operator PARAMS((rtx, enum machine_mode));
69 extern int ar_lc_reg_operand PARAMS((rtx, enum machine_mode));
70 extern int ar_ccv_reg_operand PARAMS((rtx, enum machine_mode));
71 extern int ar_pfs_reg_operand PARAMS((rtx, enum machine_mode));
72 extern int general_tfmode_operand PARAMS((rtx, enum machine_mode));
73 extern int destination_tfmode_operand PARAMS((rtx, enum machine_mode));
74 extern int tfreg_or_fp01_operand PARAMS((rtx, enum machine_mode));
75 extern int basereg_operand PARAMS((rtx, enum machine_mode));
76
77 extern rtx ia64_expand_move PARAMS ((rtx, rtx));
78 extern int ia64_move_ok PARAMS((rtx, rtx));
79 extern int ia64_depz_field_mask PARAMS((rtx, rtx));
80 extern rtx ia64_gp_save_reg PARAMS((int));
81 extern rtx ia64_split_timode PARAMS((rtx[], rtx, rtx));
82 extern rtx spill_tfmode_operand PARAMS((rtx, int));
83 extern rtx ia64_expand_compare PARAMS((enum rtx_code, enum machine_mode));
84 extern void ia64_expand_call PARAMS((rtx, rtx, rtx, int));
85
86 extern HOST_WIDE_INT ia64_initial_elimination_offset PARAMS((int, int));
87 extern void ia64_expand_prologue PARAMS((void));
88 extern void ia64_expand_epilogue PARAMS((int));
89
90 extern int ia64_direct_return PARAMS((void));
91 extern void ia64_expand_load_address PARAMS((rtx, rtx, rtx));
92 extern int ia64_hard_regno_rename_ok PARAMS((int, int));
93
94 extern void ia64_initialize_trampoline PARAMS((rtx, rtx, rtx));
95 extern void ia64_print_operand_address PARAMS((FILE *, rtx));
96 extern void ia64_print_operand PARAMS((FILE *, rtx, int));
97 extern enum reg_class ia64_secondary_reload_class PARAMS((enum reg_class,
98                                                           enum machine_mode,
99                                                           rtx));
100 extern void ia64_reorg PARAMS((rtx));
101 extern void process_for_unwind_directive PARAMS ((FILE *, rtx));
102 extern const char *get_bundle_name PARAMS ((int));
103 #endif /* RTX_CODE */
104
105 #ifdef TREE_CODE
106 #ifdef RTX_CODE
107 extern rtx ia64_function_arg PARAMS((CUMULATIVE_ARGS *, enum machine_mode,
108                                      tree, int, int));
109 extern rtx ia64_expand_builtin PARAMS((tree, rtx, rtx,
110                                        enum machine_mode, int));
111 extern rtx ia64_va_arg PARAMS((tree, tree));
112 extern rtx ia64_function_value PARAMS((tree, tree));
113 #endif /* RTX_CODE */
114
115 extern void ia64_setup_incoming_varargs PARAMS((CUMULATIVE_ARGS, int, tree,
116                                                 int *, int));
117 extern int ia64_function_arg_partial_nregs PARAMS((CUMULATIVE_ARGS *,
118                                                    enum machine_mode,
119                                                    tree, int));
120 extern void ia64_function_arg_advance PARAMS((CUMULATIVE_ARGS *,
121                                               enum machine_mode,
122                                               tree, int));
123 extern int ia64_function_arg_pass_by_reference PARAMS((CUMULATIVE_ARGS *,
124                                                        enum machine_mode,
125                                                        tree, int));
126 extern int ia64_return_in_memory PARAMS((tree));
127 extern void ia64_asm_output_external PARAMS((FILE *, tree, const char *));
128 #endif /* TREE_CODE */
129
130 extern int ia64_register_move_cost PARAMS((enum machine_mode, enum reg_class,
131                                            enum reg_class));
132 extern int ia64_epilogue_uses PARAMS((int));
133 extern int ia64_eh_uses PARAMS((int));
134 extern void emit_safe_across_calls PARAMS((FILE *));
135 extern void ia64_init_builtins PARAMS((void));
136 extern void ia64_override_options PARAMS((void));
137 extern int ia64_dbx_register_number PARAMS((int));
138
139 #ifdef SDATA_SECTION_ASM_OP
140 extern void sdata_section PARAMS ((void));
141 #endif
142
143 #ifdef SBSS_SECTION_ASM_OP
144 extern void sbss_section PARAMS ((void));
145 #endif
146
147 #ifdef ARGS_SIZE_RTX
148 /* expr.h defines ARGS_SIZE_RTX and `enum direction'.  */
149 extern enum direction ia64_hpux_function_arg_padding PARAMS ((enum machine_mode, tree));
150 #endif /* ARGS_SIZE_RTX */
151
152 extern void ia64_hpux_handle_builtin_pragma PARAMS ((struct cpp_reader *));
153 extern void ia64_hpux_asm_file_end PARAMS ((FILE *));