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 got_symbolic_operand
PARAMS((rtx
, enum machine_mode
));
33 extern int symbolic_operand
PARAMS((rtx
, enum machine_mode
));
34 extern int function_operand
PARAMS((rtx
, enum machine_mode
));
35 extern int setjmp_operand
PARAMS((rtx
, enum machine_mode
));
36 extern int move_operand
PARAMS((rtx
, enum machine_mode
));
37 extern int reg_or_0_operand
PARAMS((rtx
, enum machine_mode
));
38 extern int reg_or_5bit_operand
PARAMS((rtx
, enum machine_mode
));
39 extern int reg_or_6bit_operand
PARAMS((rtx
, enum machine_mode
));
40 extern int reg_or_8bit_operand
PARAMS((rtx
, enum machine_mode
));
41 extern int reg_or_8bit_adjusted_operand
PARAMS((rtx
, enum machine_mode
));
42 extern int reg_or_8bit_and_adjusted_operand
PARAMS((rtx
, enum machine_mode
));
43 extern int reg_or_14bit_operand
PARAMS((rtx
, enum machine_mode
));
44 extern int reg_or_22bit_operand
PARAMS((rtx
, enum machine_mode
));
45 extern int shift_count_operand
PARAMS((rtx
, enum machine_mode
));
46 extern int shift_32bit_count_operand
PARAMS((rtx
, enum machine_mode
));
47 extern int shladd_operand
PARAMS((rtx
, enum machine_mode
));
48 extern int fetchadd_operand
PARAMS((rtx
, enum machine_mode
));
49 extern int reg_or_fp01_operand
PARAMS((rtx
, enum machine_mode
));
50 extern int normal_comparison_operator
PARAMS((rtx
, enum machine_mode
));
51 extern int adjusted_comparison_operator
PARAMS((rtx
, enum machine_mode
));
52 extern int call_multiple_values_operation
PARAMS((rtx
, enum machine_mode
));
53 extern int destination_operand
PARAMS((rtx
, enum machine_mode
));
54 extern int predicate_operator
PARAMS((rtx
, enum machine_mode
));
55 extern int ar_lc_reg_operand
PARAMS((rtx
, enum machine_mode
));
56 extern int ar_ccv_reg_operand
PARAMS((rtx
, enum machine_mode
));
57 extern int general_tfmode_operand
PARAMS((rtx
, enum machine_mode
));
58 extern int destination_tfmode_operand
PARAMS((rtx
, enum machine_mode
));
59 extern int tfreg_or_fp01_operand
PARAMS((rtx
, enum machine_mode
));
61 extern int ia64_move_ok
PARAMS((rtx
, rtx
));
62 extern int ia64_depz_field_mask
PARAMS((rtx
, rtx
));
63 extern rtx ia64_gp_save_reg
PARAMS((int));
64 extern rtx ia64_split_timode
PARAMS((rtx
[], rtx
, rtx
));
65 extern rtx spill_tfmode_operand
PARAMS((rtx
, int));
67 extern HOST_WIDE_INT ia64_initial_elimination_offset
PARAMS((int, int));
68 extern void ia64_expand_prologue
PARAMS((void));
69 extern void ia64_expand_epilogue
PARAMS((void));
70 extern void ia64_function_prologue
PARAMS((FILE *, int));
71 extern void ia64_function_epilogue
PARAMS((FILE *, int));
73 extern int ia64_direct_return
PARAMS((void));
74 extern void ia64_expand_load_address
PARAMS((rtx
, rtx
));
75 extern void ia64_expand_fetch_and_op
PARAMS ((enum fetchop_code
,
76 enum machine_mode
, rtx
[]));
77 extern void ia64_expand_op_and_fetch
PARAMS ((enum fetchop_code
,
78 enum machine_mode
, rtx
[]));
80 extern void ia64_initialize_trampoline
PARAMS((rtx
, rtx
, rtx
));
81 extern void ia64_print_operand_address
PARAMS((FILE *, rtx
));
82 extern void ia64_print_operand
PARAMS((FILE *, rtx
, int));
83 extern enum reg_class ia64_secondary_reload_class
PARAMS((enum reg_class
,
86 extern void ia64_reorg
PARAMS((rtx
));
87 extern void process_for_unwind_directive
PARAMS ((FILE *, rtx
));
92 extern rtx ia64_function_arg
PARAMS((CUMULATIVE_ARGS
*, enum machine_mode
,
94 extern rtx ia64_expand_builtin
PARAMS((tree
, rtx
, rtx
,
95 enum machine_mode
, int));
96 extern void ia64_va_start
PARAMS((int, tree
, rtx
));
97 extern rtx ia64_va_arg
PARAMS((tree
, tree
));
98 extern rtx ia64_function_value
PARAMS((tree
, tree
));
101 extern void ia64_setup_incoming_varargs
PARAMS((CUMULATIVE_ARGS
, int, tree
,
103 extern int ia64_function_arg_partial_nregs
PARAMS((CUMULATIVE_ARGS
*,
106 extern void ia64_function_arg_advance
PARAMS((CUMULATIVE_ARGS
*,
109 extern int ia64_return_in_memory
PARAMS((tree
));
110 extern void ia64_asm_output_external
PARAMS((FILE *, tree
, const char *));
112 extern int ia64_valid_type_attribute
PARAMS((tree
, tree
, tree
, tree
));
113 extern void ia64_encode_section_info
PARAMS((tree
));
114 #endif /* TREE_CODE */
116 extern int ia64_register_move_cost
PARAMS((enum reg_class
, enum reg_class
));
117 extern int ia64_epilogue_uses
PARAMS((int));
118 extern void ia64_file_start
PARAMS((FILE *));
119 extern void ia64_output_end_prologue
PARAMS((FILE *));
120 extern void ia64_init_builtins
PARAMS((void));
121 extern void ia64_override_options
PARAMS((void));
122 extern int ia64_dbx_register_number
PARAMS((int));