]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/alpha/alpha-protos.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / alpha / alpha-protos.h
1 /* Prototypes for alpha.cc functions used in the md file & elsewhere.
2 Copyright (C) 1999-2024 Free Software Foundation, Inc.
3
4 This file is part of GCC.
5
6 GCC 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 3, or (at your option)
9 any later version.
10
11 GCC 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 GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
19
20 extern int alpha_next_sequence_number;
21
22 extern void literal_section (void);
23 extern int zap_mask (HOST_WIDE_INT);
24 extern bool direct_return (void);
25
26 extern HOST_WIDE_INT alpha_initial_elimination_offset (unsigned int,
27 unsigned int);
28 extern void alpha_expand_prologue (void);
29 extern void alpha_expand_epilogue (void);
30 extern void alpha_output_filename (FILE *, const char *);
31
32 extern bool alpha_legitimate_constant_p (machine_mode, rtx);
33 extern rtx alpha_legitimize_reload_address (rtx, machine_mode,
34 int, int, int);
35
36 extern rtx split_small_symbolic_operand (rtx);
37
38 extern void get_aligned_mem (rtx, rtx *, rtx *);
39 extern rtx get_unaligned_address (rtx);
40 extern rtx get_unaligned_offset (rtx, HOST_WIDE_INT);
41 extern enum reg_class alpha_preferred_reload_class (rtx, enum reg_class);
42
43 extern void alpha_set_memflags (rtx, rtx);
44 extern bool alpha_split_const_mov (machine_mode, rtx *);
45 extern bool alpha_expand_mov (machine_mode, rtx *);
46 extern bool alpha_expand_mov_nobwx (machine_mode, rtx *);
47 extern void alpha_expand_movmisalign (machine_mode, rtx *);
48 extern void alpha_emit_floatuns (rtx[]);
49 extern rtx alpha_emit_conditional_move (rtx, machine_mode);
50 extern void alpha_split_tmode_pair (rtx[], machine_mode, bool);
51 extern void alpha_split_tfmode_frobsign (rtx[], rtx (*)(rtx, rtx, rtx));
52 extern void alpha_expand_unaligned_load (rtx, rtx, HOST_WIDE_INT,
53 HOST_WIDE_INT, int);
54 extern void alpha_expand_unaligned_store (rtx, rtx, HOST_WIDE_INT,
55 HOST_WIDE_INT);
56 extern int alpha_expand_block_move (rtx []);
57 extern int alpha_expand_block_clear (rtx []);
58 extern rtx alpha_expand_zap_mask (HOST_WIDE_INT);
59 extern void alpha_expand_builtin_vector_binop (rtx (*)(rtx, rtx, rtx),
60 machine_mode,
61 rtx, rtx, rtx);
62 extern void alpha_expand_builtin_establish_vms_condition_handler (rtx, rtx);
63 extern void alpha_expand_builtin_revert_vms_condition_handler (rtx);
64
65 extern rtx alpha_return_addr (int, rtx);
66 extern rtx alpha_gp_save_rtx (void);
67 extern void alpha_initialize_trampoline (rtx, rtx, rtx, int, int, int);
68
69 extern rtx alpha_va_arg (tree, tree);
70
71 extern void alpha_start_function (FILE *, const char *, tree);
72 extern void alpha_end_function (FILE *, const char *, tree);
73
74 extern bool alpha_find_lo_sum_using_gp (rtx);
75
76 extern int alpha_store_data_bypass_p (rtx_insn *, rtx_insn *);
77
78 #ifdef REAL_VALUE_TYPE
79 extern int check_float_value (machine_mode, REAL_VALUE_TYPE *, int);
80 #endif
81
82 #ifdef RTX_CODE
83 extern void alpha_emit_conditional_branch (rtx[], machine_mode);
84 extern bool alpha_emit_setcc (rtx[], machine_mode);
85 extern int alpha_split_conditional_move (enum rtx_code, rtx, rtx, rtx, rtx);
86 extern void alpha_emit_xfloating_arith (enum rtx_code, rtx[]);
87 extern void alpha_emit_xfloating_cvt (enum rtx_code, rtx[]);
88 extern void alpha_split_atomic_op (enum rtx_code, rtx, rtx, rtx, rtx, rtx,
89 enum memmodel);
90 extern void alpha_split_compare_and_swap (rtx op[]);
91 extern void alpha_expand_compare_and_swap_12 (rtx op[]);
92 extern void alpha_split_compare_and_swap_12 (rtx op[]);
93 extern void alpha_split_atomic_exchange (rtx op[]);
94 extern void alpha_expand_atomic_exchange_12 (rtx op[]);
95 extern void alpha_split_atomic_exchange_12 (rtx op[]);
96 #endif
97
98 extern rtx alpha_use_linkage (rtx, bool, bool);
99
100 #if TARGET_ABI_OPEN_VMS
101 extern enum avms_arg_type alpha_arg_type (machine_mode);
102 extern rtx alpha_arg_info_reg_val (CUMULATIVE_ARGS);
103 extern void avms_asm_output_external (FILE *, tree, const char *);
104 extern void vms_output_aligned_decl_common (FILE *, tree, const char *,
105 unsigned HOST_WIDE_INT,
106 unsigned int);
107 extern HOST_WIDE_INT alpha_vms_initial_elimination_offset (unsigned int,
108 unsigned int);
109 #endif
110
111 extern rtx unicosmk_add_call_info_word (rtx);
112
113 extern bool some_small_symbolic_operand_int (rtx);
114 extern int tls_symbolic_operand_1 (rtx, int, int);
115 extern rtx resolve_reload_operand (rtx);
116
117 namespace gcc { class context; }
118 class rtl_opt_pass;
119
120 extern rtl_opt_pass *make_pass_handle_trap_shadows (gcc::context *);
121 extern rtl_opt_pass *make_pass_align_insns (gcc::context *);