diff options
author | Richard Guenther <rguenther@suse.de> | 2012-09-18 09:17:27 +0000 |
---|---|---|
committer | Richard Guenther <rguenther@suse.de> | 2012-09-18 09:17:27 +0000 |
commit | aee6865382d2dbef368e101a6ff82c32d0bb37a8 (patch) | |
tree | f0f26ed65c436f49ceac348ef7b52caed61b31c0 /gcc/gimple.c | |
parent | bc2fa25d9e97158ddba1f0b370cd740001dd4958 (diff) |
2012-09-18 Richard Guenther <rguenther@suse.de>
* statistics.h (CXX_MEM_STAT_INFO): New define.
* gimple.h (gimple_build_assign_with_ops_stat,
gimple_build_assign_with_ops, gimple_build_assign_with_ops3):
Turn into an overload of the function gimple_build_assign_with_ops.
* gimple.c (gimple_build_assign_with_ops_stat): Rename to ...
(gimple_build_assign_with_ops): ... this.
* tree-ssa-loop-im.c (move_computations_stmt): Adjust.
* tree-ssa-math-opts.c (convert_mult_to_fma): Likewise.
* tree-vect-data-refs.c (vect_permute_store_chain): Likewise.
(vect_permute_load_chain): Likewise.
* tree-vect-generic.c (expand_vector_divmod): Likewise.
* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Likewise.
(vect_recog_divmod_pattern): Likewise.
(vect_recog_mixed_size_cond_pattern): Likewise.
(adjust_bool_pattern): Likewise.
* tree-vect-slp.c (vect_create_mask_and_perm): Likewise.
* tree-vect-stmts.c (vectorizable_operation): Likewise.
(permute_vec_elements): Likewise.
(vectorizable_load): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@191415 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r-- | gcc/gimple.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c index 7c702cad71a..2bb4b67ab54 100644 --- a/gcc/gimple.c +++ b/gcc/gimple.c @@ -424,8 +424,8 @@ gimple_build_assign_stat (tree lhs, tree rhs MEM_STAT_DECL) tree op1, op2, op3; extract_ops_from_tree_1 (rhs, &subcode, &op1, &op2, &op3); - return gimple_build_assign_with_ops_stat (subcode, lhs, op1, op2, op3 - PASS_MEM_STAT); + return gimple_build_assign_with_ops (subcode, lhs, op1, op2, op3 + PASS_MEM_STAT); } @@ -434,8 +434,8 @@ gimple_build_assign_stat (tree lhs, tree rhs MEM_STAT_DECL) GIMPLE_UNARY_RHS or GIMPLE_SINGLE_RHS. */ gimple -gimple_build_assign_with_ops_stat (enum tree_code subcode, tree lhs, tree op1, - tree op2, tree op3 MEM_STAT_DECL) +gimple_build_assign_with_ops (enum tree_code subcode, tree lhs, tree op1, + tree op2, tree op3 MEM_STAT_DECL) { unsigned num_ops; gimple p; @@ -463,6 +463,14 @@ gimple_build_assign_with_ops_stat (enum tree_code subcode, tree lhs, tree op1, return p; } +gimple +gimple_build_assign_with_ops (enum tree_code subcode, tree lhs, tree op1, + tree op2 MEM_STAT_DECL) +{ + return gimple_build_assign_with_ops (subcode, lhs, op1, op2, NULL_TREE + PASS_MEM_STAT); +} + /* Build a new GIMPLE_ASSIGN tuple and append it to the end of *SEQ_P. |