Turn SECONDARY_MEMORY_NEEDED into a hook
[official-gcc.git] / gcc / config / pdp11 / pdp11-protos.h
blob2fe138634e65b71c5888afe9beda2485cbc278c0
1 /* Definitions of target machine for GNU compiler, for the pdp-11
2 Copyright (C) 2000-2017 Free Software Foundation, Inc.
3 Contributed by Michael K. Gschwind (mike@vlsivie.tuwien.ac.at).
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3, or (at your option)
10 any later version.
12 GCC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public 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 /* declarations */
22 #ifdef RTX_CODE
23 extern int simple_memory_operand (rtx, machine_mode);
25 extern int legitimate_const_double_p (rtx);
26 extern void notice_update_cc_on_set (rtx, rtx);
27 extern void output_addr_const_pdp11 (FILE *, rtx);
28 extern const char *output_move_multiple (rtx *);
29 extern const char *output_block_move (rtx *);
30 extern const char *output_jump (enum rtx_code, int, int);
31 extern void print_operand_address (FILE *, rtx);
32 extern bool pdp11_cannot_change_mode_class (machine_mode,
33 machine_mode, enum reg_class);
34 typedef enum { no_action, dec_before, inc_after } pdp11_action;
35 typedef enum { little, either, big } pdp11_partorder;
36 extern bool pdp11_expand_operands (rtx *, rtx [][2], int,
37 pdp11_action *, pdp11_partorder);
38 extern int pdp11_sp_frame_offset (void);
39 extern int pdp11_initial_elimination_offset (int, int);
40 extern enum reg_class pdp11_regno_reg_class (int);
42 #endif /* RTX_CODE */
44 extern void output_ascii (FILE *, const char *, int);
45 extern void pdp11_asm_output_var (FILE *, const char *, int, int, bool);
46 extern void pdp11_expand_prologue (void);
47 extern void pdp11_expand_epilogue (void);
48 extern int pdp11_branch_cost (void);