1/* Prototypes of target machine for Visium. 2 Copyright (C) 2002-2020 Free Software Foundation, Inc. 3 Contributed by C.Nettleton,J.P.Parkes and P.Garbett. 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_VISIUM_PROTOS_H 22#define GCC_VISIUM_PROTOS_H 23 24extern unsigned int visium_data_alignment (tree, unsigned int); 25extern void visium_init_expanders (void); 26extern int visium_interrupt_function_p (void); 27extern bool visium_can_use_return_insn_p (void); 28extern void visium_expand_prologue (void); 29extern void visium_expand_epilogue (void); 30extern int visium_epilogue_uses (int); 31extern void visium_profile_hook (void); 32extern int visium_hard_regno_rename_ok (unsigned int, unsigned int); 33extern int visium_initial_elimination_offset (int from, int to); 34#ifdef RTX_CODE 35extern void prepare_move_operands (rtx *, machine_mode); 36extern bool ok_for_simple_move_operands (rtx *, machine_mode); 37extern bool ok_for_simple_move_strict_operands (rtx *, machine_mode); 38extern bool ok_for_simple_arith_logic_operands (rtx *, machine_mode); 39extern void visium_initialize_trampoline (rtx, rtx, rtx); 40extern int empty_delay_slot (rtx_insn *); 41extern int gr5_hazard_bypass_p (rtx_insn *, rtx_insn *); 42extern rtx visium_return_addr_rtx (int, rtx); 43extern rtx visium_eh_return_handler_rtx (void); 44extern rtx visium_dynamic_chain_address (rtx); 45extern rtx visium_legitimize_reload_address (rtx, machine_mode, int, int, 46 int); 47extern machine_mode visium_select_cc_mode (enum rtx_code, rtx, rtx); 48extern void visium_split_cbranch (enum rtx_code, rtx, rtx, rtx); 49extern const char *output_ubranch (rtx, rtx_insn *); 50extern const char *output_cbranch (rtx, enum rtx_code, machine_mode, int, 51 rtx_insn *); 52extern void visium_split_double_move (rtx *, machine_mode); 53extern void visium_split_double_add (enum rtx_code, rtx, rtx, rtx); 54extern void visium_expand_copysign (rtx *, machine_mode); 55extern void visium_expand_int_cstore (rtx *, machine_mode); 56extern void visium_expand_fp_cstore (rtx *, machine_mode); 57extern void visium_split_cstore (enum rtx_code, rtx, rtx, 58 enum rtx_code, rtx, rtx); 59extern int visium_expand_block_move (rtx *); 60extern int visium_expand_block_set (rtx *); 61extern unsigned int reg_or_subreg_regno (rtx); 62#endif /* RTX_CODE */ 63 64extern rtl_opt_pass * make_pass_visium_reorg (gcc::context *); 65 66#endif 67