Mercurial > hg > CbC > CbC_gcc
annotate gcc/config/alpha/alpha-protos.h @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
rev | line source |
---|---|
0 | 1 /* Prototypes for alpha.c functions used in the md file & elsewhere. |
131 | 2 Copyright (C) 1999-2018 Free Software Foundation, Inc. |
0 | 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 int direct_return (void); | |
25 | |
26 extern int alpha_sa_size (void); | |
27 extern HOST_WIDE_INT alpha_initial_elimination_offset (unsigned int, | |
28 unsigned int); | |
29 extern void alpha_expand_prologue (void); | |
30 extern void alpha_expand_epilogue (void); | |
31 extern void alpha_output_filename (FILE *, const char *); | |
32 | |
111 | 33 extern bool alpha_legitimate_constant_p (machine_mode, rtx); |
34 extern rtx alpha_legitimize_reload_address (rtx, machine_mode, | |
0 | 35 int, int, int); |
36 | |
37 extern rtx split_small_symbolic_operand (rtx); | |
38 | |
39 extern void get_aligned_mem (rtx, rtx *, rtx *); | |
40 extern rtx get_unaligned_address (rtx); | |
41 extern rtx get_unaligned_offset (rtx, HOST_WIDE_INT); | |
42 extern enum reg_class alpha_preferred_reload_class (rtx, enum reg_class); | |
43 | |
44 extern void alpha_set_memflags (rtx, rtx); | |
111 | 45 extern bool alpha_split_const_mov (machine_mode, rtx *); |
46 extern bool alpha_expand_mov (machine_mode, rtx *); | |
47 extern bool alpha_expand_mov_nobwx (machine_mode, rtx *); | |
48 extern void alpha_expand_movmisalign (machine_mode, rtx *); | |
0 | 49 extern void alpha_emit_floatuns (rtx[]); |
111 | 50 extern rtx alpha_emit_conditional_move (rtx, machine_mode); |
51 extern void alpha_split_tmode_pair (rtx[], machine_mode, bool); | |
0 | 52 extern void alpha_split_tfmode_frobsign (rtx[], rtx (*)(rtx, rtx, rtx)); |
53 extern void alpha_expand_unaligned_load (rtx, rtx, HOST_WIDE_INT, | |
54 HOST_WIDE_INT, int); | |
55 extern void alpha_expand_unaligned_store (rtx, rtx, HOST_WIDE_INT, | |
56 HOST_WIDE_INT); | |
57 extern int alpha_expand_block_move (rtx []); | |
58 extern int alpha_expand_block_clear (rtx []); | |
59 extern rtx alpha_expand_zap_mask (HOST_WIDE_INT); | |
60 extern void alpha_expand_builtin_vector_binop (rtx (*)(rtx, rtx, rtx), | |
111 | 61 machine_mode, |
0 | 62 rtx, rtx, rtx); |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
63 extern void alpha_expand_builtin_establish_vms_condition_handler (rtx, rtx); |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
64 extern void alpha_expand_builtin_revert_vms_condition_handler (rtx); |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
65 |
0 | 66 extern rtx alpha_return_addr (int, rtx); |
67 extern rtx alpha_gp_save_rtx (void); | |
68 extern void alpha_initialize_trampoline (rtx, rtx, rtx, int, int, int); | |
69 | |
70 extern rtx alpha_va_arg (tree, tree); | |
71 | |
72 extern void alpha_start_function (FILE *, const char *, tree); | |
73 extern void alpha_end_function (FILE *, const char *, tree); | |
74 | |
111 | 75 extern bool alpha_find_lo_sum_using_gp (rtx); |
0 | 76 |
77 #ifdef REAL_VALUE_TYPE | |
111 | 78 extern int check_float_value (machine_mode, REAL_VALUE_TYPE *, int); |
0 | 79 #endif |
80 | |
81 #ifdef RTX_CODE | |
111 | 82 extern void alpha_emit_conditional_branch (rtx[], machine_mode); |
83 extern bool alpha_emit_setcc (rtx[], machine_mode); | |
0 | 84 extern int alpha_split_conditional_move (enum rtx_code, rtx, rtx, rtx, rtx); |
85 extern void alpha_emit_xfloating_arith (enum rtx_code, rtx[]); | |
86 extern void alpha_emit_xfloating_cvt (enum rtx_code, rtx[]); | |
111 | 87 extern void alpha_split_atomic_op (enum rtx_code, rtx, rtx, rtx, rtx, rtx, |
88 enum memmodel); | |
89 extern void alpha_split_compare_and_swap (rtx op[]); | |
90 extern void alpha_expand_compare_and_swap_12 (rtx op[]); | |
91 extern void alpha_split_compare_and_swap_12 (rtx op[]); | |
92 extern void alpha_split_atomic_exchange (rtx op[]); | |
93 extern void alpha_expand_atomic_exchange_12 (rtx op[]); | |
94 extern void alpha_split_atomic_exchange_12 (rtx op[]); | |
0 | 95 #endif |
96 | |
111 | 97 extern rtx alpha_use_linkage (rtx, bool, bool); |
0 | 98 |
99 #if TARGET_ABI_OPEN_VMS | |
111 | 100 extern enum avms_arg_type alpha_arg_type (machine_mode); |
0 | 101 extern rtx alpha_arg_info_reg_val (CUMULATIVE_ARGS); |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
102 extern void avms_asm_output_external (FILE *, tree, const char *); |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
103 extern void vms_output_aligned_decl_common (FILE *, tree, const char *, |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
104 unsigned HOST_WIDE_INT, |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
105 unsigned int); |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
106 extern HOST_WIDE_INT alpha_vms_initial_elimination_offset (unsigned int, |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
107 unsigned int); |
0 | 108 #endif |
109 | |
110 extern rtx unicosmk_add_call_info_word (rtx); | |
111 | |
111 | 112 extern bool some_small_symbolic_operand_int (rtx); |
0 | 113 extern int tls_symbolic_operand_1 (rtx, int, int); |
114 extern rtx resolve_reload_operand (rtx); | |
111 | 115 |
116 namespace gcc { class context; } | |
117 class rtl_opt_pass; | |
118 | |
119 extern rtl_opt_pass *make_pass_handle_trap_shadows (gcc::context *); | |
120 extern rtl_opt_pass *make_pass_align_insns (gcc::context *); |