diff options
author | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-26 13:23:31 +0000 |
---|---|---|
committer | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-26 13:23:31 +0000 |
commit | 9a4a334838250399f91cb29d193efeb869ead77e (patch) | |
tree | 0bdac19cc1c197b2e326293eb4c1344554b4e7b5 /gcc/gimple.h | |
parent | 688425e8fb82effae7a31357f9166c0cf10dbd7d (diff) | |
download | gcc-9a4a334838250399f91cb29d193efeb869ead77e.tar.gz |
2013-09-26 Andrew MacLeod <amacleod@redhat.com>
* gimple.c (gimple_replace_lhs): Move to tree-ssa.c and rename.
(struct count_ptr_d, count_ptr_derefs, count_uses_and_derefs): Move to
tree-ssa.c
(create_gimple_tmp): Delete.
(get_expr_type, build_assign, build_type_cast): Move to...
* gimple-builder.c: New File.
(get_expr_type): Relocate from gimple.c.
(build_assign, build_type_cast): Change to only create ssanames.
* gimple.h: Move prototypes to...
* gimple-builder.h: New File. Here.
* tree-ssa.h: And here.
* tree-ssa.c (struct count_ptr_d, count_ptr_derefs,
count_uses_and_derefs): Relocate from gimple.c.
(gimple_replace_ssa_lhs): Renamed gimple_replace_ssa from gimple.c
* tree-ssa-reassoc.c (repropagate_negates): Use gimple_replace_ssa_lhs.
* tree-ssa-math-opts (execute_cse_reciprocals): Use
gimple_replace_ssa_lhs.
* asan.c: Include gimple-builder.h.
* Makefile.in: Add gimple-builder.o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202945 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r-- | gcc/gimple.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h index 5f1280586d2..3047ab4b667 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -730,19 +730,6 @@ union GTY ((desc ("gimple_statement_structure (&%h)"), struct gimple_statement_transaction GTY((tag ("GSS_TRANSACTION"))) gimple_transaction; }; -/* In gimple.c. */ - -/* Helper functions to build GIMPLE statements. */ -tree create_gimple_tmp (tree, enum ssa_mode = M_SSA); -gimple build_assign (enum tree_code, tree, int, enum ssa_mode = M_SSA); -gimple build_assign (enum tree_code, gimple, int, enum ssa_mode = M_SSA); -gimple build_assign (enum tree_code, tree, tree, enum ssa_mode = M_SSA); -gimple build_assign (enum tree_code, gimple, tree, enum ssa_mode = M_SSA); -gimple build_assign (enum tree_code, tree, gimple, enum ssa_mode = M_SSA); -gimple build_assign (enum tree_code, gimple, gimple, enum ssa_mode = M_SSA); -gimple build_type_cast (tree, tree, enum ssa_mode = M_SSA); -gimple build_type_cast (tree, gimple, enum ssa_mode = M_SSA); - /* Offset in bytes to the location of the operand vector. Zero if there is no operand vector for this tuple structure. */ extern size_t const gimple_ops_offset_[]; @@ -909,8 +896,6 @@ extern void free_gimple_type_tables (void); extern tree gimple_unsigned_type (tree); extern tree gimple_signed_type (tree); extern alias_set_type gimple_get_alias_set (tree); -extern void count_uses_and_derefs (tree, gimple, unsigned *, unsigned *, - unsigned *); extern bool walk_stmt_load_store_addr_ops (gimple, void *, bool (*)(gimple, tree, void *), bool (*)(gimple, tree, void *), |