]> gcc.gnu.org Git - gcc.git/blame - gcc/config/alpha/alpha-protos.h
alpha-protos.h (alpha_output_mi_thunk_osf): Update signature to match target.h.
[gcc.git] / gcc / config / alpha / alpha-protos.h
CommitLineData
aa388f29 1/* Prototypes for alpha.c functions used in the md file & elsewhere.
ae46c4e0 2 Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
aa388f29
RH
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,
19Boston, MA 02111-1307, USA. */
20
e2c9fb9b
RH
21extern int alpha_next_sequence_number;
22
f6da8bc3
KG
23extern void literal_section PARAMS ((void));
24extern void override_options PARAMS ((void));
25extern int zap_mask PARAMS ((HOST_WIDE_INT));
26extern int direct_return PARAMS ((void));
aa388f29 27
f6da8bc3
KG
28extern int alpha_sa_size PARAMS ((void));
29extern int alpha_pv_save_size PARAMS ((void));
30extern int alpha_using_fp PARAMS ((void));
31extern void alpha_write_verstamp PARAMS ((FILE *));
32extern void alpha_expand_prologue PARAMS ((void));
f6da8bc3
KG
33extern void alpha_expand_epilogue PARAMS ((void));
34extern void alpha_output_filename PARAMS ((FILE *, const char *));
35extern void alpha_output_lineno PARAMS ((FILE *, int));
aa388f29 36
f6da8bc3
KG
37extern int reg_or_0_operand PARAMS ((rtx, enum machine_mode));
38extern int reg_or_6bit_operand PARAMS ((rtx, enum machine_mode));
39extern int reg_or_8bit_operand PARAMS ((rtx, enum machine_mode));
6d8fd7bb 40extern int reg_or_const_int_operand PARAMS ((rtx, enum machine_mode));
f6da8bc3
KG
41extern int cint8_operand PARAMS ((rtx, enum machine_mode));
42extern int add_operand PARAMS ((rtx, enum machine_mode));
43extern int sext_add_operand PARAMS ((rtx, enum machine_mode));
44extern int const48_operand PARAMS ((rtx, enum machine_mode));
45extern int and_operand PARAMS ((rtx, enum machine_mode));
46extern int or_operand PARAMS ((rtx, enum machine_mode));
47extern int mode_width_operand PARAMS ((rtx, enum machine_mode));
48extern int mode_mask_operand PARAMS ((rtx, enum machine_mode));
49extern int mul8_operand PARAMS ((rtx, enum machine_mode));
73db7137 50extern int const0_operand PARAMS ((rtx, enum machine_mode));
f6da8bc3 51extern int hard_fp_register_operand PARAMS ((rtx, enum machine_mode));
d2c6a1b6 52extern int hard_int_register_operand PARAMS ((rtx, enum machine_mode));
f6da8bc3
KG
53extern int reg_or_cint_operand PARAMS ((rtx, enum machine_mode));
54extern int some_operand PARAMS ((rtx, enum machine_mode));
55extern int some_ni_operand PARAMS ((rtx, enum machine_mode));
56extern int input_operand PARAMS ((rtx, enum machine_mode));
57extern int current_file_function_operand PARAMS ((rtx, enum machine_mode));
1afec8ad 58extern int direct_call_operand PARAMS ((rtx, enum machine_mode));
1eb356b9 59extern int local_symbolic_operand PARAMS ((rtx, enum machine_mode));
e2c9fb9b 60extern int small_symbolic_operand PARAMS ((rtx, enum machine_mode));
a615ca3e 61extern int some_small_symbolic_operand PARAMS ((rtx, enum machine_mode));
e2c9fb9b 62extern int global_symbolic_operand PARAMS ((rtx, enum machine_mode));
6f9b006d
RH
63extern int dtp16_symbolic_operand PARAMS ((rtx, enum machine_mode));
64extern int dtp32_symbolic_operand PARAMS ((rtx, enum machine_mode));
65extern int gotdtp_symbolic_operand PARAMS ((rtx, enum machine_mode));
66extern int tp16_symbolic_operand PARAMS ((rtx, enum machine_mode));
67extern int tp32_symbolic_operand PARAMS ((rtx, enum machine_mode));
68extern int gottp_symbolic_operand PARAMS ((rtx, enum machine_mode));
f6da8bc3 69extern int call_operand PARAMS ((rtx, enum machine_mode));
30102605 70extern int symbolic_operand PARAMS ((rtx, enum machine_mode));
f6da8bc3 71extern int alpha_comparison_operator PARAMS ((rtx, enum machine_mode));
8f4773ea 72extern int alpha_zero_comparison_operator PARAMS ((rtx, enum machine_mode));
f6da8bc3
KG
73extern int alpha_swapped_comparison_operator PARAMS ((rtx, enum machine_mode));
74extern int signed_comparison_operator PARAMS ((rtx, enum machine_mode));
1eb8759b 75extern int alpha_fp_comparison_operator PARAMS ((rtx, enum machine_mode));
f6da8bc3
KG
76extern int divmod_operator PARAMS ((rtx, enum machine_mode));
77extern int aligned_memory_operand PARAMS ((rtx, enum machine_mode));
78extern int unaligned_memory_operand PARAMS ((rtx, enum machine_mode));
79extern int reg_or_unaligned_mem_operand PARAMS ((rtx, enum machine_mode));
80extern int any_memory_operand PARAMS ((rtx, enum machine_mode));
81extern int reg_not_elim_operand PARAMS ((rtx, enum machine_mode));
82extern int normal_memory_operand PARAMS ((rtx, enum machine_mode));
83extern int reg_no_subreg_operand PARAMS ((rtx, enum machine_mode));
84extern int addition_operation PARAMS ((rtx, enum machine_mode));
aa388f29 85
551cc6fd
RH
86extern bool alpha_const_ok_for_letter_p PARAMS ((HOST_WIDE_INT, int));
87extern bool alpha_const_double_ok_for_letter_p PARAMS ((rtx, int));
88extern bool alpha_extra_constraint PARAMS ((rtx, int));
89
25e21aed
RH
90extern rtx alpha_tablejump_addr_vec PARAMS ((rtx));
91extern rtx alpha_tablejump_best_label PARAMS ((rtx));
aead1ca3 92
a39bdefc 93extern bool alpha_legitimate_address_p PARAMS ((enum machine_mode, rtx, int));
aead1ca3
RH
94extern rtx alpha_legitimize_address PARAMS ((rtx, rtx, enum machine_mode));
95extern rtx alpha_legitimize_reload_address PARAMS ((rtx, enum machine_mode,
96 int, int, int));
97
a615ca3e 98extern rtx split_small_symbolic_operand PARAMS ((rtx));
551cc6fd 99
f6da8bc3
KG
100extern void get_aligned_mem PARAMS ((rtx, rtx *, rtx *));
101extern rtx get_unaligned_address PARAMS ((rtx, int));
551cc6fd
RH
102extern enum reg_class alpha_preferred_reload_class PARAMS ((rtx,
103 enum reg_class));
f6da8bc3 104extern enum reg_class secondary_reload_class PARAMS ((enum reg_class,
3611aef0
RH
105 enum machine_mode,
106 rtx, int));
551cc6fd 107
f6da8bc3
KG
108extern void alpha_set_memflags PARAMS ((rtx, rtx));
109extern rtx alpha_emit_set_const PARAMS ((rtx, enum machine_mode,
aa388f29 110 HOST_WIDE_INT, int));
f6da8bc3 111extern rtx alpha_emit_set_long_const PARAMS ((rtx, HOST_WIDE_INT,
aa388f29 112 HOST_WIDE_INT));
23296a36
RH
113extern bool alpha_expand_mov PARAMS ((enum machine_mode, rtx *));
114extern bool alpha_expand_mov_nobwx PARAMS ((enum machine_mode, rtx *));
01b9e84e 115extern void alpha_emit_floatuns PARAMS ((rtx[]));
f6da8bc3 116extern rtx alpha_emit_conditional_move PARAMS ((rtx, enum machine_mode));
628d74de 117extern void alpha_split_tfmode_pair PARAMS ((rtx[]));
f940c352
RH
118extern void alpha_split_tfmode_frobsign PARAMS ((rtx[],
119 rtx (*)(rtx, rtx, rtx)));
f6da8bc3 120extern void alpha_expand_unaligned_load PARAMS ((rtx, rtx, HOST_WIDE_INT,
aa388f29 121 HOST_WIDE_INT, int));
f6da8bc3 122extern void alpha_expand_unaligned_store PARAMS ((rtx, rtx, HOST_WIDE_INT,
aa388f29 123 HOST_WIDE_INT));
f6da8bc3
KG
124extern int alpha_expand_block_move PARAMS ((rtx []));
125extern int alpha_expand_block_clear PARAMS ((rtx []));
6d8fd7bb
RH
126extern rtx alpha_expand_zap_mask PARAMS ((HOST_WIDE_INT));
127extern void alpha_expand_builtin_vector_binop PARAMS ((rtx (*)(rtx, rtx, rtx),
128 enum machine_mode,
129 rtx, rtx, rtx));
f6da8bc3 130extern rtx alpha_return_addr PARAMS ((int, rtx));
ccb83cbc 131extern rtx alpha_gp_save_rtx PARAMS ((void));
f6da8bc3
KG
132extern void print_operand PARAMS ((FILE *, rtx, int));
133extern void print_operand_address PARAMS ((FILE *, rtx));
134extern void alpha_initialize_trampoline PARAMS ((rtx, rtx, rtx, int, int, int));
135extern void alpha_reorg PARAMS ((rtx));
6933647a
RH
136
137extern tree alpha_build_va_list PARAMS ((void));
e5faf155 138extern void alpha_va_start PARAMS ((tree, rtx));
6933647a
RH
139extern rtx alpha_va_arg PARAMS ((tree, tree));
140extern rtx function_arg PARAMS ((CUMULATIVE_ARGS, enum machine_mode,
141 tree, int));
142extern void alpha_start_function PARAMS ((FILE *, const char *, tree));
143extern void alpha_end_function PARAMS ((FILE *, const char *, tree));
eb0424da 144extern void alpha_output_mi_thunk_osf PARAMS ((FILE *, tree, HOST_WIDE_INT, tree));
aa388f29
RH
145
146#ifdef REAL_VALUE_TYPE
f6da8bc3 147extern int check_float_value PARAMS ((enum machine_mode,
6933647a
RH
148 REAL_VALUE_TYPE *, int));
149#endif
150
151#ifdef RTX_CODE
152extern rtx alpha_emit_conditional_branch PARAMS ((enum rtx_code));
153extern rtx alpha_emit_setcc PARAMS ((enum rtx_code));
154extern int alpha_split_conditional_move PARAMS ((enum rtx_code, rtx, rtx,
155 rtx, rtx));
156extern void alpha_emit_xfloating_arith PARAMS ((enum rtx_code, rtx[]));
157extern void alpha_emit_xfloating_cvt PARAMS ((enum rtx_code, rtx[]));
aa388f29
RH
158#endif
159
6933647a 160extern rtx alpha_need_linkage PARAMS ((const char *, int));
1330f7d5 161extern rtx alpha_use_linkage PARAMS ((rtx, tree, int, int));
6933647a 162
be7b80f4 163#if TARGET_ABI_OPEN_VMS
aa388f29 164#ifdef HAVE_MACHINE_MODES
f6da8bc3 165extern enum avms_arg_type alpha_arg_type PARAMS ((enum machine_mode));
aa388f29 166#endif
f6da8bc3 167extern rtx alpha_arg_info_reg_val PARAMS ((CUMULATIVE_ARGS));
be7b80f4 168#endif /* TARGET_ABI_OPEN_VMS */
aa388f29 169
30102605 170extern rtx unicosmk_add_call_info_word PARAMS ((rtx));
30102605
RH
171
172#if TARGET_ABI_UNICOSMK
30102605 173extern void unicosmk_defer_case_vector PARAMS ((rtx, rtx));
30102605
RH
174extern void unicosmk_add_extern PARAMS ((const char *));
175extern void unicosmk_output_align PARAMS ((FILE *, int));
176extern char * unicosmk_text_section PARAMS ((void));
177extern char * unicosmk_data_section PARAMS ((void));
178extern void unicosmk_asm_file_start PARAMS ((FILE *));
179extern void unicosmk_asm_file_end PARAMS ((FILE *));
180extern void unicosmk_output_common PARAMS ((FILE *, const char *, int, int));
181#endif /* TARGET_ABI_UNICOSMK */
This page took 0.600741 seconds and 5 git commands to generate.