Lines Matching defs:cfun
195 && single_succ_p (ENTRY_BLOCK_PTR_FOR_FN (cfun)))
217 gsi = gsi_after_labels (single_succ (ENTRY_BLOCK_PTR_FOR_FN (cfun)));
312 && (id->entry_bb != EDGE_SUCC (ENTRY_BLOCK_PTR_FOR_FN (cfun),
327 set_ssa_default_def (cfun, SSA_NAME_VAR (new_tree), new_tree);
755 if (VAR_P (old_var) && ! DECL_EXTERNAL (old_var) && cfun)
756 add_local_decl (cfun, old_var);
1006 if (cfun->last_clique == 0)
1007 cfun->last_clique = 1;
1008 newc = ++cfun->last_clique;
1994 if (cfun->can_throw_non_call_exceptions)
2072 gimple_duplicate_stmt_histograms (cfun, stmt, id->src_cfun,
2386 maybe_duplicate_eh_stmt_fn (cfun, stmt, id->src_cfun, orig_stmt,
2562 && old_edge->dest->aux != EXIT_BLOCK_PTR_FOR_FN (cfun))
2606 can_throw = stmt_can_throw_internal (cfun, copy_stmt);
2701 && gimple_in_ssa_p (cfun))
2805 the cfun to the function of new_fndecl (and current_function_decl too). */
2820 gcc_assert (VALUE_HISTOGRAMS (cfun) == NULL);
2821 gcc_assert (cfun->local_decls == NULL);
2822 gcc_assert (cfun->cfg == NULL);
2823 gcc_assert (cfun->decl == new_fndecl);
2826 cfun->static_chain_decl = src_cfun->static_chain_decl;
2827 cfun->nonlocal_goto_save_area = src_cfun->nonlocal_goto_save_area;
2828 cfun->function_end_locus = src_cfun->function_end_locus;
2829 cfun->curr_properties = src_cfun->curr_properties;
2830 cfun->last_verified = src_cfun->last_verified;
2831 cfun->va_list_gpr_size = src_cfun->va_list_gpr_size;
2832 cfun->va_list_fpr_size = src_cfun->va_list_fpr_size;
2833 cfun->has_nonlocal_label = src_cfun->has_nonlocal_label;
2834 cfun->calls_eh_return = src_cfun->calls_eh_return;
2835 cfun->stdarg = src_cfun->stdarg;
2836 cfun->after_inlining = src_cfun->after_inlining;
2837 cfun->can_throw_non_call_exceptions
2839 cfun->can_delete_dead_exceptions = src_cfun->can_delete_dead_exceptions;
2840 cfun->returns_struct = src_cfun->returns_struct;
2841 cfun->returns_pcc_struct = src_cfun->returns_pcc_struct;
2845 profile_status_for_fn (cfun) = profile_status_for_fn (src_cfun);
2851 ENTRY_BLOCK_PTR_FOR_FN (cfun)->count =
2854 EXIT_BLOCK_PTR_FOR_FN (cfun)->count =
2862 init_tree_ssa (cfun);
2863 cfun->gimple_df->in_ssa_p = src_cfun->gimple_df->in_ssa_p;
2864 if (cfun->gimple_df->in_ssa_p)
2865 init_ssa_operands (cfun);
2883 || !(stmt_can_throw_internal (cfun, gsi_stmt (si))
2971 cfun->has_unroll = true;
2973 cfun->has_force_vectorize_loops = true;
2981 place_new_loop (cfun, dest_loop);
2987 cfun->has_simduid_loops = true;
3033 /* Original cfun for the callee, doesn't change. */
3049 new entry to ENTRY_BLOCK_PTR_FOR_FN (cfun). Since new entry can be
3051 ENTRY_BLOCK_PTR_FOR_FN (cfun) based on the frequencies and
3062 ENTRY_BLOCK_PTR_FOR_FN (cfun)->count = den;
3078 if (cfun->eh)
3092 last = last_basic_block_for_fn (cfun);
3140 if (gimple_in_ssa_p (cfun))
3165 for (; last < last_basic_block_for_fn (cfun); last++)
3169 BASIC_BLOCK_FOR_FN (cfun, last));
3170 BASIC_BLOCK_FOR_FN (cfun, last)->aux = NULL;
3174 redirect_all_calls (id, BASIC_BLOCK_FOR_FN (cfun, last));
3485 tree def = (gimple_in_ssa_p (cfun)
3564 if (gimple_in_ssa_p (cfun) && rhs && def && is_gimple_reg (p)
3578 if (optimize && gimple_in_ssa_p (cfun) && !def && is_gimple_reg (p))
3599 if (gimple_in_ssa_p (cfun) && is_gimple_reg (p))
3606 set_ssa_default_def (cfun, var, NULL);
3656 tree def = (gimple_in_ssa_p (cfun) && is_gimple_reg (p)
4845 else if (DECL_SOURCE_LOCATION (cfun->decl) != UNKNOWN_LOCATION)
4846 inform (DECL_SOURCE_LOCATION (cfun->decl),
4866 else if (DECL_SOURCE_LOCATION (cfun->decl) != UNKNOWN_LOCATION)
4867 inform (DECL_SOURCE_LOCATION (cfun->decl),
4895 op = create_tmp_reg_fn (cfun, TREE_TYPE (gimple_call_arg (stmt, 0)),
4909 maybe_remove_unused_call_args (cfun, stmt);
4976 id->add_clobbers_to_eh_landing_pads = last_basic_block_for_fn (cfun);
5106 add_local_variables (id->src_cfun, cfun, id);
5154 if (cfun->gimple_df)
5155 pt_solution_reset (&cfun->gimple_df->escaped);
5230 tree def = var ? ssa_default_def (cfun, var) : NULL;
5243 var = create_tmp_reg_fn (cfun, TREE_TYPE (name), NULL);
5248 set_ssa_default_def (cfun, var, name);
5339 auto_vec<edge, 20> stack (n_basic_blocks_for_fn (cfun) + 2);
5340 auto_sbitmap visited (last_basic_block_for_fn (cfun));
5343 stack.quick_push (single_succ_edge (ENTRY_BLOCK_PTR_FOR_FN (cfun)));
5350 if (dest == EXIT_BLOCK_PTR_FOR_FN (cfun)
5459 int last = n_basic_blocks_for_fn (cfun);
5495 FOR_EACH_BB_FN (bb, cfun)
5530 basic_block bb = BASIC_BLOCK_FOR_FN (cfun, i);
5555 | (gimple_in_ssa_p (cfun) ? TODO_remove_unused_locals : 0)
5556 | (gimple_in_ssa_p (cfun) ? TODO_update_address_taken : 0)
5557 | (profile_status_for_fn (cfun) != PROFILE_ABSENT
5851 id.src_cfun = cfun;
5918 add_local_decl (cfun, t);
6321 add_local_variables (DECL_STRUCT_FUNCTION (old_decl), cfun, &id);
6340 cfun->returns_struct = 0;
6341 cfun->returns_pcc_struct = 0;
6355 set_ssa_default_def (cfun, DECL_RESULT (new_decl), new_name);
6362 cfun->curr_properties &= ~PROP_loops;
6364 cfun->curr_properties |= PROP_loops;
6368 copy_body (&id, ENTRY_BLOCK_PTR_FOR_FN (cfun), EXIT_BLOCK_PTR_FOR_FN (cfun),
6377 bb = split_edge (single_succ_edge (ENTRY_BLOCK_PTR_FOR_FN (cfun)));
6383 if (cfun->nonlocal_goto_save_area)
6389 walk_tree (&cfun->nonlocal_goto_save_area, remap_gimple_op_r, &wi, NULL);
6419 new_version_node->count = ENTRY_BLOCK_PTR_FOR_FN (cfun)->count;
6466 = gsi_after_labels (single_succ (ENTRY_BLOCK_PTR_FOR_FN (cfun)));
6571 id.src_cfun = cfun;