OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [arm/] [arm-protos.h] - Blame information for rev 858

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* Prototypes for exported functions defined in arm.c and pe.c
2
   Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007
3
   Free Software Foundation, Inc.
4
   Contributed by Richard Earnshaw (rearnsha@arm.com)
5
   Minor hacks by Nick Clifton (nickc@cygnus.com)
6
 
7
   This file is part of GCC.
8
 
9
   GCC is free software; you can redistribute it and/or modify
10
   it under the terms of the GNU General Public License as published by
11
   the Free Software Foundation; either version 3, or (at your option)
12
   any later version.
13
 
14
   GCC is distributed in the hope that it will be useful,
15
   but WITHOUT ANY WARRANTY; without even the implied warranty of
16
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
   GNU General Public License for more details.
18
 
19
   You should have received a copy of the GNU General Public License
20
   along with GCC; see the file COPYING3.  If not see
21
   <http://www.gnu.org/licenses/>.  */
22
 
23
#ifndef GCC_ARM_PROTOS_H
24
#define GCC_ARM_PROTOS_H
25
 
26
extern void arm_override_options (void);
27
extern int use_return_insn (int, rtx);
28
extern int arm_regno_class (int);
29
extern void arm_load_pic_register (unsigned long);
30
extern int arm_volatile_func (void);
31
extern const char *arm_output_epilogue (rtx);
32
extern void arm_expand_prologue (void);
33
extern const char *arm_strip_name_encoding (const char *);
34
extern void arm_asm_output_labelref (FILE *, const char *);
35
extern unsigned long arm_current_func_type (void);
36
extern HOST_WIDE_INT arm_compute_initial_elimination_offset (unsigned int,
37
                                                             unsigned int);
38
extern HOST_WIDE_INT thumb_compute_initial_elimination_offset (unsigned int,
39
                                                               unsigned int);
40
extern unsigned int arm_dbx_register_number (unsigned int);
41
extern void arm_output_fn_unwind (FILE *, bool);
42
 
43
 
44
#ifdef TREE_CODE
45
extern int arm_return_in_memory (tree);
46
extern void arm_encode_call_attribute (tree, int);
47
#endif
48
#ifdef RTX_CODE
49
extern bool arm_vector_mode_supported_p (enum machine_mode);
50
extern int arm_hard_regno_mode_ok (unsigned int, enum machine_mode);
51
extern int const_ok_for_arm (HOST_WIDE_INT);
52
extern int arm_split_constant (RTX_CODE, enum machine_mode, rtx,
53
                               HOST_WIDE_INT, rtx, rtx, int);
54
extern RTX_CODE arm_canonicalize_comparison (RTX_CODE, enum machine_mode,
55
                                             rtx *);
56
extern int legitimate_pic_operand_p (rtx);
57
extern rtx legitimize_pic_address (rtx, enum machine_mode, rtx);
58
extern rtx legitimize_tls_address (rtx, rtx);
59
extern int arm_legitimate_address_p  (enum machine_mode, rtx, RTX_CODE, int);
60
extern int thumb_legitimate_address_p (enum machine_mode, rtx, int);
61
extern int thumb_legitimate_offset_p (enum machine_mode, HOST_WIDE_INT);
62
extern rtx arm_legitimize_address (rtx, rtx, enum machine_mode);
63
extern rtx thumb_legitimize_address (rtx, rtx, enum machine_mode);
64
extern rtx thumb_legitimize_reload_address (rtx *, enum machine_mode, int, int,
65
                                            int);
66
extern int arm_const_double_rtx (rtx);
67
extern int neg_const_double_rtx_ok_for_fpa (rtx);
68
extern enum reg_class coproc_secondary_reload_class (enum machine_mode, rtx,
69
                                                     bool);
70
extern bool arm_tls_referenced_p (rtx);
71
 
72
extern int cirrus_memory_offset (rtx);
73
extern int arm_coproc_mem_operand (rtx, bool);
74
extern int arm_no_early_store_addr_dep (rtx, rtx);
75
extern int arm_no_early_alu_shift_dep (rtx, rtx);
76
extern int arm_no_early_alu_shift_value_dep (rtx, rtx);
77
extern int arm_no_early_mul_dep (rtx, rtx);
78
 
79
extern int tls_mentioned_p (rtx);
80
extern int symbol_mentioned_p (rtx);
81
extern int label_mentioned_p (rtx);
82
extern RTX_CODE minmax_code (rtx);
83
extern int adjacent_mem_locations (rtx, rtx);
84
extern int load_multiple_sequence (rtx *, int, int *, int *, HOST_WIDE_INT *);
85
extern const char *emit_ldm_seq (rtx *, int);
86
extern int store_multiple_sequence (rtx *, int, int *, int *, HOST_WIDE_INT *);
87
extern const char * emit_stm_seq (rtx *, int);
88
extern rtx arm_gen_load_multiple (int, int, rtx, int, int,
89
                                  rtx, HOST_WIDE_INT *);
90
extern rtx arm_gen_store_multiple (int, int, rtx, int, int,
91
                                   rtx, HOST_WIDE_INT *);
