annotate gcc/config/rx/rx-protos.h @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents f6334be47118
children 84e7813d76e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 /* Exported function prototypes from the Renesas RX backend.
111
kono
parents: 67
diff changeset
2 Copyright (C) 2008-2017 Free Software Foundation, Inc.
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 Contributed by Red Hat.
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 This file is part of GCC.
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 GCC is free software; you can redistribute it and/or modify
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 it under the terms of the GNU General Public License as published by
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 the Free Software Foundation; either version 3, or (at your option)
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 any later version.
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 GCC is distributed in the hope that it will be useful,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 GNU General Public License for more details.
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 along with GCC; see the file COPYING3. If not see
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 <http://www.gnu.org/licenses/>. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
20
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 #ifndef GCC_RX_PROTOS_H
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 #define GCC_RX_PROTOS_H
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
23
111
kono
parents: 67
diff changeset
24 extern bool rx_can_use_simple_return (void);
kono
parents: 67
diff changeset
25 extern void rx_expand_epilogue (bool);
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 extern void rx_expand_prologue (void);
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 extern int rx_initial_elimination_offset (int, int);
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
28
111
kono
parents: 67
diff changeset
29 bool is_interrupt_func (const_tree decl);
kono
parents: 67
diff changeset
30 bool is_fast_interrupt_func (const_tree decl);
kono
parents: 67
diff changeset
31
kono
parents: 67
diff changeset
32 /* rx_atomic_sequence is used to emit the header and footer
kono
parents: 67
diff changeset
33 of an atomic sequence. It's supposed to be used in a scope.
kono
parents: 67
diff changeset
34 When constructed, it will emit the atomic sequence header insns.
kono
parents: 67
diff changeset
35 When destructred (goes out of scope), it will emit the
kono
parents: 67
diff changeset
36 corresponding atomic sequence footer insns. */
kono
parents: 67
diff changeset
37 class rx_atomic_sequence
kono
parents: 67
diff changeset
38 {
kono
parents: 67
diff changeset
39 public:
kono
parents: 67
diff changeset
40 rx_atomic_sequence (const_tree fun_decl);
kono
parents: 67
diff changeset
41 ~rx_atomic_sequence (void);
kono
parents: 67
diff changeset
42
kono
parents: 67
diff changeset
43 private:
kono
parents: 67
diff changeset
44 rx_atomic_sequence (void);
kono
parents: 67
diff changeset
45 rx_atomic_sequence (const rx_atomic_sequence&);
kono
parents: 67
diff changeset
46 rx_atomic_sequence& operator = (const rx_atomic_sequence&);
kono
parents: 67
diff changeset
47
kono
parents: 67
diff changeset
48 rtx m_prev_psw_reg;
kono
parents: 67
diff changeset
49 };
kono
parents: 67
diff changeset
50
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
51 #ifdef RTX_CODE
111
kono
parents: 67
diff changeset
52 extern int rx_adjust_insn_length (rtx_insn *, int);
kono
parents: 67
diff changeset
53 extern int rx_align_for_label (rtx, int);
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
54 extern void rx_emit_stack_popm (rtx *, bool);
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
55 extern void rx_emit_stack_pushm (rtx *);
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
56 extern char * rx_gen_move_template (rtx *, bool);
111
kono
parents: 67
diff changeset
57 extern bool rx_is_legitimate_constant (machine_mode, rtx);
kono
parents: 67
diff changeset
58 extern bool rx_is_restricted_memory_address (rtx,
kono
parents: 67
diff changeset
59 machine_mode);
kono
parents: 67
diff changeset
60 extern bool rx_match_ccmode (rtx, machine_mode);
kono
parents: 67
diff changeset
61 extern rtx rx_maybe_pidify_operand (rtx, int);
kono
parents: 67
diff changeset
62 extern void rx_notice_update_cc (rtx, rtx);
kono
parents: 67
diff changeset
63 extern void rx_split_cbranch (machine_mode, enum rtx_code,
kono
parents: 67
diff changeset
64 rtx, rtx, rtx);
kono
parents: 67
diff changeset
65 extern machine_mode rx_select_cc_mode (enum rtx_code, rtx, rtx);
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
66 #endif
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
67
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
68 #endif /* GCC_RX_PROTOS_H */