OSDN Git Service

Update FSF address.
[pf3gnuchains/gcc-fork.git] / gcc / config / arc / arc-protos.h
1 /* Definitions of target machine for GNU compiler, Argonaut ARC cpu.
2    Copyright (C) 2000, 2004 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 2, 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 COPYING.  If not, write to
18 the Free Software Foundation, 51 Franklin Street, Fifth Floor,
19 Boston, MA 02110-1301, USA.  */
20
21 extern void arc_va_start (tree, rtx);
22
23 extern enum machine_mode arc_select_cc_mode (enum rtx_code, rtx, rtx);
24
25 /* Define the function that build the compare insn for scc and bcc.  */
26 extern struct rtx_def *gen_compare_reg (enum rtx_code, rtx, rtx);
27
28 /* Declarations for various fns used in the .md file.  */
29 extern const char *output_shift (rtx *);
30
31 extern int symbolic_operand (rtx, enum machine_mode);
32 extern int arc_double_limm_p (rtx);
33 extern int arc_eligible_for_epilogue_delay (rtx, int);
34 extern void arc_initialize_trampoline (rtx, rtx, rtx);
35 extern void arc_print_operand (FILE *, rtx, int);
36 extern void arc_print_operand_address (FILE *, rtx);
37 extern void arc_final_prescan_insn (rtx, rtx *, int);
38 extern int call_address_operand (rtx, enum machine_mode);
39 extern int call_operand (rtx, enum machine_mode);
40 extern int symbolic_memory_operand (rtx, enum machine_mode);
41 extern int short_immediate_operand (rtx, enum machine_mode);
42 extern int long_immediate_operand (rtx, enum machine_mode);
43 extern int long_immediate_loadstore_operand (rtx, enum machine_mode);
44 extern int move_src_operand (rtx, enum machine_mode);
45 extern int move_double_src_operand (rtx, enum machine_mode);
46 extern int move_dest_operand (rtx, enum machine_mode);
47 extern int load_update_operand (rtx, enum machine_mode);
48 extern int store_update_operand (rtx, enum machine_mode);
49 extern int nonvol_nonimm_operand (rtx, enum machine_mode);
50 extern int const_sint32_operand (rtx, enum machine_mode);
51 extern int const_uint32_operand (rtx, enum machine_mode);
52 extern int proper_comparison_operator (rtx, enum machine_mode);
53 extern int shift_operator (rtx, enum machine_mode);
54
55 extern enum arc_function_type arc_compute_function_type (tree);
56
57
58 extern void arc_init (void);
59 extern unsigned int arc_compute_frame_size (int);
60 extern void arc_save_restore (FILE *, const char *, unsigned int,
61                               unsigned int, const char *);
62 extern int arc_delay_slots_for_epilogue (void);
63 extern void arc_finalize_pic (void);
64 extern void arc_ccfsm_at_label (const char *, int);
65 extern int arc_ccfsm_branch_deleted_p (void);
66 extern void arc_ccfsm_record_branch_deleted (void);