92
extern int arm_gen_movmemqi (rtx *);
93
extern enum machine_mode arm_select_cc_mode (RTX_CODE, rtx, rtx);
94
extern enum machine_mode arm_select_dominance_cc_mode (rtx, rtx,
95
                                                       HOST_WIDE_INT);
96
extern rtx arm_gen_compare_reg (RTX_CODE, rtx, rtx);
97
extern rtx arm_gen_return_addr_mask (void);
98
extern void arm_reload_in_hi (rtx *);
99
extern void arm_reload_out_hi (rtx *);
100
extern int arm_const_double_inline_cost (rtx);
101
extern bool arm_const_double_by_parts (rtx);
102
extern const char *fp_immediate_constant (rtx);
103
extern const char *output_call (rtx *);
104
extern const char *output_call_mem (rtx *);
105
extern const char *output_mov_long_double_fpa_from_arm (rtx *);
106
extern const char *output_mov_long_double_arm_from_fpa (rtx *);
107
extern const char *output_mov_long_double_arm_from_arm (rtx *);
108
extern const char *output_mov_double_fpa_from_arm (rtx *);
109
extern const char *output_mov_double_arm_from_fpa (rtx *);
110
extern const char *output_move_double (rtx *);
111
extern const char *output_add_immediate (rtx *);
112
extern const char *arithmetic_instr (rtx, int);
113
extern void output_ascii_pseudo_op (FILE *, const unsigned char *, int);
114
extern const char *output_return_instruction (rtx, int, int);
115
extern void arm_poke_function_name (FILE *, const char *);
116
extern void arm_print_operand (FILE *, rtx, int);
117
extern void arm_print_operand_address (FILE *, rtx);
118
extern void arm_final_prescan_insn (rtx);
119
extern int arm_go_if_legitimate_address (enum machine_mode, rtx);
120
extern int arm_debugger_arg_offset (int, rtx);
121
extern int arm_is_longcall_p (rtx, int, int);
122
extern int    arm_emit_vector_const (FILE *, rtx);
123
extern const char * arm_output_load_gr (rtx *);
124
extern const char *vfp_output_fstmx (rtx *);
125
extern void arm_set_return_address (rtx, rtx);
126
extern int arm_eliminable_register (rtx);
127
 
128
extern bool arm_output_addr_const_extra (FILE *, rtx);
129
 
130
#if defined TREE_CODE
131
extern rtx arm_function_arg (CUMULATIVE_ARGS *, enum machine_mode, tree, int);
132
extern void arm_init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx, tree);
133
extern bool arm_pad_arg_upward (enum machine_mode, tree);
134
extern bool arm_pad_reg_upward (enum machine_mode, tree, int);
135
extern bool arm_needs_doubleword_align (enum machine_mode, tree);
136
extern rtx arm_function_value(tree, tree);
137
#endif
138
extern int arm_apply_result_size (void);
139
 
140
#if defined AOF_ASSEMBLER
141
extern rtx aof_pic_entry (rtx);
142
extern void aof_add_import (const char *);
143
extern void aof_delete_import (const char *);
144
extern void zero_init_section (void);
145
#endif /* AOF_ASSEMBLER */
146
 
147
#endif /* RTX_CODE */
148
 
149
extern int arm_float_words_big_endian (void);
150
 
151
/* Thumb functions.  */
152
extern void arm_init_expanders (void);
153
extern const char *thumb_unexpanded_epilogue (void);
154
extern void thumb_expand_prologue (void);
155
extern void thumb_expand_epilogue (void);
156
#ifdef TREE_CODE
157
extern int is_called_in_ARM_mode (tree);
158
#endif
159
extern int thumb_shiftable_const (unsigned HOST_WIDE_INT);
160
#ifdef RTX_CODE
161
extern void thumb_final_prescan_insn (rtx);
162
extern const char *thumb_load_double_from_address (rtx *);
163
extern const char *thumb_output_move_mem_multiple (int, rtx *);
164
extern const char *thumb_call_via_reg (rtx);
165
extern void thumb_expand_movmemqi (rtx *);
166
extern int thumb_go_if_legitimate_address (enum machine_mode, rtx);
167
extern rtx arm_return_addr (int, rtx);
168
extern void thumb_reload_out_hi (rtx *);
169
extern void thumb_reload_in_hi (rtx *);
170
extern void thumb_set_return_address (rtx, rtx);
171
#endif
172
 
173
/* Defined in pe.c.  */
174
extern int arm_dllexport_name_p (const char *);
175
extern int arm_dllimport_name_p (const char *);
176
 
177
#ifdef TREE_CODE
178
extern void arm_pe_unique_section (tree, int);
179
extern void arm_pe_encode_section_info (tree, rtx, int);
180
extern int arm_dllexport_p (tree);
181
extern int arm_dllimport_p (tree);
182
extern void arm_mark_dllexport (tree);
183
extern void arm_mark_dllimport (tree);
184
#endif
185
 
186
extern void arm_pr_long_calls (struct cpp_reader *);
187
extern void arm_pr_no_long_calls (struct cpp_reader *);
188
extern void arm_pr_long_calls_off (struct cpp_reader *);
189
 
190
#endif /* ! GCC_ARM_PROTOS_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.