Home
last modified time | relevance | path

Searched refs:walk_tree (Results 1 – 25 of 46) sorted by relevance

12

/openbsd/gnu/gcc/gcc/
H A Dtree-nested.c571 walk_tree (&TREE_VALUE (link), wi->callback, wi, NULL); in walk_asm_expr()
583 walk_tree (&TREE_VALUE (link), wi->callback, wi, NULL); in walk_asm_expr()
619 walk_tree (&COND_EXPR_COND (t), wi->callback, wi, NULL); in walk_stmts()
660 walk_tree (&TREE_OPERAND (t, 1), wi->callback, wi, NULL); in walk_stmts()
666 walk_tree (&TREE_OPERAND (t, 0), wi->callback, wi, NULL); in walk_stmts()
678 walk_tree (tp, wi->callback, wi, NULL); in walk_stmts()
1079 walk_tree (tp, convert_nonlocal_reference, wi, NULL); in convert_nonlocal_reference()
1343 walk_tree (&TREE_OPERAND (t, 2), convert_local_reference, wi, in convert_local_reference()
1348 walk_tree (&TREE_OPERAND (t, 1), convert_local_reference, wi, in convert_local_reference()
1350 walk_tree (&TREE_OPERAND (t, 2), convert_local_reference, wi, in convert_local_reference()
[all …]
H A Dtree-inline.c179 walk_tree (&DECL_SIZE (t), copy_body_r, id, NULL); in remap_decl()
180 walk_tree (&DECL_SIZE_UNIT (t), copy_body_r, id, NULL); in remap_decl()
185 walk_tree (&DECL_FIELD_OFFSET (t), copy_body_r, id, NULL); in remap_decl()
187 walk_tree (&DECL_QUALIFIER (t), copy_body_r, id, NULL); in remap_decl()
312 walk_tree (&TYPE_SIZE (new), copy_body_r, id, NULL); in remap_type_1()
313 walk_tree (&TYPE_SIZE_UNIT (new), copy_body_r, id, NULL); in remap_type_1()
663 walk_tree (&TREE_OPERAND (*tp, 0), copy_body_r, id, NULL); in copy_body_r()
702 walk_tree (&stmt, copy_body_r, id, NULL); in copy_bb()
975 walk_tree (&body, copy_body_r, id, NULL); in copy_generic_body()
1866 walk_tree (bsi_stmt_ptr (bsi), estimate_num_insns_1, in estimate_num_insns()
[all …]
H A Dtree-dfa.c107 walk_tree (stmt_p, find_vars_r, NULL, NULL); in find_referenced_vars()
526 walk_tree (bsi_stmt_ptr (i), collect_dfa_stats_r, (void *) dfa_stats_p, in collect_dfa_stats()
732 walk_tree (&DECL_INITIAL (var), find_vars_r, NULL, 0); in add_referenced_var()
850 walk_tree (stmt_p, find_new_referenced_vars_1, NULL, NULL); in find_new_referenced_vars()
H A Dipa-reference.c493 walk_tree (&DECL_INITIAL (t), scan_for_static_refs, fn, visited_nodes); in scan_for_static_refs()
780 walk_tree (&DECL_INITIAL (global), scan_for_static_refs, in analyze_variable()
816 walk_tree (bsi_stmt_ptr (bsi), scan_for_static_refs, in analyze_function()
833 walk_tree (&DECL_INITIAL (var), scan_for_static_refs, in analyze_function()
H A Dtree-browser.c492 res = walk_tree (&head, find_node_with_code, &code, NULL); in browse_tree()
840 walk_tree (&node, store_child_info, NULL, NULL); in TB_update_up()
845 walk_tree (&DECL_SAVED_TREE (node), store_child_info, NULL, NULL); in TB_update_up()
H A Dtree-ssa-ccp.c1981 t = walk_tree (&TREE_OPERAND (expr, 0), fold_stmt_r, data, NULL); in fold_stmt_r()
2005 t = walk_tree (&TREE_OPERAND (expr, 0), fold_stmt_r, data, NULL); in fold_stmt_r()
2019 t = walk_tree (&TREE_OPERAND (expr, 0), fold_stmt_r, data, NULL); in fold_stmt_r()
2022 t = walk_tree (&TREE_OPERAND (expr, 1), fold_stmt_r, data, NULL); in fold_stmt_r()
2031 t = walk_tree (&TREE_OPERAND (expr, 0), fold_stmt_r, data, NULL); in fold_stmt_r()
2381 if (walk_tree (stmt_p, fold_stmt_r, &fold_stmt_r_data, NULL)) in fold_stmt()
2470 walk_tree (&stmt, fold_stmt_r, &fold_stmt_r_data, NULL); in fold_stmt_inplace()
H A Dcgraphunit.c297 walk_tree (&DECL_INITIAL (decl), record_reference, NULL, visited_nodes); in cgraph_varpool_analyze_pending_decls()
592 walk_tree (&TREE_OPERAND (call, 1), in cgraph_create_edges()
595 walk_tree (&TREE_OPERAND (stmt, 0), in cgraph_create_edges()
599 walk_tree (bsi_stmt_ptr (bsi), record_reference, node, visited_nodes); in cgraph_create_edges()
613 walk_tree (&DECL_INITIAL (decl), record_reference, node, visited_nodes); in cgraph_create_edges()
H A Dipa-pure-const.c411 walk_tree (&DECL_INITIAL (t), scan_function, fn, visited_nodes); in scan_function()
550 walk_tree (bsi_stmt_ptr (bsi), scan_function, in analyze_function()
H A Dtree-nrv.c214 walk_tree (tp, finalize_nrv_r, &data, 0); in tree_nrv()
H A Dipa-type-escape.c1183 walk_tree (&DECL_INITIAL (t), scan_for_refs, fn, visited_nodes); in scan_for_refs()
1354 walk_tree (&DECL_INITIAL (global), scan_for_refs, NULL, visited_nodes); in analyze_variable()
1377 walk_tree (bsi_stmt_ptr (bsi), scan_for_refs, in analyze_function()
1394 walk_tree (&DECL_INITIAL (var), scan_for_refs, in analyze_function()
H A Dtree-stdarg.c775 || walk_tree (&phi, find_va_list_reference, in execute_optimize_stdarg()
859 || walk_tree (&stmt, find_va_list_reference, in execute_optimize_stdarg()
H A Domp-low.c657 walk_tree (&ve, copy_body_r, &ctx->cb, NULL); in fixup_remapped_decl()
4522 walk_tree (&OMP_CLAUSES (t), diagnose_sb_1, wi, NULL); in diagnose_sb_1()
4536 walk_tree (&OMP_FOR_CLAUSES (t), diagnose_sb_1, wi, NULL); in diagnose_sb_1()
4539 walk_tree (&OMP_FOR_INIT (t), diagnose_sb_1, wi, NULL); in diagnose_sb_1()
4540 walk_tree (&OMP_FOR_COND (t), diagnose_sb_1, wi, NULL); in diagnose_sb_1()
4541 walk_tree (&OMP_FOR_INCR (t), diagnose_sb_1, wi, NULL); in diagnose_sb_1()
4576 walk_tree (&OMP_CLAUSES (t), diagnose_sb_2, wi, NULL); in diagnose_sb_2()
4588 walk_tree (&OMP_FOR_CLAUSES (t), diagnose_sb_2, wi, NULL); in diagnose_sb_2()
4590 walk_tree (&OMP_FOR_INIT (t), diagnose_sb_2, wi, NULL); in diagnose_sb_2()
4591 walk_tree (&OMP_FOR_COND (t), diagnose_sb_2, wi, NULL); in diagnose_sb_2()
[all …]
H A Dgimplify.c407 if (walk_tree (&t, find_single_pointer_decl_1, &decl, NULL)) in find_single_pointer_decl()
860 walk_tree (tp, mostly_copy_tree_r, NULL, NULL); in copy_if_shared_r()
892 walk_tree (body_p, copy_if_shared_r, NULL, NULL); in unshare_body()
905 walk_tree (body_p, unmark_visited_r, NULL, NULL); in unvisit_body()
916 walk_tree (&t, copy_if_shared_r, NULL, NULL); in unshare_all_trees()
917 walk_tree (&t, unmark_visited_r, NULL, NULL); in unshare_all_trees()
927 walk_tree (&expr, mostly_copy_tree_r, NULL, NULL); in unshare_expr()
1268 walk_tree (&init, force_labels_r, NULL, NULL); in gimplify_decl_expr()
2723 if (!walk_tree (expr_p, gimplify_init_ctor_preeval_1, data, NULL)) in gimplify_init_ctor_preeval()
2990 walk_tree (&DECL_INITIAL (object), force_labels_r, NULL, NULL); in gimplify_init_constructor()
[all …]
H A Dtree-ssa-dse.c208 return (walk_tree (&TREE_OPERAND (store1, 0), memory_ssa_name_same, in memory_address_same()
H A Dtree-cfg.c3485 addr = walk_tree (&stmt, verify_expr, NULL, NULL); in verify_stmt()
3617 addr = walk_tree (&t, verify_expr, (void *) 1, NULL); in verify_stmts()
3624 addr = walk_tree (&t, verify_node_sharing, htab, NULL); in verify_stmts()
3647 addr = walk_tree (&stmt, verify_node_sharing, htab, NULL); in verify_stmts()
4620 walk_tree (&OMP_BODY (t), move_stmt_r, p, NULL); in move_stmt_r()
4736 walk_tree (&stmt, move_stmt_r, &d, NULL); in move_block_to_fn()
H A Dtree-sra.c816 gcc_assert (!walk_tree (&inner, sra_find_candidate_decl, NULL, NULL)); in sra_walk_expr()
2205 walk_tree (tsi_stmt_ptr (tsi), mark_notrap, NULL, NULL); in scalarize_ldst()
H A Dtree-ssa.c1256 walk_tree (bsi_stmt_ptr (bsi), warn_uninitialized_var, in execute_early_warn_uninitialized()
H A Dtree-ssa-loop-ivopts.c2056 walk_tree (&step, find_depends, &cand->depends_on, NULL); in add_candidate_1()
2516 walk_tree (&expr, prepare_decl_rtl, &regno, NULL); in computation_cost()
3699 walk_tree (&expr, find_depends, depends_on, NULL); in force_var_cost()
3732 walk_tree (&addr, find_depends, depends_on, NULL); in split_address_cost()
4228 walk_tree (&op, find_depends, &depends_on, NULL); in determine_use_iv_cost_condition()
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dtree-inline.h29 tree walk_tree PARAMS ((tree*, walk_tree_fn, void*, void*));
H A Dtree-inline.c173 walk_tree (&TYPE_MAX_VALUE (TYPE_DOMAIN (TREE_TYPE (t))),
592 walk_tree (&body, copy_body_r, id, NULL);
1115 walk_tree (&TREE_OPERAND (*tp, i), expand_call_inline, data,
1135 walk_tree (&EXPR_WFL_NODE (t), expand_call_inline, data,
1435 walk_tree (tp, expand_call_inline, id, id->tree_pruner);
1537 walk_tree (tp, func, data, htab_) in walk_tree() function
1551 result = walk_tree (&(NODE), func, data, htab); \
1796 result = walk_tree (tp, func, data, htab);
/openbsd/gnu/usr.bin/gcc/gcc/cp/
H A Dtree.c1208 walk_tree (&t, verify_stmt_tree_r, &statements, NULL);
1413 walk_tree (&t, bot_manip, target_remap, NULL);
1414 walk_tree (&t, bot_replace, target_remap, NULL);
2094 result = walk_tree (&(NODE), func, data, htab); \
2410 walk_tree (&tp, mark_local_for_remap_r, st, NULL);
2413 walk_tree (&tp, cp_unsave_r, st, NULL);
/openbsd/gnu/gcc/gcc/cp/
H A Dtree.c1067 walk_tree (&t, verify_stmt_tree_r, &statements, NULL); in verify_stmt_tree()
1269 walk_tree (&t, bot_manip, target_remap, NULL); in break_out_target_exprs()
1270 walk_tree (&t, bot_replace, target_remap, NULL); in break_out_target_exprs()
1973 result = walk_tree (&(NODE), func, data, pset); \ in cp_walk_subtrees()
H A Dcp-gimplify.c751 walk_tree (&DECL_SAVED_TREE (fndecl), cp_genericize_r, p_set, NULL); in cp_genericize()
H A DChangeLog-2000245 * tree.c (walk_tree): Likewise.
696 * tree.c (walk_tree): Handle VECTOR_TYPE.
709 * tree.c (walk_tree): Don't walk into default args.
1362 * tree.c (walk_tree): Expose tail recursion.
1376 (walk_tree): Change prototype.
1387 * tree.c (walk_tree): Add additional parameter.
1390 (verify_stmt_tree): Adjust call to walk_tree.
1443 (walk_tree): Add BOUND_TEMPLATE_TEMPLATE_PARM.
1495 (finish_stmt_tree): Call it via walk_tree.
4124 * tree.c (walk_tree): Set lineno.
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/java/
H A Dlang.c894 result = walk_tree (&(NODE), func, data, htab); \

12