aboutsummaryrefslogtreecommitdiff
path: root/gcc/trans-mem.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-08-02 11:41:35 +0000
committerRichard Guenther <rguenther@suse.de>2012-08-02 11:41:35 +0000
commite1a07ca7b2d9be36a170f53c95cfcebb064a7f6b (patch)
tree0e0dffe31ea1bae355b8df209a5c5e0b95682e5f /gcc/trans-mem.c
parent65ac04853009bd4a971eacc4d03d377a324b35ce (diff)
2012-08-02 Richard Guenther <rguenther@suse.de>
* tree-flow.h (make_rename_temp): Remove. * tree-dfa.c (make_rename_temp): Likewise. * cgraphunit.c (thunk_adjust, assemble_thunk): Use create_tmp_reg instead of make_rename_temp. * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk, expand_omp_atomic_pipeline): Likewise. * trans-mem.c (tm_log_emit_save_or_restores, build_tm_load, build_tm_store, expand_call_tm, expand_transaction, ipa_tm_insert_gettmclone_call): Likewise. * tree-complex.c (expand_complex_div_wide): Likewise. * tree-mudflap.c (mf_decl_cache_locals, mf_build_check_statement_for): Likewise. * tree-ssa-loop-im.c (execute_sm_if_changed_flag_set, execute_sm): Likewise. * tree-ssa-math-opts.c (insert_reciprocals): Likewise. * value-prof.c (gimple_divmod_fixed_value, gimple_mod_pow2, gimple_mod_subtract): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@190074 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/trans-mem.c')
-rw-r--r--gcc/trans-mem.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/trans-mem.c b/gcc/trans-mem.c
index 8afa24d0287..edb678e8c1e 100644
--- a/gcc/trans-mem.c
+++ b/gcc/trans-mem.c
@@ -1285,7 +1285,7 @@ tm_log_emit_save_or_restores (basic_block entry_block,
gsi = gsi_last_bb (cond_bb);
/* t1 = status & A_{property}. */
- t1 = make_rename_temp (TREE_TYPE (status), NULL);
+ t1 = create_tmp_reg (TREE_TYPE (status), NULL);
t2 = build_int_cst (TREE_TYPE (status), trxn_prop);
stmt = gimple_build_assign_with_ops (BIT_AND_EXPR, t1, status, t2);
gsi_insert_after (&gsi, stmt, GSI_CONTINUE_LINKING);
@@ -2057,7 +2057,7 @@ build_tm_load (location_t loc, tree lhs, tree rhs, gimple_stmt_iterator *gsi)
gimple g;
tree temp;
- temp = make_rename_temp (t, NULL);
+ temp = create_tmp_reg (t, NULL);
gimple_call_set_lhs (gcall, temp);
gsi_insert_before (gsi, gcall, GSI_SAME_STMT);
@@ -2135,7 +2135,7 @@ build_tm_store (location_t loc, tree lhs, tree rhs, gimple_stmt_iterator *gsi)
gimple g;
tree temp;
- temp = make_rename_temp (simple_type, NULL);
+ temp = create_tmp_reg (simple_type, NULL);
t = fold_build1 (VIEW_CONVERT_EXPR, simple_type, rhs);
g = gimple_build_assign (temp, t);
gimple_set_location (g, loc);
@@ -2302,7 +2302,7 @@ expand_call_tm (struct tm_region *region,
if (lhs && requires_barrier (region->entry_block, lhs, stmt)
&& !gimple_call_return_slot_opt_p (stmt))
{
- tree tmp = make_rename_temp (TREE_TYPE (lhs), NULL);
+ tree tmp = create_tmp_reg (TREE_TYPE (lhs), NULL);
location_t loc = gimple_location (stmt);
edge fallthru_edge = NULL;
@@ -2638,7 +2638,7 @@ expand_transaction (struct tm_region *region)
int flags, subcode;
tm_start = builtin_decl_explicit (BUILT_IN_TM_START);
- status = make_rename_temp (TREE_TYPE (TREE_TYPE (tm_start)), "tm_state");
+ status = create_tmp_reg (TREE_TYPE (TREE_TYPE (tm_start)), "tm_state");
/* ??? There are plenty of bits here we're not computing. */
subcode = gimple_transaction_subcode (region->transaction_stmt);
@@ -2695,7 +2695,7 @@ expand_transaction (struct tm_region *region)
region->entry_block = test_bb;
gsi = gsi_last_bb (test_bb);
- t1 = make_rename_temp (TREE_TYPE (status), NULL);
+ t1 = create_tmp_reg (TREE_TYPE (status), NULL);
t2 = build_int_cst (TREE_TYPE (status), A_ABORTTRANSACTION);
g = gimple_build_assign_with_ops (BIT_AND_EXPR, t1, status, t2);
gsi_insert_after (&gsi, g, GSI_CONTINUE_LINKING);
@@ -4499,7 +4499,7 @@ ipa_tm_insert_gettmclone_call (struct cgraph_node *node,
{
tree temp;
- temp = make_rename_temp (rettype, 0);
+ temp = create_tmp_reg (rettype, 0);
gimple_call_set_lhs (stmt, temp);
g2 = gimple_build_assign (lhs,