]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/tilepro/tilepro-protos.h
testsuite, Darwin: Fix darwin-comm-1.c error messages for Darwin <= 10.
[thirdparty/gcc.git] / gcc / config / tilepro / tilepro-protos.h
CommitLineData
dd552284 1/* Prototypes of target machine for TILEPro.
7adcbafe 2 Copyright (C) 2011-2022 Free Software Foundation, Inc.
dd552284
WL
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
25extern void tilepro_init_expanders (void);
26extern bool tilepro_legitimate_pic_operand_p (rtx);
ef4bddc2 27extern rtx tilepro_simd_int (rtx, machine_mode);
dd552284
WL
28
29#ifdef RTX_CODE
30extern void split_di (rtx[], int, rtx[], rtx[]);
31extern bool tilepro_bitfield_operand_p (HOST_WIDE_INT, int *, int *);
32extern void tilepro_expand_set_const32 (rtx, rtx);
ef4bddc2 33extern bool tilepro_expand_mov (machine_mode, rtx *);
dd552284
WL
34extern void tilepro_expand_insv (rtx operands[4]);
35extern void tilepro_expand_unaligned_load (rtx, rtx, HOST_WIDE_INT,
36 HOST_WIDE_INT, bool);
ef4bddc2 37extern void tilepro_expand_movmisalign (machine_mode, rtx *);
dd552284
WL
38extern bool tilepro_expand_addsi (rtx, rtx, rtx);
39extern void tilepro_allocate_stack (rtx, rtx);
40extern bool tilepro_expand_mulsi (rtx, rtx, rtx);
41extern void tilepro_expand_smulsi3_highpart (rtx, rtx, rtx);
42extern void tilepro_expand_umulsi3_highpart (rtx, rtx, rtx);
43
ef4bddc2
RS
44extern bool tilepro_emit_setcc (rtx[], machine_mode);
45extern void tilepro_emit_conditional_branch (rtx[], machine_mode);
dd552284 46extern rtx tilepro_emit_conditional_move (rtx);
e51f5c08 47extern const char *tilepro_output_cbranch_with_opcode (rtx_insn *, rtx *,
dd552284
WL
48 const char *,
49 const char *, int,
50 bool);
e51f5c08 51extern const char *tilepro_output_cbranch (rtx_insn *, rtx *, bool);
dd552284
WL
52extern void tilepro_expand_tablejump (rtx, rtx);
53extern void tilepro_expand_builtin_vector_binop (rtx (*)(rtx, rtx, rtx),
ef4bddc2
RS
54 machine_mode, rtx,
55 machine_mode, rtx, rtx,
dd552284
WL
56 bool);
57#endif /* RTX_CODE */
58
59extern bool tilepro_can_use_return_insn_p (void);
60extern void tilepro_expand_prologue (void);
61extern void tilepro_expand_epilogue (bool);
62extern int tilepro_initial_elimination_offset (int, int);
63extern rtx tilepro_return_addr (int, rtx);
64extern rtx tilepro_eh_return_handler_rtx (void);
e51f5c08 65extern int tilepro_adjust_insn_length (rtx_insn *, int);
dd552284
WL
66
67extern int tilepro_asm_preferred_eh_data_format (int, int);
e51f5c08 68extern void tilepro_final_prescan_insn (rtx_insn *);
dd552284
WL
69extern const char *tilepro_asm_output_opcode (FILE *, const char *);
70extern void tilepro_function_profiler (FILE *, int);
71
72/* Declare functions in tile-c.c */
73
74extern void tilepro_cpu_cpp_builtins (struct cpp_reader *);
75
76#endif /* GCC_TILEPRO_PROTOS_H */