Home
last modified time | relevance | path

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

123

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dgimple-walk.cc116 ret = walk_tree (&TREE_VALUE (op), callback_op, wi, NULL); in walk_gimple_asm()
137 ret = walk_tree (&TREE_VALUE (op), callback_op, wi, NULL); in walk_gimple_asm()
152 ret = walk_tree (&TREE_VALUE (op), callback_op, wi, NULL); in walk_gimple_asm()
202 ret = walk_tree (gimple_op_ptr (stmt, i), callback_op, wi, in walk_gimple_op()
221 ret = walk_tree (gimple_op_ptr (stmt, 0), callback_op, wi, pset); in walk_gimple_op()
239 ret = walk_tree (gimple_call_chain_ptr (as_a <gcall *> (stmt)), in walk_gimple_op()
244 ret = walk_tree (gimple_call_fn_ptr (stmt), callback_op, wi, pset); in walk_gimple_op()
253 ret = walk_tree (gimple_call_arg_ptr (stmt, i), callback_op, wi, in walk_gimple_op()
268 ret = walk_tree (gimple_call_lhs_ptr (stmt), callback_op, wi, pset); in walk_gimple_op()
281 ret = walk_tree (gimple_catch_types_ptr (as_a <gcatch *> (stmt)), in walk_gimple_op()
[all …]
Dtree-nested.cc848 walk_tree (gimple_omp_for_index_ptr (for_stmt, i), callback_op, in walk_gimple_omp_for()
852 walk_tree (gimple_omp_for_initial_ptr (for_stmt, i), callback_op, in walk_gimple_omp_for()
857 walk_tree (gimple_omp_for_final_ptr (for_stmt, i), callback_op, in walk_gimple_omp_for()
863 walk_tree (&TREE_OPERAND (t, 0), callback_op, &wi, NULL); in walk_gimple_omp_for()
866 walk_tree (&TREE_OPERAND (t, 1), callback_op, &wi, NULL); in walk_gimple_omp_for()
1224 walk_tree (&TREE_OPERAND (t, 0), convert_nonlocal_reference_op, wi, 0); in convert_nonlocal_reference_op()
1262 walk_tree (&TREE_OPERAND (t, 2), convert_nonlocal_reference_op, wi, in convert_nonlocal_reference_op()
1267 walk_tree (&TREE_OPERAND (t, 1), convert_nonlocal_reference_op, in convert_nonlocal_reference_op()
1269 walk_tree (&TREE_OPERAND (t, 2), convert_nonlocal_reference_op, in convert_nonlocal_reference_op()
1271 walk_tree (&TREE_OPERAND (t, 3), convert_nonlocal_reference_op, in convert_nonlocal_reference_op()
[all …]
Dtree-inline.cc398 walk_tree (&DECL_SIZE (t), copy_tree_body_r, id, NULL); in remap_decl()
399 walk_tree (&DECL_SIZE_UNIT (t), copy_tree_body_r, id, NULL); in remap_decl()
404 walk_tree (&DECL_FIELD_OFFSET (t), copy_tree_body_r, id, NULL); in remap_decl()
406 walk_tree (&DECL_QUALIFIER (t), copy_tree_body_r, id, NULL); in remap_decl()
499 walk_tree (&TYPE_MIN_VALUE (new_tree), copy_tree_body_r, id, NULL); in remap_type_1()
503 walk_tree (&TYPE_MAX_VALUE (new_tree), copy_tree_body_r, id, NULL); in remap_type_1()
517 walk_tree (&TYPE_ARG_TYPES (new_tree), copy_tree_body_r, id, NULL); in remap_type_1()
598 walk_tree (&TYPE_SIZE (new_tree), copy_tree_body_r, id, NULL); in remap_type_1()
599 walk_tree (&TYPE_SIZE_UNIT (new_tree), copy_tree_body_r, id, NULL); in remap_type_1()
638 && walk_tree (&_t, remap_type_3, id, NULL)) \ in remap_type_2()
[all …]
Dtree-emutls.cc479 && walk_tree (&TREE_OPERAND (t, 0), lower_emutls_2, NULL, NULL)) in lower_emutls_1()
493 walk_tree (&TREE_OPERAND (t, 0), lower_emutls_1, wi, NULL); in lower_emutls_1()
602 walk_tree (&pd->def, lower_emutls_1, &wi, NULL); in lower_emutls_phi_arg()
Dipa-free-lang-data.cc862 walk_tree (&t, find_decls_types_r, fld, &fld->pset); in find_decls_types()
916 walk_tree (&c->type_list, find_decls_types_r, fld, &fld->pset); in find_decls_types_in_eh_region()
924 walk_tree (&r->u.allowed.type_list, find_decls_types_r, fld, &fld->pset); in find_decls_types_in_eh_region()
928 walk_tree (&r->u.must_not_throw.failure_decl, in find_decls_types_in_eh_region()
Dmultiple_target.cc144 walk_tree (&DECL_INITIAL (ref->referring->decl), in create_dispatcher_calls()
Dcgraphbuild.cc386 walk_tree (&DECL_INITIAL (decl), record_reference, in record_references_in_initializer()
Dtree-ssa-live.cc595 walk_tree (expr_p, mark_all_vars_used_1, NULL, NULL); in mark_all_vars_used()
661 walk_tree (gimple_op_ptr (stmt, i), clear_unused_block_pointer_1, in clear_unused_block_pointer()
Dtree-ssa-ter.cc565 return walk_tree (&t, find_ssaname, data, NULL) != NULL_TREE; in find_ssaname_in_store()
Dipa-visibility.cc868 walk_tree (&DECL_INITIAL (vnode->decl), in function_and_variable_visibility()
Dgimplify.cc935 walk_tree (tp, mostly_copy_tree_r, data, NULL); in copy_if_shared_r()
952 walk_tree (tp, copy_if_shared_r, data, NULL); in copy_if_shared()
1003 walk_tree (tp, unmark_visited_r, NULL, NULL); in unmark_visited()
1030 walk_tree (&expr, mostly_copy_tree_r, NULL, NULL); in unshare_expr()
1052 walk_tree (&expr, mostly_copy_tree_r, NULL, NULL); in unshare_expr_without_location()
1054 walk_tree (&expr, prune_expr_location, NULL, NULL); in unshare_expr_without_location()
1946 walk_tree (&init, force_labels_r, NULL, NULL); in gimplify_decl_expr()
4802 if (!walk_tree (expr_p, gimplify_init_ctor_preeval_1, data, NULL)) in gimplify_init_ctor_preeval()
5208 walk_tree (&DECL_INITIAL (object), force_labels_r, NULL, NULL); in gimplify_init_constructor()
5315 walk_tree (&ctor, force_labels_r, NULL, NULL); in gimplify_init_constructor()
[all …]
Dstmt.cc469 return walk_tree (&decl, decl_overlaps_hard_reg_set_p, regs, NULL); in tree_overlaps_hard_reg_set()
Dtree-stdarg.cc845 && walk_tree (gimple_phi_arg_def_ptr (phi, j), in optimize_va_list_gpr_fpr_size()
Domp-low.cc328 walk_tree (&x, unshare_and_remap_1, pair, NULL); in unshare_and_remap()
343 return walk_tree (tp, scan_omp_1_op, &wi, NULL); in scan_omp_op()
908 walk_tree (&ve, copy_tree_body_r, &ctx->cb, NULL); in fixup_remapped_decl()
1116 walk_tree (&DECL_SIZE (new_f), copy_tree_body_r, &ctx->cb, NULL); in fixup_child_record_type()
1117 walk_tree (&DECL_SIZE_UNIT (new_f), copy_tree_body_r, in fixup_child_record_type()
1119 walk_tree (&DECL_FIELD_OFFSET (new_f), copy_tree_body_r, in fixup_child_record_type()
2615 walk_tree (&t, finish_taskreg_remap, ctx, NULL); in finish_taskreg_scan()
11985 walk_tree (&DECL_SIZE (new_f), copy_tree_body_r, &tcctx->cb, NULL); in task_copyfn_remap_type()
11986 walk_tree (&DECL_SIZE_UNIT (new_f), copy_tree_body_r, &tcctx->cb, NULL); in task_copyfn_remap_type()
11987 walk_tree (&DECL_FIELD_OFFSET (new_f), copy_tree_body_r, in task_copyfn_remap_type()
[all …]
Dsanopt.cc1244 walk_tree (gimple_phi_arg_def_ptr (phi, i), in sanitize_rewrite_addressable_params()
Dfunction.cc1898 walk_tree (&v, instantiate_expr, NULL, NULL); in instantiate_expr()
1920 walk_tree (&v, instantiate_expr, NULL, NULL); in instantiate_decls_1()
1946 walk_tree (&v, instantiate_expr, NULL, NULL); in instantiate_decls()
1958 walk_tree (&v, instantiate_expr, NULL, NULL); in instantiate_decls()
Domp-expand.cc1203 if (walk_tree (&from, expand_omp_regimplify_p, NULL, NULL) in expand_omp_build_assign()
1204 || walk_tree (&to, expand_omp_regimplify_p, NULL, NULL)) in expand_omp_build_assign()
1222 if (walk_tree (gimple_cond_lhs_ptr (cond_stmt), expand_omp_regimplify_p, in expand_omp_build_cond()
1224 || walk_tree (gimple_cond_rhs_ptr (cond_stmt), expand_omp_regimplify_p, in expand_omp_build_cond()
3269 if (walk_tree (gimple_cond_lhs_ptr (as_a <gcond *> (stmt)), in extract_omp_for_update_vars()
3271 || walk_tree (gimple_cond_rhs_ptr (as_a <gcond *> (stmt)), in extract_omp_for_update_vars()
6753 if (walk_tree (gimple_cond_lhs_ptr (cond_stmt), expand_omp_regimplify_p, in expand_omp_simd()
6755 || walk_tree (gimple_cond_rhs_ptr (cond_stmt), expand_omp_regimplify_p, in expand_omp_simd()
6864 if (walk_tree (gimple_cond_lhs_ptr (cond_stmt), in expand_omp_simd()
6866 || walk_tree (gimple_cond_rhs_ptr (cond_stmt), in expand_omp_simd()
Dtree-eh.cc2820 walk_tree (&TREE_OPERAND (*tp, i), replace_trapping_overflow, in replace_trapping_overflow()
2851 if (!walk_tree (&expr, find_trapping_overflow, &pset, &pset)) in rewrite_to_non_trapping_overflow()
2855 walk_tree (&expr, replace_trapping_overflow, &pset, &pset); in rewrite_to_non_trapping_overflow()
Dtree-ssa-dce.cc1244 if (walk_tree (&v, find_non_realpart_uses, lhs, NULL)) in maybe_optimize_arith_overflow()
Dlto-streamer-out.cc444 if (walk_tree (&initial, subtract_estimated_size, (void *)&max_size, in get_symbol_initial_value()
2753 walk_tree (&ctor, wrap_refs, NULL, NULL); in lto_output()
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Doptimize.cc78 walk_tree (&expr, copy_tree_body_r, id, NULL); in cxx_copy_decl()
111 walk_tree (&stmts, copy_tree_body_r, &id, NULL); in clone_body()
123 walk_tree (&DECL_INITIAL (decl), copy_tree_body_r, &id, NULL); in clone_body()
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.
1379 * optimize.c (remap_decl): Adjust calls to walk_tree.
1387 * tree.c (walk_tree): Add additional parameter.
1390 (verify_stmt_tree): Adjust call to walk_tree.
1393 (break_out_target_exprs): Adjust call to walk_tree.
1443 (walk_tree): Add BOUND_TEMPLATE_TEMPLATE_PARM.
[all …]
DChangeLog-2001655 * tree.c (walk_tree): Likewise.
796 * tree.c (walk_tree): Moved to ../tree-inline.c.
807 (walk_tree): Moved declaration to ../tree-inline.h.
833 (walk_tree): Move language-specific constructs into...
1151 * tree.c (walk_tree): Walk siblings even if !walk_subtrees.
2080 * tree.c (walk_tree): Reformat an if block.
2193 walk_tree.
3560 * tree.c (walk_tree, TREE_LIST): Don't walk the TREE_PURPOSE of
DChangeLog-1999250 * tree.c (walk_tree): Walk operand subtrees in forward order.
368 * tree.c (walk_tree): Special-case TARGET_EXPRs since they
381 * tree.c (walk_tree): Don't recurse into DECL_INITIAL or DECL_SIZE
561 (walk_tree): Walk into `s' class nodes. Walk statement chains.
940 (walk_tree): New function.
942 walk_tree.
947 (walk_tree): New function.
951 (break_out_target_exprs): Use walk_tree.
953 (check_default_argument): Use walk_tree.
955 (for_each_template_parm): Here. Use it, via walk_tree.
/netbsd/src/external/gpl3/gcc/dist/gcc/doc/
Dgimple.texi2748 operand is walked via @code{walk_tree} with optional state information
2751 @code{CALLBACK_OP} is called on each operand of @code{STMT} via @code{walk_tree}.
2752 Additional parameters to @code{walk_tree} must be stored in @code{WI}. For
2753 each operand @code{OP}, @code{walk_tree} is called as:
2756 walk_tree (&@code{OP}, @code{CALLBACK_OP}, @code{WI}, @code{PSET})
2761 the last call to @code{walk_tree}, or @code{NULL_TREE} if no @code{CALLBACK_OP} is

123