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

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 84e7813d76e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Prototypes of target machine for TILEPro.
kono
parents:
diff changeset
2 Copyright (C) 2011-2017 Free Software Foundation, Inc.
kono
parents:
diff changeset
3 Contributed by Walter Lee (walt@tilera.com)
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 This file is part of GCC.
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 GCC is free software; you can redistribute it and/or modify it
kono
parents:
diff changeset
8 under the terms of the GNU General Public License as published
kono
parents:
diff changeset
9 by the Free Software Foundation; either version 3, or (at your
kono
parents:
diff changeset
10 option) any later version.
kono
parents:
diff changeset
11
kono
parents:
diff changeset
12 GCC is distributed in the hope that it will be useful, but WITHOUT
kono
parents:
diff changeset
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
kono
parents:
diff changeset
14 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
kono
parents:
diff changeset
15 License for more details.
kono
parents:
diff changeset
16
kono
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
kono
parents:
diff changeset
18 along with GCC; see the file COPYING3. If not see
kono
parents:
diff changeset
19 <http://www.gnu.org/licenses/>. */
kono
parents:
diff changeset
20
kono
parents:
diff changeset
21 #ifndef GCC__TILEPRO_PROTOS_H
kono
parents:
diff changeset
22 #define GCC__TILEPRO_PROTOS_H
kono
parents:
diff changeset
23
kono
parents:
diff changeset
24
kono
parents:
diff changeset
25 extern void tilepro_init_expanders (void);
kono
parents:
diff changeset
26 extern bool tilepro_legitimate_pic_operand_p (rtx);
kono
parents:
diff changeset
27 extern rtx tilepro_simd_int (rtx, machine_mode);
kono
parents:
diff changeset
28
kono
parents:
diff changeset
29 #ifdef RTX_CODE
kono
parents:
diff changeset
30 extern void split_di (rtx[], int, rtx[], rtx[]);
kono
parents:
diff changeset
31 extern bool tilepro_bitfield_operand_p (HOST_WIDE_INT, int *, int *);
kono
parents:
diff changeset
32 extern void tilepro_expand_set_const32 (rtx, rtx);
kono
parents:
diff changeset
33 extern bool tilepro_expand_mov (machine_mode, rtx *);
kono
parents:
diff changeset
34 extern void tilepro_expand_insv (rtx operands[4]);
kono
parents:
diff changeset
35 extern void tilepro_expand_unaligned_load (rtx, rtx, HOST_WIDE_INT,
kono
parents:
diff changeset
36 HOST_WIDE_INT, bool);
kono
parents:
diff changeset
37 extern void tilepro_expand_movmisalign (machine_mode, rtx *);
kono
parents:
diff changeset
38 extern bool tilepro_expand_addsi (rtx, rtx, rtx);
kono
parents:
diff changeset
39 extern void tilepro_allocate_stack (rtx, rtx);
kono
parents:
diff changeset
40 extern bool tilepro_expand_mulsi (rtx, rtx, rtx);
kono
parents:
diff changeset
41 extern void tilepro_expand_smulsi3_highpart (rtx, rtx, rtx);
kono
parents:
diff changeset
42 extern void tilepro_expand_umulsi3_highpart (rtx, rtx, rtx);
kono
parents:
diff changeset
43
kono
parents:
diff changeset
44 extern bool tilepro_emit_setcc (rtx[], machine_mode);
kono
parents:
diff changeset
45 extern void tilepro_emit_conditional_branch (rtx[], machine_mode);
kono
parents:
diff changeset
46 extern rtx tilepro_emit_conditional_move (rtx);
kono
parents:
diff changeset
47 extern const char *tilepro_output_cbranch_with_opcode (rtx_insn *, rtx *,
kono
parents:
diff changeset
48 const char *,
kono
parents:
diff changeset
49 const char *, int,
kono
parents:
diff changeset
50 bool);
kono
parents:
diff changeset
51 extern const char *tilepro_output_cbranch (rtx_insn *, rtx *, bool);
kono
parents:
diff changeset
52 extern void tilepro_expand_tablejump (rtx, rtx);
kono
parents:
diff changeset
53 extern void tilepro_expand_builtin_vector_binop (rtx (*)(rtx, rtx, rtx),
kono
parents:
diff changeset
54 machine_mode, rtx,
kono
parents:
diff changeset
55 machine_mode, rtx, rtx,
kono
parents:
diff changeset
56 bool);
kono
parents:
diff changeset
57 #endif /* RTX_CODE */
kono
parents:
diff changeset
58
kono
parents:
diff changeset
59 extern bool tilepro_can_use_return_insn_p (void);
kono
parents:
diff changeset
60 extern void tilepro_expand_prologue (void);
kono
parents:
diff changeset
61 extern void tilepro_expand_epilogue (bool);
kono
parents:
diff changeset
62 extern int tilepro_initial_elimination_offset (int, int);
kono
parents:
diff changeset
63 extern rtx tilepro_return_addr (int, rtx);
kono
parents:
diff changeset
64 extern rtx tilepro_eh_return_handler_rtx (void);
kono
parents:
diff changeset
65 extern int tilepro_adjust_insn_length (rtx_insn *, int);
kono
parents:
diff changeset
66
kono
parents:
diff changeset
67 extern int tilepro_asm_preferred_eh_data_format (int, int);
kono
parents:
diff changeset
68 extern void tilepro_final_prescan_insn (rtx_insn *);
kono
parents:
diff changeset
69 extern const char *tilepro_asm_output_opcode (FILE *, const char *);
kono
parents:
diff changeset
70 extern void tilepro_function_profiler (FILE *, int);
kono
parents:
diff changeset
71
kono
parents:
diff changeset
72 /* Declare functions in tile-c.c */
kono
parents:
diff changeset
73
kono
parents:
diff changeset
74 extern void tilepro_cpu_cpp_builtins (struct cpp_reader *);
kono
parents:
diff changeset
75
kono
parents:
diff changeset
76 #endif /* GCC_TILEPRO_PROTOS_H */