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