diff options
author | Jan Hubicka <hubicka@gcc.gnu.org> | 2004-06-19 15:33:06 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2004-06-19 15:33:06 +0000 |
commit | 242229bbdc6beacddb4ed263c759d3ca52dae927 (patch) | |
tree | 2ee8a7629143f7f2514ddf9a48376c6ac3d11bc0 /gcc/tree-sra.c | |
parent | ff98621c682005e2a224f62c1aa5028353a5357e (diff) | |
download | gcc-242229bbdc6beacddb4ed263c759d3ca52dae927.zip gcc-242229bbdc6beacddb4ed263c759d3ca52dae927.tar.gz gcc-242229bbdc6beacddb4ed263c759d3ca52dae927.tar.bz2 |
CFG transparent RTL expansion:
* Makefile.in (cfgexpand.o): New object file.
(builtins.o): Add dependency on basic-block.h
* builtins.c: Include basic-block.h
(entry_of_function): New function.
(expand_builtin_apply_args, expand_builtin_saveargs): Use it.
* cfgexpand.c: New file.
* expr.c (execute_expand, pass_expand): Kill.
* pass.c (rest_of_compilation): Do not build CFG unless called from
coverage code.
* tree-cfg.c (delete_tree_cfg): Rename to..
(delete_tree_cfg_annotations): ... this one; Do not remove the CFG itself.
* tree-flow.h (delete_tree_cfg_annotations): Declare.
(dleete_tree_cfg): Kill.
* tree-optimize.c (execute_rebuild_bind, pass_rebuild_bind): Kill.
(execute_del_cfg): Rename to...
(execute_free_datastructures): This one...
(pass_del_cfg): Rename to...
(pass_free_datastructures): ... this one; Do not kill PROP_cfg.
(init_tree_optimization_passes): Make cfg build and profiling to happen
unconditionally.
* tree-mudflap.c (mf_decl_cache_locals): Skip labels before
inserting the cache variables.
* tree-mudflap.c: Include headers to make basic_block available.
Move functions around such that related functions are near each
other. Add prototypes for all static functions. Add comments
briefly explaining what IR the mudflap1 and mudflap2 work on and
what they do.
(mudflap_function_decls): Rename to execute_mudflap_function_decls.
(mudflap_function_ops): Rename to execute_mudflap_function_ops.
(pass_mudflap_1, pass_mudflap_2): Update.
(mf_decl_cache_locals): Make it work on the CFG instead of the saved
function tree.
(mf_build_check_statement_for): Make it work on the CFG.
(mf_xform_derefs_1): Likewise. Cleanup code style.
(mf_xform_derefs): Likewise.
* tree-cfg.c (label_to_block): Invent the label destination for
undefined labels.
(cleanup_dead_labels): Update table in the case label_to_block added
new label.
From-SVN: r83385
Diffstat (limited to 'gcc/tree-sra.c')
-rw-r--r-- | gcc/tree-sra.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index 060b7e8..b5e4735 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -56,7 +56,6 @@ enum sra_copy_mode { SCALAR_SCALAR, FIELD_SCALAR, SCALAR_FIELD }; /* Local functions. */ static inline bool can_be_scalarized_p (tree); -static inline void insert_edge_copies (tree stmt, basic_block bb); static tree create_scalar_copies (tree lhs, tree rhs, enum sra_copy_mode mode); static inline void scalarize_component_ref (tree, tree *tp); static void scalarize_structures (void); @@ -556,7 +555,7 @@ find_candidates_for_sra (void) has more than one edge, STMT will be replicated for each edge. Also, abnormal edges will be ignored. */ -static inline void +void insert_edge_copies (tree stmt, basic_block bb) { edge e; |