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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 38 julius
/* Definitions of target machine for GCC for IA-32.
2
   Copyright (C) 1988, 1992, 1994, 1995, 1996, 1996, 1997, 1998, 1999,
3
   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4
   Free Software Foundation, Inc.
5
 
6
This file is part of GCC.
7
 
8
GCC is free software; you can redistribute it and/or modify
9
it under the terms of the GNU General Public License as published by
10
the Free Software Foundation; either version 3, or (at your option)
11
any later version.
12
 
13
GCC is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
GNU General Public License for more details.
17
 
18
You should have received a copy of the GNU General Public License
19
along with GCC; see the file COPYING3.  If not see
20
<http://www.gnu.org/licenses/>.  */
21
 
22
/* Functions in i386.c */
23
extern void override_options (void);
24
extern void optimization_options (int, int);
25
 
26
extern int ix86_can_use_return_insn_p (void);
27
extern int ix86_frame_pointer_required (void);
28
extern void ix86_setup_frame_addresses (void);
29
 
30
extern void ix86_file_end (void);
31
extern HOST_WIDE_INT ix86_initial_elimination_offset (int, int);
32
extern void ix86_expand_prologue (void);
33
extern void ix86_expand_epilogue (int);
34
 
35
extern void ix86_output_addr_vec_elt (FILE *, int);
36
extern void ix86_output_addr_diff_elt (FILE *, int, int);
37
 
38
#ifdef RTX_CODE
39
extern int ix86_aligned_p (rtx);
40
 
41
extern int standard_80387_constant_p (rtx);
42
extern const char *standard_80387_constant_opcode (rtx);
43
extern rtx standard_80387_constant_rtx (int);
44
extern int standard_sse_constant_p (rtx);
45
extern const char *standard_sse_constant_opcode (rtx, rtx);
46
extern int symbolic_reference_mentioned_p (rtx);
47
extern bool extended_reg_mentioned_p (rtx);
48
extern bool x86_extended_QIreg_mentioned_p (rtx);
49
extern bool x86_extended_reg_mentioned_p (rtx);
50
extern enum machine_mode ix86_cc_mode (enum rtx_code, rtx, rtx);
51
 
52
extern int ix86_expand_movmem (rtx, rtx, rtx, rtx);
53
extern int ix86_expand_clrmem (rtx, rtx, rtx);
54
extern int ix86_expand_strlen (rtx, rtx, rtx, rtx);
55
 
56
extern bool legitimate_constant_p (rtx);
57
extern bool constant_address_p (rtx);
58
extern bool legitimate_pic_operand_p (rtx);
59
extern int legitimate_pic_address_disp_p (rtx);
60
extern int legitimate_address_p (enum machine_mode, rtx, int);
61
extern rtx legitimize_address (rtx, rtx, enum machine_mode);
62
 
63
extern void print_reg (rtx, int, FILE*);
64
extern void print_operand (FILE*, rtx, int);
65
extern void print_operand_address (FILE*, rtx);
66
extern bool output_addr_const_extra (FILE*, rtx);
67
 
68
extern void split_di (rtx[], int, rtx[], rtx[]);
69
extern void split_ti (rtx[], int, rtx[], rtx[]);
70
 
71
extern const char *output_set_got (rtx, rtx);
72
extern const char *output_387_binary_op (rtx, rtx*);
73
extern const char *output_387_reg_move (rtx, rtx*);
74
extern const char *output_fix_trunc (rtx, rtx*, int);
75
extern const char *output_fp_compare (rtx, rtx*, int, int);
76
 
77
extern void ix86_expand_clear (rtx);
78
extern void ix86_expand_move (enum machine_mode, rtx[]);
79
extern void ix86_expand_vector_move (enum machine_mode, rtx[]);
80
extern void ix86_expand_vector_move_misalign (enum machine_mode, rtx[]);
81
extern void ix86_expand_push (enum machine_mode, rtx);
82
extern rtx ix86_fixup_binary_operands (enum rtx_code,
83
                                       enum machine_mode, rtx[]);
84
extern void ix86_fixup_binary_operands_no_copy (enum rtx_code,
85
                                                enum machine_mode, rtx[]);
86
extern void ix86_expand_binary_operator (enum rtx_code,
87
                                         enum machine_mode, rtx[]);
