1 |
282 |
jeremybenn |
/* Prototypes for alpha.c functions used in the md file & elsewhere.
|
2 |
|
|
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2009
|
3 |
|
|
Free Software Foundation, Inc.
|
4 |
|
|
|
5 |
|
|
This file is part of GCC.
|
6 |
|
|
|
7 |
|
|
GCC is free software; you can redistribute it and/or modify
|
8 |
|
|
it under the terms of the GNU General Public License as published by
|
9 |
|
|
the Free Software Foundation; either version 3, or (at your option)
|
10 |
|
|
any later version.
|
11 |
|
|
|
12 |
|
|
GCC is distributed in the hope that it will be useful,
|
13 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15 |
|
|
GNU General Public License for more details.
|
16 |
|
|
|
17 |
|
|
You should have received a copy of the GNU General Public License
|
18 |
|
|
along with GCC; see the file COPYING3. If not see
|
19 |
|
|
<http://www.gnu.org/licenses/>. */
|
20 |
|
|
|
21 |
|
|
extern int alpha_next_sequence_number;
|
22 |
|
|
|
23 |
|
|
extern void literal_section (void);
|
24 |
|
|
extern void override_options (void);
|
25 |
|
|
extern int zap_mask (HOST_WIDE_INT);
|
26 |
|
|
extern int direct_return (void);
|
27 |
|
|
|
28 |
|
|
extern int alpha_sa_size (void);
|
29 |
|
|
extern HOST_WIDE_INT alpha_initial_elimination_offset (unsigned int,
|
30 |
|
|
unsigned int);
|
31 |
|
|
extern void alpha_expand_prologue (void);
|
32 |
|
|
extern void alpha_expand_epilogue (void);
|
33 |
|
|
extern void alpha_output_filename (FILE *, const char *);
|
34 |
|
|
|
35 |
|
|
extern rtx alpha_tablejump_addr_vec (rtx);
|
36 |
|
|
extern rtx alpha_tablejump_best_label (rtx);
|
37 |
|
|
|
38 |
|
|
extern bool alpha_legitimate_constant_p (rtx);
|
39 |
|
|
extern rtx alpha_legitimize_reload_address (rtx, enum machine_mode,
|
40 |
|
|
int, int, int);
|
41 |
|
|
|
42 |
|
|
extern rtx split_small_symbolic_operand (rtx);
|
43 |
|
|
|
44 |
|
|
extern void get_aligned_mem (rtx, rtx *, rtx *);
|
45 |
|
|
extern rtx get_unaligned_address (rtx);
|
46 |
|
|
extern rtx get_unaligned_offset (rtx, HOST_WIDE_INT);
|
47 |
|
|
extern enum reg_class alpha_preferred_reload_class (rtx, enum reg_class);
|
48 |
|
|
|
49 |
|
|
extern void alpha_set_memflags (rtx, rtx);
|
50 |
|
|
extern bool alpha_split_const_mov (enum machine_mode, rtx *);
|
51 |
|
|
extern bool alpha_expand_mov (enum machine_mode, rtx *);
|
52 |
|
|
extern bool alpha_expand_mov_nobwx (enum machine_mode, rtx *);
|
53 |
|
|
extern void alpha_expand_movmisalign (enum machine_mode, rtx *);
|
54 |
|
|
extern void alpha_emit_floatuns (rtx[]);
|
55 |
|
|
extern rtx alpha_emit_conditional_move (rtx, enum machine_mode);
|
56 |
|
|
extern void alpha_split_tmode_pair (rtx[], enum machine_mode, bool);
|
57 |
|
|
extern void alpha_split_tfmode_frobsign (rtx[], rtx (*)(rtx, rtx, rtx));
|
58 |
|
|
extern void alpha_expand_unaligned_load (rtx, rtx, HOST_WIDE_INT,
|
59 |
|
|
HOST_WIDE_INT, int);
|
60 |
|
|
extern void alpha_expand_unaligned_store (rtx, rtx, HOST_WIDE_INT,
|
61 |
|
|
HOST_WIDE_INT);
|
62 |
|
|
extern int alpha_expand_block_move (rtx []);
|
63 |
|
|
extern int alpha_expand_block_clear (rtx []);
|
64 |
|
|
extern rtx alpha_expand_zap_mask (HOST_WIDE_INT);
|
65 |
|
|
extern void alpha_expand_builtin_vector_binop (rtx (*)(rtx, rtx, rtx),
|
66 |
|
|
enum machine_mode,
|
67 |
|
|
rtx, rtx, rtx);
|
68 |
|
|
extern void alpha_expand_builtin_establish_vms_condition_handler (rtx, rtx);
|
69 |
|
|
extern void alpha_expand_builtin_revert_vms_condition_handler (rtx);
|
70 |
|
|
|
71 |
|
|
extern rtx alpha_return_addr (int, rtx);
|
72 |
|
|
extern rtx alpha_gp_save_rtx (void);
|
73 |
|
|
extern void print_operand (FILE *, rtx, int);
|
74 |
|
|
extern void print_operand_address (FILE *, rtx);
|
75 |
|
|
extern void alpha_initialize_trampoline (rtx, rtx, rtx, int, int, int);
|
76 |
|
|
|
77 |
|
|
extern rtx alpha_va_arg (tree, tree);
|
78 |
|
|
extern rtx function_arg (CUMULATIVE_ARGS, enum machine_mode, tree, int);
|
79 |
|
|
extern rtx function_value (const_tree, const_tree, enum machine_mode);
|
80 |
|
|
|
81 |
|
|
extern void alpha_start_function (FILE *, const char *, tree);
|
82 |
|
|
extern void alpha_end_function (FILE *, const char *, tree);
|
83 |
|
|
|
84 |
|
|
extern int alpha_find_lo_sum_using_gp (rtx);
|
85 |
|
|
|
86 |
|
|
#ifdef REAL_VALUE_TYPE
|
87 |
|
|
extern int check_float_value (enum machine_mode, REAL_VALUE_TYPE *, int);
|
88 |
|
|
#endif
|
89 |
|
|
|
90 |
|
|
#ifdef RTX_CODE
|
91 |
|
|
extern void alpha_emit_conditional_branch (rtx[], enum machine_mode);
|
92 |
|
|
extern bool alpha_emit_setcc (rtx[], enum machine_mode);
|
93 |
|
|
extern int alpha_split_conditional_move (enum rtx_code, rtx, rtx, rtx, rtx);
|
94 |
|
|
extern void alpha_emit_xfloating_arith (enum rtx_code, rtx[]);
|
95 |
|
|
extern void alpha_emit_xfloating_cvt (enum rtx_code, rtx[]);
|
96 |
|
|
extern void alpha_split_atomic_op (enum rtx_code, rtx, rtx, rtx, rtx, rtx);
|
97 |
|
|
extern void alpha_split_compare_and_swap (rtx, rtx, rtx, rtx, rtx);
|
98 |
|
|
extern void alpha_expand_compare_and_swap_12 (rtx, rtx, rtx, rtx);
|
99 |
|
|
extern void alpha_split_compare_and_swap_12 (enum machine_mode, rtx, rtx,
|
100 |
|
|
rtx, rtx, rtx, rtx, rtx);
|
101 |
|
|
extern void alpha_split_lock_test_and_set (rtx, rtx, rtx, rtx);
|
102 |
|
|
extern void alpha_expand_lock_test_and_set_12 (rtx, rtx, rtx);
|
103 |
|
|
extern void alpha_split_lock_test_and_set_12 (enum machine_mode, rtx, rtx,
|
104 |
|
|
rtx, rtx, rtx);
|
105 |
|
|
#endif
|
106 |
|
|
|
107 |
|
|
extern rtx alpha_need_linkage (const char *, int);
|
108 |
|
|
extern rtx alpha_use_linkage (rtx, tree, int, int);
|
109 |
|
|
|
110 |
|
|
#if TARGET_ABI_OPEN_VMS
|
111 |
|
|
extern enum avms_arg_type alpha_arg_type (enum machine_mode);
|
112 |
|
|
extern rtx alpha_arg_info_reg_val (CUMULATIVE_ARGS);
|
113 |
|
|
extern void avms_asm_output_external (FILE *, tree, const char *);
|
114 |
|
|
extern void vms_output_aligned_decl_common (FILE *, tree, const char *,
|
115 |
|
|
unsigned HOST_WIDE_INT,
|
116 |
|
|
unsigned int);
|
117 |
|
|
extern HOST_WIDE_INT alpha_vms_initial_elimination_offset (unsigned int,
|
118 |
|
|
unsigned int);
|
119 |
|
|
#endif
|
120 |
|
|
|
121 |
|
|
extern rtx unicosmk_add_call_info_word (rtx);
|
122 |
|
|
|
123 |
|
|
#if TARGET_ABI_UNICOSMK
|
124 |
|
|
extern void unicosmk_defer_case_vector (rtx, rtx);
|
125 |
|
|
extern void unicosmk_add_extern (const char *);
|
126 |
|
|
extern void unicosmk_output_align (FILE *, int);
|
127 |
|
|
extern void unicosmk_output_common (FILE *, const char *, int, int);
|
128 |
|
|
extern int unicosmk_initial_elimination_offset (int, int);
|
129 |
|
|
#endif
|
130 |
|
|
|
131 |
|
|
extern int some_small_symbolic_operand_int (rtx *, void *);
|
132 |
|
|
extern int tls_symbolic_operand_1 (rtx, int, int);
|
133 |
|
|
extern rtx resolve_reload_operand (rtx);
|