Mercurial > hg > CbC > CbC_gcc
annotate gcc/config/avr/avr-protos.h @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | b7f97abdc517 |
children | 04ced10e8804 |
rev | line source |
---|---|
0 | 1 /* Prototypes for exported functions defined in avr.c |
2 | |
63
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
3 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010 |
0 | 4 Free Software Foundation, Inc. |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
5 Contributed by Denis Chertykov (chertykov@gmail.com) |
0 | 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 | |
24 extern int function_arg_regno_p (int r); | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
25 extern void avr_cpu_cpp_builtins (struct cpp_reader * pfile); |
0 | 26 extern int avr_ret_register (void); |
27 extern enum reg_class avr_regno_reg_class (int r); | |
28 extern void asm_globalize_label (FILE *file, const char *name); | |
29 extern void avr_asm_declare_function_name (FILE *, const char *, tree); | |
30 extern void order_regs_for_local_alloc (void); | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
31 extern int avr_initial_elimination_offset (int from, int to); |
0 | 32 extern int avr_simple_epilogue (void); |
33 extern void gas_output_limited_string (FILE *file, const char *str); | |
34 extern void gas_output_ascii (FILE *file, const char *str, size_t length); | |
35 extern int avr_hard_regno_rename_ok (unsigned int, unsigned int); | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
36 extern rtx avr_return_addr_rtx (int count, rtx tem); |
0 | 37 |
38 #ifdef TREE_CODE | |
39 extern void asm_output_external (FILE *file, tree decl, char *name); | |
40 extern int avr_progmem_p (tree decl, tree attributes); | |
41 | |
42 #ifdef RTX_CODE /* inside TREE_CODE */ | |
43 extern void init_cumulative_args (CUMULATIVE_ARGS *cum, tree fntype, | |
44 rtx libname, tree fndecl); | |
45 #endif /* RTX_CODE inside TREE_CODE */ | |
46 | |
47 #endif /* TREE_CODE */ | |
48 | |
49 #ifdef RTX_CODE | |
50 extern void asm_output_external_libcall (FILE *file, rtx symref); | |
51 extern int compare_diff_p (rtx insn); | |
52 extern const char *output_movqi (rtx insn, rtx operands[], int *l); | |
53 extern const char *output_movhi (rtx insn, rtx operands[], int *l); | |
54 extern const char *out_movqi_r_mr (rtx insn, rtx op[], int *l); | |
55 extern const char *out_movqi_mr_r (rtx insn, rtx op[], int *l); | |
56 extern const char *out_movhi_r_mr (rtx insn, rtx op[], int *l); | |
57 extern const char *out_movhi_mr_r (rtx insn, rtx op[], int *l); | |
58 extern const char *out_movsi_r_mr (rtx insn, rtx op[], int *l); | |
59 extern const char *out_movsi_mr_r (rtx insn, rtx op[], int *l); | |
60 extern const char *output_movsisf (rtx insn, rtx operands[], int *l); | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
61 extern const char *out_tstsi (rtx insn, rtx src, int *l); |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
62 extern const char *out_tsthi (rtx insn, rtx src, int *l); |
0 | 63 extern const char *ret_cond_branch (rtx x, int len, int reverse); |
64 | |
65 extern const char *ashlqi3_out (rtx insn, rtx operands[], int *len); | |
66 extern const char *ashlhi3_out (rtx insn, rtx operands[], int *len); | |
67 extern const char *ashlsi3_out (rtx insn, rtx operands[], int *len); | |
68 | |
69 extern const char *ashrqi3_out (rtx insn, rtx operands[], int *len); | |
70 extern const char *ashrhi3_out (rtx insn, rtx operands[], int *len); | |
71 extern const char *ashrsi3_out (rtx insn, rtx operands[], int *len); | |
72 | |
73 extern const char *lshrqi3_out (rtx insn, rtx operands[], int *len); | |
74 extern const char *lshrhi3_out (rtx insn, rtx operands[], int *len); | |
75 extern const char *lshrsi3_out (rtx insn, rtx operands[], int *len); | |
63
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
76 extern bool avr_rotate_bytes (rtx operands[]); |
0 | 77 |
78 extern void expand_prologue (void); | |
79 extern void expand_epilogue (void); | |
80 extern int avr_epilogue_uses (int regno); | |
81 | |
82 extern void avr_output_bld (rtx operands[], int bit_nr); | |
83 extern void avr_output_addr_vec_elt (FILE *stream, int value); | |
84 extern const char *avr_out_sbxx_branch (rtx insn, rtx operands[]); | |
85 | |
86 extern int extra_constraint_Q (rtx x); | |
87 extern int adjust_insn_length (rtx insn, int len); | |
88 extern rtx avr_libcall_value (enum machine_mode mode); | |
89 extern const char *output_reload_inhi (rtx insn, rtx *operands, int *len); | |
90 extern const char *output_reload_insisf (rtx insn, rtx *operands, int *len); | |
91 extern enum reg_class secondary_input_reload_class (enum reg_class, | |
92 enum machine_mode, | |
93 rtx); | |
94 extern void notice_update_cc (rtx body, rtx insn); | |
95 extern void print_operand (FILE *file, rtx x, int code); | |
96 extern void print_operand_address (FILE *file, rtx addr); | |
97 extern int reg_unused_after (rtx insn, rtx reg); | |
98 extern int _reg_unused_after (rtx insn, rtx reg); | |
99 extern int avr_jump_mode (rtx x, rtx insn); | |
100 extern int byte_immediate_operand (rtx op, enum machine_mode mode); | |
101 extern int test_hard_reg_class (enum reg_class rclass, rtx x); | |
102 extern int jump_over_one_insn_p (rtx insn, rtx dest); | |
103 | |
104 extern int avr_hard_regno_mode_ok (int regno, enum machine_mode mode); | |
105 extern void final_prescan_insn (rtx insn, rtx *operand, int num_operands); | |
106 extern int avr_simplify_comparison_p (enum machine_mode mode, | |
107 RTX_CODE op, rtx x); | |
108 extern RTX_CODE avr_normalize_condition (RTX_CODE condition); | |
109 extern int compare_eq_p (rtx insn); | |
110 extern void out_shift_with_cnt (const char *templ, rtx insn, | |
111 rtx operands[], int *len, int t_len); | |
112 #endif /* RTX_CODE */ | |
113 | |
114 #ifdef HAVE_MACHINE_MODES | |
115 extern int class_max_nregs (enum reg_class rclass, enum machine_mode mode); | |
116 #endif /* HAVE_MACHINE_MODES */ | |
117 | |
118 #ifdef REAL_VALUE_TYPE | |
119 extern void asm_output_float (FILE *file, REAL_VALUE_TYPE n); | |
120 #endif |