]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/microblaze/microblaze-protos.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / microblaze / microblaze-protos.h
CommitLineData
80920132 1/* Definitions of target machine for GNU compiler, for Xilinx MicroBlaze.
aeee4812 2 Copyright (C) 2009-2023 Free Software Foundation, Inc.
80920132
ME
3
4 This file is part of GCC.
5
6 Contributed by Michael Eager <eager@eagercon.com>.
7
8 GCC is free software; you can redistribute it and/or modify it
9 under the terms of the GNU General Public License as published
10 by the Free Software Foundation; either version 3, or (at your
11 option) any later version.
12
13 GCC is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
16 License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GCC; see the file COPYING3. If not see
20 <http://www.gnu.org/licenses/>. */
21
22#ifndef GCC_MICROBLAZE_PROTOS_H
23#define GCC_MICROBLAZE_PROTOS_H
24
25#ifdef RTX_CODE
26extern int pic_address_needs_scratch (rtx);
af1682fc 27extern bool microblaze_constant_address_p (rtx x);
80920132
ME
28extern void expand_block_move (rtx *);
29extern void microblaze_expand_prologue (void);
30extern void microblaze_expand_epilogue (void);
31extern void override_options (void);
32extern int microblaze_expand_shift (rtx *);
ef4bddc2 33extern bool microblaze_expand_move (machine_mode, rtx *);
80920132
ME
34extern bool microblaze_expand_block_move (rtx, rtx, rtx, rtx);
35extern void microblaze_expand_divide (rtx *);
2bdf1dd5 36extern void microblaze_expand_conditional_branch (machine_mode, rtx *);
b8506a8a 37extern void microblaze_expand_conditional_branch_reg (machine_mode, rtx *);
80920132
ME
38extern void microblaze_expand_conditional_branch_sf (rtx *);
39extern int microblaze_can_use_return_insn (void);
80920132
ME
40extern void print_operand (FILE *, rtx, int);
41extern void print_operand_address (FILE *, rtx);
42extern void init_cumulative_args (CUMULATIVE_ARGS *,tree, rtx);
ef4bddc2 43extern bool microblaze_legitimate_address_p (machine_mode, rtx, bool);
ee61ea38 44extern int microblaze_is_interrupt_variant (void);
86498dba
AA
45extern int microblaze_is_break_handler (void);
46extern int microblaze_break_function_p (tree func);
80920132 47extern rtx microblaze_return_addr (int, rtx);
ef4bddc2
RS
48extern int simple_memory_operand (rtx, machine_mode);
49extern int double_memory_operand (rtx, machine_mode);
86498dba 50extern void microblaze_order_regs_for_local_alloc (void);
80920132
ME
51extern int microblaze_regno_ok_for_base_p (int, int);
52extern HOST_WIDE_INT microblaze_initial_elimination_offset (int, int);
53extern void microblaze_declare_object (FILE *, const char *, const char *,
54 const char *, int);
a8781821 55extern void microblaze_asm_output_ident (const char *);
91c4e421 56extern int microblaze_legitimate_pic_operand (rtx);
8cc9a5a5
EI
57extern bool microblaze_tls_referenced_p (rtx);
58extern int symbol_mentioned_p (rtx);
59extern int label_mentioned_p (rtx);
ef4bddc2 60extern bool microblaze_cannot_force_const_mem (machine_mode, rtx);
b69195a0 61extern void microblaze_eh_return (rtx op0);
80920132
ME
62#endif /* RTX_CODE */
63
e53b6e56 64/* Declare functions in microblaze-c.cc. */
80920132
ME
65extern void microblaze_cpp_define (struct cpp_reader *);
66
67#endif /* GCC_MICROBLAZE_PROTOS_H */