88
extern int ix86_binary_operator_ok (enum rtx_code, enum machine_mode, rtx[]);
89
extern void ix86_expand_unary_operator (enum rtx_code, enum machine_mode,
90
                                        rtx[]);
91
extern rtx ix86_build_signbit_mask (enum machine_mode, bool, bool);
92
extern void ix86_expand_fp_absneg_operator (enum rtx_code, enum machine_mode,
93
                                            rtx[]);
94
extern void ix86_expand_copysign (rtx []);
95
extern void ix86_split_copysign_const (rtx []);
96
extern void ix86_split_copysign_var (rtx []);
97
extern int ix86_unary_operator_ok (enum rtx_code, enum machine_mode, rtx[]);
98
extern int ix86_match_ccmode (rtx, enum machine_mode);
99
extern rtx ix86_expand_compare (enum rtx_code, rtx *, rtx *);
100
extern int ix86_use_fcomi_compare (enum rtx_code);
101
extern void ix86_expand_branch (enum rtx_code, rtx);
102
extern int ix86_expand_setcc (enum rtx_code, rtx);
103
extern int ix86_expand_int_movcc (rtx[]);
104
extern int ix86_expand_fp_movcc (rtx[]);
105
extern bool ix86_expand_fp_vcond (rtx[]);
106
extern bool ix86_expand_int_vcond (rtx[]);
107
extern int ix86_expand_int_addcc (rtx[]);
108
extern void ix86_expand_call (rtx, rtx, rtx, rtx, rtx, int);
109
extern void x86_initialize_trampoline (rtx, rtx, rtx);
110
extern rtx ix86_zero_extend_to_Pmode (rtx);
111
extern void ix86_split_long_move (rtx[]);
112
extern void ix86_split_ashl (rtx *, rtx, enum machine_mode);
113
extern void ix86_split_ashr (rtx *, rtx, enum machine_mode);
114
extern void ix86_split_lshr (rtx *, rtx, enum machine_mode);
115
extern rtx ix86_find_base_term (rtx);
116
extern int ix86_check_movabs (rtx, int);
117
 
118
extern rtx assign_386_stack_local (enum machine_mode, enum ix86_stack_slot);
119
extern int ix86_attr_length_immediate_default (rtx, int);
120
extern int ix86_attr_length_address_default (rtx);
121
 
122
extern enum machine_mode ix86_fp_compare_mode (enum rtx_code);
123
 
124
extern rtx ix86_libcall_value (enum machine_mode);
125
extern bool ix86_function_value_regno_p (int);
126
extern bool ix86_function_arg_regno_p (int);
127
extern int ix86_function_arg_boundary (enum machine_mode, tree);
128
extern int ix86_return_in_memory (tree);
129
extern void ix86_va_start (tree, rtx);
130
extern rtx ix86_va_arg (tree, tree);
131
 
132
extern rtx ix86_force_to_memory (enum machine_mode, rtx);
133
extern void ix86_free_from_memory (enum machine_mode);
134
extern void ix86_split_fp_branch (enum rtx_code code, rtx, rtx,
135
                                  rtx, rtx, rtx, rtx);
136
extern bool ix86_hard_regno_mode_ok (int, enum machine_mode);
137
extern bool ix86_modes_tieable_p (enum machine_mode, enum machine_mode);
138
extern int ix86_register_move_cost (enum machine_mode, enum reg_class,
139
                                    enum reg_class);
140
extern int ix86_secondary_memory_needed (enum reg_class, enum reg_class,
141
                                         enum machine_mode, int);
142
extern bool ix86_cannot_change_mode_class (enum machine_mode,
143
                                           enum machine_mode, enum reg_class);
144
extern enum reg_class ix86_preferred_reload_class (rtx, enum reg_class);
145
extern enum reg_class ix86_preferred_output_reload_class (rtx, enum reg_class);
146
extern int ix86_memory_move_cost (enum machine_mode, enum reg_class, int);
147
extern int ix86_mode_needed (int, rtx);
148
extern void emit_i387_cw_initialization (int);
149
extern bool ix86_fp_jump_nontrivial_p (enum rtx_code);
150
extern void x86_order_regs_for_local_alloc (void);
151
extern void x86_function_profiler (FILE *, int);
152
extern void x86_emit_floatuns (rtx [2]);
153
extern void ix86_emit_fp_unordered_jump (rtx);
154
 
