Mercurial > hg > CbC > CbC_gcc
comparison gcc/targhooks.h @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | b7f97abdc517 |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
1 /* Default target hook functions. | 1 /* Default target hook functions. |
2 Copyright (C) 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc. | 2 Copyright (C) 2003, 2004, 2005, 2007, 2008, 2009 |
3 Free Software Foundation, Inc. | |
3 | 4 |
4 This file is part of GCC. | 5 This file is part of GCC. |
5 | 6 |
6 GCC is free software; you can redistribute it and/or modify it under | 7 GCC is free software; you can redistribute it and/or modify it under |
7 the terms of the GNU General Public License as published by the Free | 8 the terms of the GNU General Public License as published by the Free |
15 | 16 |
16 You should have received a copy of the GNU General Public License | 17 You should have received a copy of the GNU General Public License |
17 along with GCC; see the file COPYING3. If not see | 18 along with GCC; see the file COPYING3. If not see |
18 <http://www.gnu.org/licenses/>. */ | 19 <http://www.gnu.org/licenses/>. */ |
19 | 20 |
21 extern bool default_legitimate_address_p (enum machine_mode, rtx, bool); | |
22 | |
20 extern void default_external_libcall (rtx); | 23 extern void default_external_libcall (rtx); |
24 extern rtx default_legitimize_address (rtx, rtx, enum machine_mode); | |
21 | 25 |
22 extern int default_unspec_may_trap_p (const_rtx, unsigned); | 26 extern int default_unspec_may_trap_p (const_rtx, unsigned); |
27 extern enum machine_mode default_promote_function_mode (const_tree, enum machine_mode, | |
28 int *, const_tree, int); | |
29 extern enum machine_mode default_promote_function_mode_always_promote | |
30 (const_tree, enum machine_mode, int *, const_tree, int); | |
23 | 31 |
24 extern enum machine_mode default_cc_modes_compatible (enum machine_mode, | 32 extern enum machine_mode default_cc_modes_compatible (enum machine_mode, |
25 enum machine_mode); | 33 enum machine_mode); |
26 | 34 |
27 extern bool default_return_in_memory (const_tree, const_tree); | 35 extern bool default_return_in_memory (const_tree, const_tree); |
60 extern bool default_decimal_float_supported_p (void); | 68 extern bool default_decimal_float_supported_p (void); |
61 extern bool default_fixed_point_supported_p (void); | 69 extern bool default_fixed_point_supported_p (void); |
62 | 70 |
63 extern const char * default_invalid_within_doloop (const_rtx); | 71 extern const char * default_invalid_within_doloop (const_rtx); |
64 | 72 |
65 extern tree default_builtin_vectorized_function | 73 extern tree default_builtin_vectorized_function (unsigned int, tree, tree); |
66 (enum built_in_function, tree, tree); | |
67 | 74 |
68 extern tree default_builtin_vectorized_conversion (enum tree_code, tree); | 75 extern tree default_builtin_vectorized_conversion (unsigned int, tree); |
69 | 76 |
70 extern tree default_builtin_reciprocal (enum built_in_function, bool, bool); | 77 extern tree default_builtin_reciprocal (unsigned int, bool, bool); |
71 | 78 |
72 extern bool default_builtin_vector_alignment_reachable (const_tree, bool); | 79 extern bool default_builtin_vector_alignment_reachable (const_tree, bool); |
80 extern bool | |
81 default_builtin_support_vector_misalignment (enum machine_mode mode, | |
82 const_tree, | |
83 int, bool); | |
73 | 84 |
74 /* These are here, and not in hooks.[ch], because not all users of | 85 /* These are here, and not in hooks.[ch], because not all users of |
75 hooks.h include tm.h, and thus we don't have CUMULATIVE_ARGS. */ | 86 hooks.h include tm.h, and thus we don't have CUMULATIVE_ARGS. */ |
76 | 87 |
77 extern bool hook_bool_CUMULATIVE_ARGS_false (CUMULATIVE_ARGS *); | 88 extern bool hook_bool_CUMULATIVE_ARGS_false (CUMULATIVE_ARGS *); |
85 (CUMULATIVE_ARGS *, enum machine_mode, tree, bool); | 96 (CUMULATIVE_ARGS *, enum machine_mode, tree, bool); |
86 extern const char *hook_invalid_arg_for_unprototyped_fn | 97 extern const char *hook_invalid_arg_for_unprototyped_fn |
87 (const_tree, const_tree, const_tree); | 98 (const_tree, const_tree, const_tree); |
88 extern bool hook_bool_const_rtx_commutative_p (const_rtx, int); | 99 extern bool hook_bool_const_rtx_commutative_p (const_rtx, int); |
89 extern rtx default_function_value (const_tree, const_tree, bool); | 100 extern rtx default_function_value (const_tree, const_tree, bool); |
101 extern rtx default_libcall_value (enum machine_mode, const_rtx); | |
90 extern rtx default_internal_arg_pointer (void); | 102 extern rtx default_internal_arg_pointer (void); |
103 extern rtx default_static_chain (const_tree, bool); | |
104 extern void default_trampoline_init (rtx, tree, rtx); | |
105 extern enum reg_class default_branch_target_register_class (void); | |
91 #ifdef IRA_COVER_CLASSES | 106 #ifdef IRA_COVER_CLASSES |
92 extern const enum reg_class *default_ira_cover_classes (void); | 107 extern const enum reg_class *default_ira_cover_classes (void); |
93 #endif | 108 #endif |
94 extern enum reg_class default_secondary_reload (bool, rtx, enum reg_class, | 109 extern enum reg_class default_secondary_reload (bool, rtx, enum reg_class, |
95 enum machine_mode, | 110 enum machine_mode, |
101 extern tree default_emutls_var_fields (tree, tree *); | 116 extern tree default_emutls_var_fields (tree, tree *); |
102 extern tree default_emutls_var_init (tree, tree, tree); | 117 extern tree default_emutls_var_init (tree, tree, tree); |
103 extern bool default_hard_regno_scratch_ok (unsigned int); | 118 extern bool default_hard_regno_scratch_ok (unsigned int); |
104 extern bool default_target_option_valid_attribute_p (tree, tree, tree, int); | 119 extern bool default_target_option_valid_attribute_p (tree, tree, tree, int); |
105 extern bool default_target_option_pragma_parse (tree, tree); | 120 extern bool default_target_option_pragma_parse (tree, tree); |
106 extern bool default_target_option_can_inline_p (tree, tree); | 121 extern bool default_target_can_inline_p (tree, tree); |
122 extern bool default_valid_pointer_mode (enum machine_mode); | |
123 extern enum machine_mode default_addr_space_pointer_mode (addr_space_t); | |
124 extern enum machine_mode default_addr_space_address_mode (addr_space_t); | |
125 extern bool default_addr_space_valid_pointer_mode (enum machine_mode, | |
126 addr_space_t); | |
127 extern bool default_addr_space_legitimate_address_p (enum machine_mode, rtx, | |
128 bool, addr_space_t); | |
129 extern rtx default_addr_space_legitimize_address (rtx, rtx, enum machine_mode, | |
130 addr_space_t); | |
131 extern bool default_addr_space_subset_p (addr_space_t, addr_space_t); | |
132 extern rtx default_addr_space_convert (rtx, tree, tree); | |
133 extern unsigned int default_case_values_threshold (void); | |
134 extern bool default_have_conditional_execution (void); |