1 /* Definitions of target machine for GNU compiler for IA-64.
2 Copyright (C) 1999, 2000 Free Software Foundation, Inc.
4 This file is part of GNU CC.
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING. If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 /* Variables defined in ia64.c. */
24 extern rtx ia64_compare_op0
, ia64_compare_op1
;
27 /* Functions defined in ia64.c */
30 extern int call_operand
PARAMS((rtx
, enum machine_mode
));
31 extern int sdata_symbolic_operand
PARAMS((rtx
, enum machine_mode
));
32 extern int symbolic_operand
PARAMS((rtx
, enum machine_mode
));
33 extern int function_operand
PARAMS((rtx
, enum machine_mode
));
34 extern int setjmp_operand
PARAMS((rtx
, enum machine_mode
));
35 extern int move_operand
PARAMS((rtx
, enum machine_mode
));
36 extern int reg_or_0_operand
PARAMS((rtx
, enum machine_mode
));
37 extern int reg_or_6bit_operand
PARAMS((rtx
, enum machine_mode
));
38 extern int reg_or_8bit_operand
PARAMS((rtx
, enum machine_mode
));
39 extern int reg_or_8bit_adjusted_operand
PARAMS((rtx
, enum machine_mode
));
40 extern int reg_or_8bit_and_adjusted_operand
PARAMS((rtx
, enum machine_mode
));
41 extern int reg_or_14bit_operand
PARAMS((rtx
, enum machine_mode
));
42 extern int reg_or_22bit_operand
PARAMS((rtx
, enum machine_mode
));
43 extern int shift_count_operand
PARAMS((rtx
, enum machine_mode
));
44 extern int shift_32bit_count_operand
PARAMS((rtx
, enum machine_mode
));
45 extern int shladd_operand
PARAMS((rtx
, enum machine_mode
));
46 extern int fetchadd_operand
PARAMS((rtx
, enum machine_mode
));
47 extern int reg_or_fp01_operand
PARAMS((rtx
, enum machine_mode
));
48 extern int normal_comparison_operator
PARAMS((rtx
, enum machine_mode
));
49 extern int adjusted_comparison_operator
PARAMS((rtx
, enum machine_mode
));
50 extern int call_multiple_values_operation
PARAMS((rtx
, enum machine_mode
));
51 extern int predicate_operator
PARAMS((rtx
, enum machine_mode
));
53 extern void ia64_expand_fetch_and_op
PARAMS ((enum fetchop_code
,
54 enum machine_mode
, rtx
[]));
55 extern void ia64_expand_op_and_fetch
PARAMS ((enum fetchop_code
,
56 enum machine_mode
, rtx
[]));
58 extern void ia64_print_operand_address
PARAMS((FILE *, rtx
));
59 extern void ia64_print_operand
PARAMS((FILE *, rtx
, int));
60 extern enum reg_class ia64_secondary_reload_class
PARAMS((enum reg_class
,
63 extern void ia64_reorg
PARAMS((rtx
));
64 extern void process_for_unwind_directive
PARAMS ((FILE *, rtx
));
69 extern rtx ia64_function_arg
PARAMS((CUMULATIVE_ARGS
*, enum machine_mode
,
71 extern rtx ia64_expand_builtin
PARAMS((tree
, rtx
, rtx
,
72 enum machine_mode
, int));
73 extern void ia64_va_start
PARAMS((int, tree
, rtx
));
74 extern rtx ia64_va_arg
PARAMS((tree
, tree
));
75 extern rtx ia64_function_value
PARAMS((tree
, tree
));
78 extern void ia64_setup_incoming_varargs
PARAMS((CUMULATIVE_ARGS
, int, tree
,
80 extern int ia64_function_arg_partial_nregs
PARAMS((CUMULATIVE_ARGS
*,
83 extern void ia64_function_arg_advance
PARAMS((CUMULATIVE_ARGS
*,
86 extern int ia64_return_in_memory
PARAMS((tree
));
87 extern void ia64_asm_output_external
PARAMS((FILE *, tree
, const char *));
89 extern int ia64_valid_type_attribute
PARAMS((tree
, tree
, tree
, tree
));
90 extern void ia64_encode_section_info
PARAMS((tree
));
91 #endif /* TREE_CODE */
93 extern int ia64_epilogue_uses
PARAMS((int));
94 extern void ia64_file_start
PARAMS((FILE *));
95 extern void ia64_expand_prologue
PARAMS((void));
96 extern void ia64_expand_epilogue
PARAMS((void));
97 extern void ia64_function_prologue
PARAMS((FILE *, int));
98 extern void ia64_output_end_prologue
PARAMS((FILE *));
99 extern void ia64_function_epilogue
PARAMS((FILE *, int));
100 extern int ia64_direct_return
PARAMS((void));
101 extern int ia64_rap_fp_offset
PARAMS((void));
102 extern void ia64_init_builtins
PARAMS((void));
103 extern void ia64_override_options
PARAMS((void));
104 extern unsigned int ia64_compute_frame_size
PARAMS((int));
105 extern void save_restore_insns
PARAMS((int));