aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-mudflap.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-08-02 11:41:35 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-08-02 11:41:35 +0000
commit7cc434a3c1e4ac3b7855d6195c35b23ff6103b60 (patch)
tree0e0dffe31ea1bae355b8df209a5c5e0b95682e5f /gcc/tree-mudflap.c
parent322445530d0742db2345197405f83bbf505acf9d (diff)
downloadgcc-7cc434a3c1e4ac3b7855d6195c35b23ff6103b60.zip
gcc-7cc434a3c1e4ac3b7855d6195c35b23ff6103b60.tar.gz
gcc-7cc434a3c1e4ac3b7855d6195c35b23ff6103b60.tar.bz2
tree-flow.h (make_rename_temp): Remove.
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. From-SVN: r190074
Diffstat (limited to 'gcc/tree-mudflap.c')
-rw-r--r--gcc/tree-mudflap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/tree-mudflap.c b/gcc/tree-mudflap.c
index e2ba26f..775f8b9 100644
--- a/gcc/tree-mudflap.c
+++ b/gcc/tree-mudflap.c
@@ -471,11 +471,11 @@ mf_decl_cache_locals (void)
/* Build the cache vars. */
mf_cache_shift_decl_l
- = mf_mark (make_rename_temp (TREE_TYPE (mf_cache_shift_decl),
+ = mf_mark (create_tmp_reg (TREE_TYPE (mf_cache_shift_decl),
"__mf_lookup_shift_l"));
mf_cache_mask_decl_l
- = mf_mark (make_rename_temp (TREE_TYPE (mf_cache_mask_decl),
+ = mf_mark (create_tmp_reg (TREE_TYPE (mf_cache_mask_decl),
"__mf_lookup_mask_l"));
/* Build initialization nodes for the cache vars. We just load the
@@ -562,9 +562,9 @@ mf_build_check_statement_for (tree base, tree limit,
add_bb_to_loop (then_bb, cond_bb->loop_father);
/* Build our local variables. */
- mf_elem = make_rename_temp (mf_cache_structptr_type, "__mf_elem");
- mf_base = make_rename_temp (mf_uintptr_type, "__mf_base");
- mf_limit = make_rename_temp (mf_uintptr_type, "__mf_limit");
+ mf_elem = create_tmp_reg (mf_cache_structptr_type, "__mf_elem");
+ mf_base = create_tmp_reg (mf_uintptr_type, "__mf_base");
+ mf_limit = create_tmp_reg (mf_uintptr_type, "__mf_limit");
/* Build: __mf_base = (uintptr_t) <base address expression>. */
seq = NULL;
@@ -645,7 +645,7 @@ mf_build_check_statement_for (tree base, tree limit,
t = build2 (TRUTH_OR_EXPR, boolean_type_node, t, u);
t = force_gimple_operand (t, &stmts, false, NULL_TREE);
gimple_seq_add_seq (&seq, stmts);
- cond = make_rename_temp (boolean_type_node, "__mf_unlikely_cond");
+ cond = create_tmp_reg (boolean_type_node, "__mf_unlikely_cond");
g = gimple_build_assign (cond, t);
gimple_set_location (g, location);
gimple_seq_add_stmt (&seq, g);