]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/ia64/ia64-protos.h
Merge from pch-branch up to tag pch-commit-20020603.
[thirdparty/gcc.git] / gcc / config / ia64 / ia64-protos.h
CommitLineData
c65ebc55 1/* Definitions of target machine for GNU compiler for IA-64.
e65271be 2 Copyright (C) 1999, 2000 Free Software Foundation, Inc.
c65ebc55
JW
3
4This file is part of GNU CC.
5
6GNU CC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
11GNU CC is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GNU CC; see the file COPYING. If not, write to
18the Free Software Foundation, 59 Temple Place - Suite 330,
ed168e45 19Boston, MA 02111-1307, USA. */
c65ebc55
JW
20
21/* Variables defined in ia64.c. */
22
23#ifdef RTX_CODE
e2500fed
GK
24extern GTY(()) rtx ia64_compare_op0;
25extern GTY(()) rtx ia64_compare_op1;
c65ebc55
JW
26#endif
27
28/* Functions defined in ia64.c */
29
30#ifdef RTX_CODE
31extern int call_operand PARAMS((rtx, enum machine_mode));
32extern int sdata_symbolic_operand PARAMS((rtx, enum machine_mode));
ec039e3c 33extern int got_symbolic_operand PARAMS((rtx, enum machine_mode));
c65ebc55 34extern int symbolic_operand PARAMS((rtx, enum machine_mode));
7b6e506e 35extern int tls_symbolic_operand PARAMS((rtx, enum machine_mode));
c65ebc55
JW
36extern int function_operand PARAMS((rtx, enum machine_mode));
37extern int setjmp_operand PARAMS((rtx, enum machine_mode));
38extern int move_operand PARAMS((rtx, enum machine_mode));
0551c32d
RH
39extern int gr_register_operand PARAMS((rtx, enum machine_mode));
40extern int fr_register_operand PARAMS((rtx, enum machine_mode));
41extern int grfr_register_operand PARAMS((rtx, enum machine_mode));
42extern int gr_nonimmediate_operand PARAMS((rtx, enum machine_mode));
655f2eb9 43extern int fr_nonimmediate_operand PARAMS((rtx, enum machine_mode));
0551c32d
RH
44extern int grfr_nonimmediate_operand PARAMS((rtx, enum machine_mode));
45extern int gr_reg_or_0_operand PARAMS((rtx, enum machine_mode));
46extern int gr_reg_or_5bit_operand PARAMS((rtx, enum machine_mode));
47extern int gr_reg_or_6bit_operand PARAMS((rtx, enum machine_mode));
48extern int gr_reg_or_8bit_operand PARAMS((rtx, enum machine_mode));
49extern int grfr_reg_or_8bit_operand PARAMS((rtx, enum machine_mode));
50extern int gr_reg_or_8bit_adjusted_operand PARAMS((rtx, enum machine_mode));
51extern int gr_reg_or_8bit_and_adjusted_operand PARAMS((rtx, enum machine_mode));
52extern int gr_reg_or_14bit_operand PARAMS((rtx, enum machine_mode));
53extern int gr_reg_or_22bit_operand PARAMS((rtx, enum machine_mode));
c65ebc55
JW
54extern int shift_count_operand PARAMS((rtx, enum machine_mode));
55extern int shift_32bit_count_operand PARAMS((rtx, enum machine_mode));
56extern int shladd_operand PARAMS((rtx, enum machine_mode));
809d4ef1 57extern int fetchadd_operand PARAMS((rtx, enum machine_mode));
0551c32d 58extern int fr_reg_or_fp01_operand PARAMS((rtx, enum machine_mode));
c65ebc55
JW
59extern int normal_comparison_operator PARAMS((rtx, enum machine_mode));
60extern int adjusted_comparison_operator PARAMS((rtx, enum machine_mode));
f2f90c63 61extern int signed_inequality_operator PARAMS((rtx, enum machine_mode));
4b983fdc 62extern int destination_operand PARAMS((rtx, enum machine_mode));
0551c32d 63extern int not_postinc_memory_operand PARAMS((rtx, enum machine_mode));
111afdb3 64extern int predicate_operator PARAMS((rtx, enum machine_mode));
5527bf14 65extern int ar_lc_reg_operand PARAMS((rtx, enum machine_mode));
97e242b0 66extern int ar_ccv_reg_operand PARAMS((rtx, enum machine_mode));
6ca3c22f 67extern int ar_pfs_reg_operand PARAMS((rtx, enum machine_mode));
3f622353
RH
68extern int general_tfmode_operand PARAMS((rtx, enum machine_mode));
69extern int destination_tfmode_operand PARAMS((rtx, enum machine_mode));
70extern int tfreg_or_fp01_operand PARAMS((rtx, enum machine_mode));
e206a74f 71extern int basereg_operand PARAMS((rtx, enum machine_mode));
5527bf14 72
7b6e506e 73extern rtx ia64_expand_move PARAMS ((rtx, rtx));
557b9df5 74extern int ia64_move_ok PARAMS((rtx, rtx));
041f25e6 75extern int ia64_depz_field_mask PARAMS((rtx, rtx));
97e242b0 76extern rtx ia64_gp_save_reg PARAMS((int));
3f622353
RH
77extern rtx ia64_split_timode PARAMS((rtx[], rtx, rtx));
78extern rtx spill_tfmode_operand PARAMS((rtx, int));
f2f90c63 79extern rtx ia64_expand_compare PARAMS((enum rtx_code, enum machine_mode));
2ed4af6f 80extern void ia64_expand_call PARAMS((rtx, rtx, rtx, int));
809d4ef1 81
041f25e6
RH
82extern HOST_WIDE_INT ia64_initial_elimination_offset PARAMS((int, int));
83extern void ia64_expand_prologue PARAMS((void));
2ed4af6f 84extern void ia64_expand_epilogue PARAMS((int));
041f25e6
RH
85
86extern int ia64_direct_return PARAMS((void));
b5d37c6f 87extern void ia64_expand_load_address PARAMS((rtx, rtx, rtx));
10c9f189 88extern int ia64_hard_regno_rename_ok PARAMS((int, int));
809d4ef1 89
97e242b0 90extern void ia64_initialize_trampoline PARAMS((rtx, rtx, rtx));
809d4ef1
RH
91extern void ia64_print_operand_address PARAMS((FILE *, rtx));
92extern void ia64_print_operand PARAMS((FILE *, rtx, int));
93extern enum reg_class ia64_secondary_reload_class PARAMS((enum reg_class,
94 enum machine_mode,
95 rtx));
96extern void ia64_reorg PARAMS((rtx));
3b572406 97extern void process_for_unwind_directive PARAMS ((FILE *, rtx));
2130b7fb 98extern const char *get_bundle_name PARAMS ((int));
809d4ef1
RH
99#endif /* RTX_CODE */
100
c65ebc55 101#ifdef TREE_CODE
c65ebc55
JW
102#ifdef RTX_CODE
103extern rtx ia64_function_arg PARAMS((CUMULATIVE_ARGS *, enum machine_mode,
104 tree, int, int));
809d4ef1
RH
105extern rtx ia64_expand_builtin PARAMS((tree, rtx, rtx,
106 enum machine_mode, int));
107extern void ia64_va_start PARAMS((int, tree, rtx));
108extern rtx ia64_va_arg PARAMS((tree, tree));
109extern rtx ia64_function_value PARAMS((tree, tree));
110#endif /* RTX_CODE */
111
112extern void ia64_setup_incoming_varargs PARAMS((CUMULATIVE_ARGS, int, tree,
113 int *, int));
c65ebc55
JW
114extern int ia64_function_arg_partial_nregs PARAMS((CUMULATIVE_ARGS *,
115 enum machine_mode,
116 tree, int));
117extern void ia64_function_arg_advance PARAMS((CUMULATIVE_ARGS *,
118 enum machine_mode,
119 tree, int));
51dcde6f
RH
120extern int ia64_function_arg_pass_by_reference PARAMS((CUMULATIVE_ARGS *,
121 enum machine_mode,
122 tree, int));
c65ebc55 123extern int ia64_return_in_memory PARAMS((tree));
809d4ef1 124extern void ia64_asm_output_external PARAMS((FILE *, tree, const char *));
809d4ef1
RH
125#endif /* TREE_CODE */
126
7109d286
RH
127extern int ia64_register_move_cost PARAMS((enum machine_mode, enum reg_class,
128 enum reg_class));
809d4ef1 129extern int ia64_epilogue_uses PARAMS((int));
15b5aef3 130extern int ia64_eh_uses PARAMS((int));
ca3920ad 131extern void emit_safe_across_calls PARAMS((FILE *));
809d4ef1
RH
132extern void ia64_init_builtins PARAMS((void));
133extern void ia64_override_options PARAMS((void));
97e242b0 134extern int ia64_dbx_register_number PARAMS((int));
0024a804
JW
135
136#ifdef SDATA_SECTION_ASM_OP
137extern void sdata_section PARAMS ((void));
138#endif
139
140#ifdef SBSS_SECTION_ASM_OP
141extern void sbss_section PARAMS ((void));
142#endif
0d7839da
SE
143
144#ifdef ARGS_SIZE_RTX
145/* expr.h defines ARGS_SIZE_RTX and `enum direction'. */
146extern enum direction ia64_hpux_function_arg_padding PARAMS ((enum machine_mode, tree));
147#endif /* ARGS_SIZE_RTX */