Mercurial > hg > CbC > CbC_gcc
comparison gcc/tree-inline.h @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children | f6334be47118 |
comparison
equal
deleted
inserted
replaced
56:3c8a44c06a95 | 63:b7f97abdc517 |
---|---|
20 <http://www.gnu.org/licenses/>. */ | 20 <http://www.gnu.org/licenses/>. */ |
21 | 21 |
22 #ifndef GCC_TREE_INLINE_H | 22 #ifndef GCC_TREE_INLINE_H |
23 #define GCC_TREE_INLINE_H | 23 #define GCC_TREE_INLINE_H |
24 | 24 |
25 #include "gimple.h" | 25 #include "vecir.h" /* For VEC(gimple,heap). */ |
26 | 26 |
27 struct cgraph_edge; | 27 struct cgraph_edge; |
28 | 28 |
29 /* Indicate the desired behavior wrt call graph edges. We can either | 29 /* Indicate the desired behavior wrt call graph edges. We can either |
30 duplicate the edge (inlining, cloning), move the edge (versioning, | 30 duplicate the edge (inlining, cloning), move the edge (versioning, |
172 unsigned int optimize_inline_calls (tree); | 172 unsigned int optimize_inline_calls (tree); |
173 tree maybe_inline_call_in_expr (tree); | 173 tree maybe_inline_call_in_expr (tree); |
174 bool tree_inlinable_function_p (tree); | 174 bool tree_inlinable_function_p (tree); |
175 tree copy_tree_r (tree *, int *, void *); | 175 tree copy_tree_r (tree *, int *, void *); |
176 tree copy_decl_no_change (tree decl, copy_body_data *id); | 176 tree copy_decl_no_change (tree decl, copy_body_data *id); |
177 void save_body (tree, tree *, tree *); | |
178 int estimate_move_cost (tree type); | 177 int estimate_move_cost (tree type); |
179 int estimate_num_insns (gimple, eni_weights *); | 178 int estimate_num_insns (gimple, eni_weights *); |
180 int estimate_num_insns_fn (tree, eni_weights *); | 179 int estimate_num_insns_fn (tree, eni_weights *); |
181 int count_insns_seq (gimple_seq, eni_weights *); | 180 int count_insns_seq (gimple_seq, eni_weights *); |
182 bool tree_versionable_function_p (tree); | 181 bool tree_versionable_function_p (tree); |
183 bool tree_can_inline_p (struct cgraph_edge *e); | 182 bool tree_can_inline_p (struct cgraph_edge *e); |
184 | 183 |
185 extern gimple_seq remap_gimple_seq (gimple_seq, copy_body_data *); | |
186 extern tree remap_decl (tree decl, copy_body_data *id); | 184 extern tree remap_decl (tree decl, copy_body_data *id); |
187 extern tree remap_type (tree type, copy_body_data *id); | 185 extern tree remap_type (tree type, copy_body_data *id); |
188 extern gimple_seq copy_gimple_seq_and_replace_locals (gimple_seq seq); | 186 extern gimple_seq copy_gimple_seq_and_replace_locals (gimple_seq seq); |
189 | 187 |
190 extern HOST_WIDE_INT estimated_stack_frame_size (void); | 188 extern HOST_WIDE_INT estimated_stack_frame_size (void); |