155
extern void ix86_emit_i387_log1p (rtx, rtx);
156
 
157
extern enum rtx_code ix86_reverse_condition (enum rtx_code, enum machine_mode);
158
 
159
#ifdef TREE_CODE
160
extern void init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx, tree);
161
extern rtx function_arg (CUMULATIVE_ARGS *, enum machine_mode, tree, int);
162
extern void function_arg_advance (CUMULATIVE_ARGS *, enum machine_mode,
163
                                  tree, int);
164
extern rtx ix86_function_value (tree, tree, bool);
165
#endif
166
 
167
#endif
168
 
169
#ifdef TREE_CODE
170
extern int ix86_return_pops_args (tree, tree, int);
171
 
172
extern int ix86_data_alignment (tree, int);
173
extern int ix86_local_alignment (tree, int);
174
extern int ix86_constant_alignment (tree, int);
175
extern tree ix86_handle_shared_attribute (tree *, tree, tree, int, bool *);
176
extern tree ix86_handle_selectany_attribute (tree *, tree, tree, int, bool *);
177
 
178
extern unsigned int i386_pe_section_type_flags (tree, const char *, int);
179
extern void i386_pe_asm_named_section (const char *, unsigned int, tree);
180
extern int x86_field_alignment (tree, int);
181
#endif
182
 
183
extern rtx ix86_tls_get_addr (void);
184
extern rtx ix86_tls_module_base (void);
185
 
186
extern void ix86_expand_vector_init (bool, rtx, rtx);
187
extern void ix86_expand_vector_set (bool, rtx, rtx, int);
188
extern void ix86_expand_vector_extract (bool, rtx, rtx, int);
189
extern void ix86_expand_reduc_v4sf (rtx (*)(rtx, rtx, rtx), rtx, rtx);
190
 
191
/* In winnt.c  */
192
extern int i386_pe_dllexport_name_p (const char *);
193
extern int i386_pe_dllimport_name_p (const char *);
194
extern void i386_pe_unique_section (tree, int);
195
extern void i386_pe_declare_function_type (FILE *, const char *, int);
196
extern void i386_pe_record_external_function (tree, const char *);
197
extern void i386_pe_record_exported_symbol (const char *, int);
198
extern void i386_pe_asm_file_end (FILE *);
199
extern void i386_pe_encode_section_info (tree, rtx, int);
200
extern const char *i386_pe_strip_name_encoding (const char *);
201
extern const char *i386_pe_strip_name_encoding_full (const char *);
202
extern void i386_pe_output_labelref (FILE *, const char *);
203
extern bool i386_pe_valid_dllimport_attribute_p (tree);
204
 
205
/* In winnt-cxx.c and winnt-stubs.c  */
206
extern void i386_pe_adjust_class_at_definition (tree);
207
extern bool i386_pe_type_dllimport_p (tree);
208
extern bool i386_pe_type_dllexport_p (tree);
209
 
210
extern rtx maybe_get_pool_constant (rtx);
211
 
212
extern char internal_label_prefix[16];
213
extern int internal_label_prefix_len;
214
 
215
enum ix86_address_seg { SEG_DEFAULT, SEG_FS, SEG_GS };
216
struct ix86_address
217
{
218
  rtx base, index, disp;
219
  HOST_WIDE_INT scale;
220
  enum ix86_address_seg seg;
221
};
222
 
223
extern int ix86_decompose_address (rtx, struct ix86_address *);
224
extern int memory_address_length (rtx addr);
225
extern void x86_output_aligned_bss (FILE *, tree, const char *,
226
                                    unsigned HOST_WIDE_INT, int);
227
extern void x86_elf_aligned_common (FILE *, const char *,
228
                                    unsigned HOST_WIDE_INT, int);
229
 
230
#ifdef RTX_CODE
231
extern void ix86_fp_comparison_codes (enum rtx_code code, enum rtx_code *,
232
                                      enum rtx_code *, enum rtx_code *);
233
extern enum rtx_code ix86_fp_compare_code_to_integer (enum rtx_code);
234
#endif
235
extern int asm_preferred_eh_data_format (int, int);

powered by: WebSVN 2.1.0

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