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-flow.h | |
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-flow.h')
-rw-r--r-- | gcc/tree-flow.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index d440c8b..6ddf72c 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -434,7 +434,7 @@ extern void bsi_replace (const block_stmt_iterator *, tree, bool); /* Location to track pending stmt for edge insertion. */ #define PENDING_STMT(e) ((e)->insns.t) -extern void delete_tree_cfg (void); +extern void delete_tree_cfg_annotations (void); extern void disband_implicit_edges (void); extern bool stmt_ends_bb_p (tree); extern bool is_ctrl_stmt (tree); @@ -582,6 +582,9 @@ void set_value_handle (tree, tree); void debug_value_expressions (tree); void print_value_expressions (FILE *, tree); +/* In tree-sra.c */ +void insert_edge_copies (tree stmt, basic_block bb); + #include "tree-flow-inline.h" #endif /* _TREE_FLOW_H */ |