Home
last modified time | relevance | path

Searched refs:cfun (Results 1 – 25 of 830) sorted by relevance

12345678910>>...34

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dlcm.cc95 qin = qout = worklist = XNEWVEC (basic_block, n_basic_blocks_for_fn (cfun)); in compute_antinout_edge()
99 bitmap_vector_ones (antin, last_basic_block_for_fn (cfun)); in compute_antinout_edge()
103 int *postorder = XNEWVEC (int, n_basic_blocks_for_fn (cfun)); in compute_antinout_edge()
107 bb = BASIC_BLOCK_FOR_FN (cfun, postorder[i]); in compute_antinout_edge()
114 qend = &worklist[n_basic_blocks_for_fn (cfun) - NUM_FIXED_BLOCKS]; in compute_antinout_edge()
115 qlen = n_basic_blocks_for_fn (cfun) - NUM_FIXED_BLOCKS; in compute_antinout_edge()
119 FOR_EACH_EDGE (e, ei, EXIT_BLOCK_PTR_FOR_FN (cfun)->preds) in compute_antinout_edge()
120 e->src->aux = EXIT_BLOCK_PTR_FOR_FN (cfun); in compute_antinout_edge()
132 if (bb->aux == EXIT_BLOCK_PTR_FOR_FN (cfun)) in compute_antinout_edge()
151 if (!e->src->aux && e->src != ENTRY_BLOCK_PTR_FOR_FN (cfun)) in compute_antinout_edge()
[all …]
H A Dcfganal.cc142 return mark_dfs_back_edges (cfun); in mark_dfs_back_edges()
190 tos = worklist = XNEWVEC (basic_block, n_basic_blocks_for_fn (cfun)); in find_unreachable_blocks()
194 FOR_EACH_BB_FN (bb, cfun) in find_unreachable_blocks()
201 FOR_EACH_EDGE (e, ei, ENTRY_BLOCK_PTR_FOR_FN (cfun)->succs) in find_unreachable_blocks()
238 FOR_EACH_BB_FN (bb, cfun) in verify_no_unreachable_blocks()
268 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), in create_edge_list()
269 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in create_edge_list()
281 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), in create_edge_list()
282 EXIT_BLOCK_PTR_FOR_FN (cfun), next_bb) in create_edge_list()
309 n_basic_blocks_for_fn (cfun), elist->num_edges); in print_edge_list()
[all …]
H A Dtracer.cc201 && (best->count ().to_frequency (cfun) * REG_BR_PROB_BASE in find_best_predecessor()
202 < bb->count.to_frequency (cfun) * branch_ratio_cutoff)) in find_best_predecessor()
217 fprintf (dump_file, "Trace seed %i [%i]", bb->index, bb->count.to_frequency (cfun)); in find_trace()
226 fprintf (dump_file, ",%i [%i]", bb->index, bb->count.to_frequency (cfun)); in find_trace()
230 fprintf (dump_file, " forward %i [%i]", bb->index, bb->count.to_frequency (cfun)); in find_trace()
241 fprintf (dump_file, ",%i [%i]", bb->index, bb->count.to_frequency (cfun)); in find_trace()
274 blocks.safe_grow_cleared (last_basic_block_for_fn (cfun), true); in tail_duplicate()
276 basic_block *trace = XNEWVEC (basic_block, n_basic_blocks_for_fn (cfun)); in tail_duplicate()
277 int *counts = XNEWVEC (int, last_basic_block_for_fn (cfun)); in tail_duplicate()
288 bb_seen = sbitmap_alloc (last_basic_block_for_fn (cfun) * 2); in tail_duplicate()
[all …]
H A Dprofile.cc119 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in instrument_edges()
211 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in get_exec_counts()
264 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in correct_negative_edge_counts()
281 FOR_EACH_BB_FN (bb, cfun) in is_inconsistent()
315 ! (find_edge (bb, EXIT_BLOCK_PTR_FOR_FN (cfun)) != NULL in is_inconsistent()
341 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in set_bb_counts()
360 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in read_profile_edge_counts()
441 bb_gcov_counts.safe_grow_cleared (last_basic_block_for_fn (cfun), true); in compute_branch_probabilities()
446 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in compute_branch_probabilities()
460 BB_INFO (EXIT_BLOCK_PTR_FOR_FN (cfun))->succ_count = 2; in compute_branch_probabilities()
[all …]
H A Dcfgbuild.cc103 if (!cfun->can_throw_non_call_exceptions) in control_flow_insn_p()
209 || cfun->cfg->max_jumptable_ents > 100) in make_edges()
210 edge_cache = sbitmap_alloc (last_basic_block_for_fn (cfun)); in make_edges()
214 if (min == ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb) in make_edges()
215 make_edge (ENTRY_BLOCK_PTR_FOR_FN (cfun), min, EDGE_FALLTHRU); in make_edges()
234 if (e->dest != EXIT_BLOCK_PTR_FOR_FN (cfun)) in make_edges()
241 cached_make_edge (NULL, ENTRY_BLOCK_PTR_FOR_FN (cfun), bb, 0); in make_edges()
293 cached_make_edge (edge_cache, bb, EXIT_BLOCK_PTR_FOR_FN (cfun), 0); in make_edges()
317 cached_make_edge (edge_cache, bb, EXIT_BLOCK_PTR_FOR_FN (cfun), in make_edges()
324 else if (code == CALL_INSN || cfun->can_throw_non_call_exceptions) in make_edges()
[all …]
H A Dread-rtl-function.cc279 basic_block bb = BASIC_BLOCK_FOR_FN (cfun, m_bb_idx); in apply()
487 if (!cfun) in create_function()
505 gcc_assert (cfun); in create_function()
510 cfun->curr_properties |= PROP_rtl; in create_function()
516 cfun->curr_properties = (PROP_cfg | PROP_rtl); in create_function()
526 init_empty_tree_cfg_for_function (cfun); in create_function()
527 ENTRY_BLOCK_PTR_FOR_FN (cfun)->flags |= BB_RTL; in create_function()
528 EXIT_BLOCK_PTR_FOR_FN (cfun)->flags |= BB_RTL; in create_function()
529 init_rtl_bb_info (ENTRY_BLOCK_PTR_FOR_FN (cfun)); in create_function()
530 init_rtl_bb_info (EXIT_BLOCK_PTR_FOR_FN (cfun)); in create_function()
[all …]
H A Dcfg.cc172 SET_BASIC_BLOCK_FOR_FN (cfun, ENTRY_BLOCK, ENTRY_BLOCK_PTR_FOR_FN (cfun)); in compact_blocks()
173 SET_BASIC_BLOCK_FOR_FN (cfun, EXIT_BLOCK, EXIT_BLOCK_PTR_FOR_FN (cfun)); in compact_blocks()
182 FOR_EACH_BB_FN (bb, cfun) in compact_blocks()
184 SET_BASIC_BLOCK_FOR_FN (cfun, i, bb); in compact_blocks()
188 gcc_assert (i == n_basic_blocks_for_fn (cfun)); in compact_blocks()
190 for (; i < last_basic_block_for_fn (cfun); i++) in compact_blocks()
191 SET_BASIC_BLOCK_FOR_FN (cfun, i, NULL); in compact_blocks()
193 last_basic_block_for_fn (cfun) = n_basic_blocks_for_fn (cfun); in compact_blocks()
202 SET_BASIC_BLOCK_FOR_FN (cfun, b->index, NULL); in expunge_block()
203 n_basic_blocks_for_fn (cfun)--; in expunge_block()
[all …]
H A Dloop-init.cc92 gcc_assert (!(cfun->curr_properties & PROP_loops)); in loop_optimizer_init()
102 gcc_assert (cfun->curr_properties & PROP_loops); in loop_optimizer_init()
112 release_recorded_exits (cfun); in loop_optimizer_init()
216 release_recorded_exits (cfun); in fix_loop_structure()
223 FOR_EACH_BB_FN (bb, cfun) in fix_loop_structure()
230 for (auto loop : loops_list (cfun, LI_FROM_INNERMOST)) in fix_loop_structure()
262 old_nloops = number_of_loops (cfun); in fix_loop_structure()
270 FOR_EACH_BB_FN (bb, cfun) in fix_loop_structure()
282 FOR_EACH_VEC_ELT (*get_loops (cfun), i, loop) in fix_loop_structure()
287 < basic_block_info_for_fn (cfun)->length ())) in fix_loop_structure()
[all …]
H A Dcfgrtl.cc352 bb->index = last_basic_block_for_fn (cfun)++; in create_basic_block_structure()
355 SET_BASIC_BLOCK_FOR_FN (cfun, bb->index, bb); in create_basic_block_structure()
380 if ((size_t) last_basic_block_for_fn (cfun) in rtl_create_basic_block()
381 >= basic_block_info_for_fn (cfun)->length ()) in rtl_create_basic_block()
382 vec_safe_grow_cleared (basic_block_info_for_fn (cfun), in rtl_create_basic_block()
383 last_basic_block_for_fn (cfun) + 1); in rtl_create_basic_block()
385 n_basic_blocks_for_fn (cfun)++; in rtl_create_basic_block()
437 FOR_EACH_BB_FN (bb, cfun) in compute_bb_for_insn()
520 return (n_basic_blocks_for_fn (cfun) > NUM_FIXED_BLOCKS ? in entry_of_function()
521 BB_HEAD (ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb) : get_insns ()); in entry_of_function()
[all …]
H A Dtree-tailcall.cc140 if (cfun->stdarg) in suitable_for_tail_opt_p()
158 if (cfun->calls_alloca) in suitable_for_tail_call_opt_p()
171 if (cfun->calls_setjmp) in suitable_for_tail_call_opt_p()
176 if (cfun->calls_eh_return) in suitable_for_tail_call_opt_p()
455 && auto_var_in_fn_p (gimple_assign_lhs (stmt), cfun->decl) in find_tail_calls()
456 && auto_var_in_fn_p (gimple_assign_rhs1 (stmt), cfun->decl)) in find_tail_calls()
488 && !auto_var_in_fn_p (ass_var, cfun->decl)) in find_tail_calls()
493 if (stmt_could_throw_p (cfun, stmt) in find_tail_calls()
494 && !stmt_can_throw_external (cfun, stmt)) in find_tail_calls()
520 tree result_decl = DECL_RESULT (cfun->decl); in find_tail_calls()
[all …]
H A Dpasses.cc119 execute_pass_list (cfun, pass_build_ssa_passes_1->sub); in execute_early_local_passes()
120 execute_pass_list (cfun, pass_local_optimization_passes_1->sub); in execute_early_local_passes()
126 return pass_mode_switching_1->execute (cfun); in execute_pass_mode_switching()
958 is_on = pass->gate (cfun); in dump_one_pass()
1688 callback (cfun, data); in do_per_function()
1742 callback (cfun, data); in do_per_function_toporder()
1836 if (!dump_file || !cfun) in emergency_dump_function()
1840 execute_function_dump (cfun, current_pass); in emergency_dump_function()
2041 bool from_ipa_pass = (cfun == NULL); in execute_function_todo()
2080 if (cfun->curr_properties & PROP_gimple) in execute_function_todo()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dlcm.c95 qin = qout = worklist = XNEWVEC (basic_block, n_basic_blocks_for_fn (cfun)); in compute_antinout_edge()
99 bitmap_vector_ones (antin, last_basic_block_for_fn (cfun)); in compute_antinout_edge()
103 int *postorder = XNEWVEC (int, n_basic_blocks_for_fn (cfun)); in compute_antinout_edge()
107 bb = BASIC_BLOCK_FOR_FN (cfun, postorder[i]); in compute_antinout_edge()
114 qend = &worklist[n_basic_blocks_for_fn (cfun) - NUM_FIXED_BLOCKS]; in compute_antinout_edge()
115 qlen = n_basic_blocks_for_fn (cfun) - NUM_FIXED_BLOCKS; in compute_antinout_edge()
119 FOR_EACH_EDGE (e, ei, EXIT_BLOCK_PTR_FOR_FN (cfun)->preds) in compute_antinout_edge()
120 e->src->aux = EXIT_BLOCK_PTR_FOR_FN (cfun); in compute_antinout_edge()
132 if (bb->aux == EXIT_BLOCK_PTR_FOR_FN (cfun)) in compute_antinout_edge()
151 if (!e->src->aux && e->src != ENTRY_BLOCK_PTR_FOR_FN (cfun)) in compute_antinout_edge()
[all …]
H A Dcfganal.c70 pre = XCNEWVEC (int, last_basic_block_for_fn (cfun)); in mark_dfs_back_edges()
71 post = XCNEWVEC (int, last_basic_block_for_fn (cfun)); in mark_dfs_back_edges()
74 auto_vec<edge_iterator, 20> stack (n_basic_blocks_for_fn (cfun) + 1); in mark_dfs_back_edges()
77 auto_sbitmap visited (last_basic_block_for_fn (cfun)); in mark_dfs_back_edges()
83 stack.quick_push (ei_start (ENTRY_BLOCK_PTR_FOR_FN (cfun)->succs)); in mark_dfs_back_edges()
97 if (dest != EXIT_BLOCK_PTR_FOR_FN (cfun) && ! bitmap_bit_p (visited, in mark_dfs_back_edges()
115 if (dest != EXIT_BLOCK_PTR_FOR_FN (cfun) in mark_dfs_back_edges()
116 && src != ENTRY_BLOCK_PTR_FOR_FN (cfun) in mark_dfs_back_edges()
122 && src != ENTRY_BLOCK_PTR_FOR_FN (cfun)) in mark_dfs_back_edges()
149 tos = worklist = XNEWVEC (basic_block, n_basic_blocks_for_fn (cfun)); in find_unreachable_blocks()
[all …]
H A Dtracer.c187 && (best->count ().to_frequency (cfun) * REG_BR_PROB_BASE in find_best_predecessor()
188 < bb->count.to_frequency (cfun) * branch_ratio_cutoff)) in find_best_predecessor()
203 fprintf (dump_file, "Trace seed %i [%i]", bb->index, bb->count.to_frequency (cfun)); in find_trace()
212 fprintf (dump_file, ",%i [%i]", bb->index, bb->count.to_frequency (cfun)); in find_trace()
216 fprintf (dump_file, " forward %i [%i]", bb->index, bb->count.to_frequency (cfun)); in find_trace()
227 fprintf (dump_file, ",%i [%i]", bb->index, bb->count.to_frequency (cfun)); in find_trace()
260 blocks.safe_grow_cleared (last_basic_block_for_fn (cfun)); in tail_duplicate()
262 basic_block *trace = XNEWVEC (basic_block, n_basic_blocks_for_fn (cfun)); in tail_duplicate()
263 int *counts = XNEWVEC (int, last_basic_block_for_fn (cfun)); in tail_duplicate()
274 bb_seen = sbitmap_alloc (last_basic_block_for_fn (cfun) * 2); in tail_duplicate()
[all …]
H A Dprofile.c117 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in instrument_edges()
209 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in get_exec_counts()
262 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in correct_negative_edge_counts()
279 FOR_EACH_BB_FN (bb, cfun) in is_inconsistent()
313 ! (find_edge (bb, EXIT_BLOCK_PTR_FOR_FN (cfun)) != NULL in is_inconsistent()
339 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in set_bb_counts()
358 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in read_profile_edge_counts()
415 bb_gcov_counts.safe_grow_cleared (last_basic_block_for_fn (cfun)); in compute_branch_probabilities()
420 FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb) in compute_branch_probabilities()
434 BB_INFO (EXIT_BLOCK_PTR_FOR_FN (cfun))->succ_count = 2; in compute_branch_probabilities()
[all …]
H A Dpasses.c119 execute_pass_list (cfun, pass_build_ssa_passes_1->sub); in execute_early_local_passes()
120 execute_pass_list (cfun, pass_local_optimization_passes_1->sub); in execute_early_local_passes()
126 return pass_mode_switching_1->execute (cfun); in execute_pass_mode_switching()
911 is_on = pass->gate (cfun); in dump_one_pass()
1640 callback (cfun, data); in do_per_function()
1694 callback (cfun, data); in do_per_function_toporder()
1788 if (!dump_file || !cfun) in emergency_dump_function()
1792 execute_function_dump (cfun, current_pass); in emergency_dump_function()
1941 bool from_ipa_pass = (cfun == NULL); in execute_function_todo()
1980 if (cfun->curr_properties & PROP_trees) in execute_function_todo()
[all …]
H A Dcfgbuild.c103 if (!cfun->can_throw_non_call_exceptions) in control_flow_insn_p()
209 || cfun->cfg->max_jumptable_ents > 100) in make_edges()
210 edge_cache = sbitmap_alloc (last_basic_block_for_fn (cfun)); in make_edges()
214 if (min == ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb) in make_edges()
215 make_edge (ENTRY_BLOCK_PTR_FOR_FN (cfun), min, EDGE_FALLTHRU); in make_edges()
234 if (e->dest != EXIT_BLOCK_PTR_FOR_FN (cfun)) in make_edges()
241 cached_make_edge (NULL, ENTRY_BLOCK_PTR_FOR_FN (cfun), bb, 0); in make_edges()
293 cached_make_edge (edge_cache, bb, EXIT_BLOCK_PTR_FOR_FN (cfun), 0); in make_edges()
317 cached_make_edge (edge_cache, bb, EXIT_BLOCK_PTR_FOR_FN (cfun), in make_edges()
324 else if (code == CALL_INSN || cfun->can_throw_non_call_exceptions) in make_edges()
[all …]
H A Dread-rtl-function.c279 basic_block bb = BASIC_BLOCK_FOR_FN (cfun, m_bb_idx); in apply()
487 if (!cfun) in create_function()
505 gcc_assert (cfun); in create_function()
510 cfun->curr_properties |= PROP_rtl; in create_function()
516 cfun->curr_properties = (PROP_cfg | PROP_rtl); in create_function()
526 init_empty_tree_cfg_for_function (cfun); in create_function()
527 ENTRY_BLOCK_PTR_FOR_FN (cfun)->flags |= BB_RTL; in create_function()
528 EXIT_BLOCK_PTR_FOR_FN (cfun)->flags |= BB_RTL; in create_function()
529 init_rtl_bb_info (ENTRY_BLOCK_PTR_FOR_FN (cfun)); in create_function()
530 init_rtl_bb_info (EXIT_BLOCK_PTR_FOR_FN (cfun)); in create_function()
[all …]
H A Dcfgrtl.c347 bb->index = last_basic_block_for_fn (cfun)++; in create_basic_block_structure()
350 SET_BASIC_BLOCK_FOR_FN (cfun, bb->index, bb); in create_basic_block_structure()
375 if ((size_t) last_basic_block_for_fn (cfun) in rtl_create_basic_block()
376 >= basic_block_info_for_fn (cfun)->length ()) in rtl_create_basic_block()
379 (last_basic_block_for_fn (cfun) in rtl_create_basic_block()
380 + (last_basic_block_for_fn (cfun) + 3) / 4); in rtl_create_basic_block()
381 vec_safe_grow_cleared (basic_block_info_for_fn (cfun), new_size); in rtl_create_basic_block()
384 n_basic_blocks_for_fn (cfun)++; in rtl_create_basic_block()
436 FOR_EACH_BB_FN (bb, cfun) in compute_bb_for_insn()
519 return (n_basic_blocks_for_fn (cfun) > NUM_FIXED_BLOCKS ? in entry_of_function()
[all …]
H A Dcfg.c158 SET_BASIC_BLOCK_FOR_FN (cfun, ENTRY_BLOCK, ENTRY_BLOCK_PTR_FOR_FN (cfun)); in compact_blocks()
159 SET_BASIC_BLOCK_FOR_FN (cfun, EXIT_BLOCK, EXIT_BLOCK_PTR_FOR_FN (cfun)); in compact_blocks()
168 FOR_EACH_BB_FN (bb, cfun) in compact_blocks()
170 SET_BASIC_BLOCK_FOR_FN (cfun, i, bb); in compact_blocks()
174 gcc_assert (i == n_basic_blocks_for_fn (cfun)); in compact_blocks()
176 for (; i < last_basic_block_for_fn (cfun); i++) in compact_blocks()
177 SET_BASIC_BLOCK_FOR_FN (cfun, i, NULL); in compact_blocks()
179 last_basic_block_for_fn (cfun) = n_basic_blocks_for_fn (cfun); in compact_blocks()
188 SET_BASIC_BLOCK_FOR_FN (cfun, b->index, NULL); in expunge_block()
189 n_basic_blocks_for_fn (cfun)--; in expunge_block()
[all …]
H A Dloop-init.c90 gcc_assert (!(cfun->curr_properties & PROP_loops)); in loop_optimizer_init()
100 gcc_assert (cfun->curr_properties & PROP_loops); in loop_optimizer_init()
110 release_recorded_exits (cfun); in loop_optimizer_init()
210 release_recorded_exits (cfun); in fix_loop_structure()
217 FOR_EACH_BB_FN (bb, cfun) in fix_loop_structure()
256 old_nloops = number_of_loops (cfun); in fix_loop_structure()
264 FOR_EACH_BB_FN (bb, cfun) in fix_loop_structure()
275 FOR_EACH_VEC_ELT (*get_loops (cfun), i, loop) in fix_loop_structure()
280 < basic_block_info_for_fn (cfun)->length ())) in fix_loop_structure()
283 = BASIC_BLOCK_FOR_FN (cfun, loop->former_header->index); in fix_loop_structure()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/nds32/
H A Dnds32.cc378 cfun->machine->naked_p = 0; in nds32_compute_stack_frame()
383 cfun->machine->attr_naked_p in nds32_compute_stack_frame()
386 cfun->machine->attr_no_prologue_p in nds32_compute_stack_frame()
398 cfun->machine->eh_return_data_first_regno = EH_RETURN_DATA_REGNO (0); in nds32_compute_stack_frame()
400 cfun->machine->eh_return_data_last_regno = r; in nds32_compute_stack_frame()
402 cfun->machine->eh_return_data_regs_size in nds32_compute_stack_frame()
403 = 4 * (cfun->machine->eh_return_data_last_regno in nds32_compute_stack_frame()
404 - cfun->machine->eh_return_data_first_regno in nds32_compute_stack_frame()
406 cfun->machine->use_eh_return_p = 1; in nds32_compute_stack_frame()
412 cfun->machine->eh_return_data_first_regno = SP_REGNUM; in nds32_compute_stack_frame()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nds32/
H A Dnds32.c378 cfun->machine->naked_p = 0; in nds32_compute_stack_frame()
383 cfun->machine->attr_naked_p in nds32_compute_stack_frame()
386 cfun->machine->attr_no_prologue_p in nds32_compute_stack_frame()
398 cfun->machine->eh_return_data_first_regno = EH_RETURN_DATA_REGNO (0); in nds32_compute_stack_frame()
400 cfun->machine->eh_return_data_last_regno = r; in nds32_compute_stack_frame()
402 cfun->machine->eh_return_data_regs_size in nds32_compute_stack_frame()
403 = 4 * (cfun->machine->eh_return_data_last_regno in nds32_compute_stack_frame()
404 - cfun->machine->eh_return_data_first_regno in nds32_compute_stack_frame()
406 cfun->machine->use_eh_return_p = 1; in nds32_compute_stack_frame()
412 cfun->machine->eh_return_data_first_regno = SP_REGNUM; in nds32_compute_stack_frame()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/ft32/
H A Dft32.c401 cfun->machine->local_vars_size = get_frame_size (); in ft32_compute_frame()
404 padding_locals = cfun->machine->local_vars_size % stack_alignment; in ft32_compute_frame()
408 cfun->machine->local_vars_size += padding_locals; in ft32_compute_frame()
410 cfun->machine->callee_saved_reg_size = 0; in ft32_compute_frame()
415 cfun->machine->callee_saved_reg_size += 4; in ft32_compute_frame()
417 cfun->machine->size_for_adjusting_sp = in ft32_compute_frame()
419 + cfun->machine->local_vars_size in ft32_compute_frame()
431 int bigframe = (cfun->machine->size_for_adjusting_sp >= 512); in must_link()
462 current_function_static_stack_size = cfun->machine->size_for_adjusting_sp; in ft32_expand_prologue()
464 if (!must_link () && (cfun->machine->callee_saved_reg_size == 4)) in ft32_expand_prologue()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/ft32/
H A Dft32.cc401 cfun->machine->local_vars_size = get_frame_size (); in ft32_compute_frame()
404 padding_locals = cfun->machine->local_vars_size % stack_alignment; in ft32_compute_frame()
408 cfun->machine->local_vars_size += padding_locals; in ft32_compute_frame()
410 cfun->machine->callee_saved_reg_size = 0; in ft32_compute_frame()
415 cfun->machine->callee_saved_reg_size += 4; in ft32_compute_frame()
417 cfun->machine->size_for_adjusting_sp = in ft32_compute_frame()
419 + cfun->machine->local_vars_size in ft32_compute_frame()
431 int bigframe = (cfun->machine->size_for_adjusting_sp >= 512); in must_link()
462 current_function_static_stack_size = cfun->machine->size_for_adjusting_sp; in ft32_expand_prologue()
464 if (!must_link () && (cfun->machine->callee_saved_reg_size == 4)) in ft32_expand_prologue()
[all …]

12345678910>>...34