Add initial version of C++17 <memory_resource> header
[official-gcc.git] / gcc / config / tilepro / tilepro-protos.h
blobe0036dad1b88fda6f5aa0e4e16f162aeb449881d
1 /* Prototypes of target machine for TILEPro.
2 Copyright (C) 2011-2018 Free Software Foundation, Inc.
3 Contributed by Walter Lee (walt@tilera.com)
5 This file is part of GCC.
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.
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.
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/>. */
21 #ifndef GCC__TILEPRO_PROTOS_H
22 #define GCC__TILEPRO_PROTOS_H
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);
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);
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 */
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);
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);
72 /* Declare functions in tile-c.c */
74 extern void tilepro_cpu_cpp_builtins (struct cpp_reader *);
76 #endif /* GCC_TILEPRO_PROTOS_H */