Home
last modified time | relevance | path

Searched refs:new_tree (Results 1 – 25 of 51) sorted by relevance

123

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-inline.c186 tree new_tree, var; in remap_ssa_name() local
258 new_tree = make_ssa_name (remap_type (TREE_TYPE (name), id)); in remap_ssa_name()
260 SET_SSA_NAME_VAR_OR_IDENTIFIER (new_tree, SSA_NAME_IDENTIFIER (name)); in remap_ssa_name()
261 insert_decl_map (id, name, new_tree); in remap_ssa_name()
262 SSA_NAME_OCCURS_IN_ABNORMAL_PHI (new_tree) in remap_ssa_name()
271 struct ptr_info_def *new_pi = get_ptr_info (new_tree); in remap_ssa_name()
277 duplicate_ssa_name_range_info (new_tree, SSA_NAME_RANGE_TYPE (name), in remap_ssa_name()
279 return new_tree; in remap_ssa_name()
284 new_tree = remap_decl (var, id); in remap_ssa_name()
292 if ((VAR_P (new_tree) || TREE_CODE (new_tree) == PARM_DECL) in remap_ssa_name()
[all …]
H A Dattribs.c1542 merge_dllimport_decl_attributes (tree old, tree new_tree) in merge_dllimport_decl_attributes() argument
1553 if (!VAR_OR_FUNCTION_DECL_P (new_tree)) in merge_dllimport_decl_attributes()
1555 else if (DECL_DLLIMPORT_P (new_tree) in merge_dllimport_decl_attributes()
1558 DECL_DLLIMPORT_P (new_tree) = 0; in merge_dllimport_decl_attributes()
1560 "attribute: dllimport ignored", new_tree); in merge_dllimport_decl_attributes()
1562 else if (DECL_DLLIMPORT_P (old) && !DECL_DLLIMPORT_P (new_tree)) in merge_dllimport_decl_attributes()
1572 "after being referenced with dll linkage", new_tree); in merge_dllimport_decl_attributes()
1579 DECL_DLLIMPORT_P (new_tree) = 1; in merge_dllimport_decl_attributes()
1584 else if (VAR_P (new_tree) || !DECL_DECLARED_INLINE_P (new_tree)) in merge_dllimport_decl_attributes()
1586 "attribute: previous dllimport ignored", new_tree); in merge_dllimport_decl_attributes()
[all …]
H A Dtree-into-ssa.c572 names_replaced_by (tree new_tree) in names_replaced_by() argument
574 return get_ssa_name_ann (new_tree)->repl_set; in names_replaced_by()
581 add_to_repl_tbl (tree new_tree, tree old) in add_to_repl_tbl() argument
583 bitmap *set = &get_ssa_name_ann (new_tree)->repl_set; in add_to_repl_tbl()
596 add_new_name_mapping (tree new_tree, tree old) in add_new_name_mapping() argument
599 gcc_checking_assert (new_tree != old in add_new_name_mapping()
600 && SSA_NAME_VAR (new_tree) == SSA_NAME_VAR (old)); in add_new_name_mapping()
612 add_to_repl_tbl (new_tree, old); in add_new_name_mapping()
617 bitmap_ior_into (names_replaced_by (new_tree), names_replaced_by (old)); in add_new_name_mapping()
621 bitmap_set_bit (new_ssa_names, SSA_NAME_VERSION (new_tree)); in add_new_name_mapping()
H A Dtree.c4100 tree new_tree; in substitute_in_expr() local
4137 new_tree in substitute_in_expr()
4173 new_tree = fold_build1 (code, TREE_TYPE (exp), op0); in substitute_in_expr()
4183 new_tree = fold_build2 (code, TREE_TYPE (exp), op0, op1); in substitute_in_expr()
4195 new_tree = fold_build3 (code, TREE_TYPE (exp), op0, op1, op2); in substitute_in_expr()
4209 new_tree in substitute_in_expr()
4222 new_tree = NULL_TREE; in substitute_in_expr()
4255 if (!new_tree) in substitute_in_expr()
4256 new_tree = copy_node (exp); in substitute_in_expr()
4257 TREE_OPERAND (new_tree, i) = new_op; in substitute_in_expr()
[all …]
H A Dtree-predcom.c1501 replace_ref_with (gimple *stmt, tree new_tree, bool set, bool in_lhs) in replace_ref_with() argument
1517 new_stmt = gimple_build_assign (val, new_tree); in replace_ref_with()
1532 gimple_assign_set_rhs_from_tree (&bsi, new_tree); in replace_ref_with()
1565 val = get_or_create_ssa_default_def (cfun, SSA_NAME_VAR (new_tree)); in replace_ref_with()
1582 new_stmt = gimple_build_assign (new_tree, unshare_expr (val)); in replace_ref_with()
H A Dcgraphclones.c646 new_node->maybe_create_reference (map->new_tree, NULL); in create_virtual_clone()
1183 replace_info->new_tree); in materialize_all_clones()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-inline.cc167 tree new_tree, var; in remap_ssa_name() local
238 new_tree = make_ssa_name (remap_type (TREE_TYPE (name), id)); in remap_ssa_name()
240 SET_SSA_NAME_VAR_OR_IDENTIFIER (new_tree, SSA_NAME_IDENTIFIER (name)); in remap_ssa_name()
241 insert_decl_map (id, name, new_tree); in remap_ssa_name()
242 SSA_NAME_OCCURS_IN_ABNORMAL_PHI (new_tree) in remap_ssa_name()
251 struct ptr_info_def *new_pi = get_ptr_info (new_tree); in remap_ssa_name()
257 duplicate_ssa_name_range_info (new_tree, SSA_NAME_RANGE_TYPE (name), in remap_ssa_name()
259 return new_tree; in remap_ssa_name()
264 new_tree = remap_decl (var, id); in remap_ssa_name()
272 if ((VAR_P (new_tree) || TREE_CODE (new_tree) == PARM_DECL) in remap_ssa_name()
[all …]
H A Dattribs.cc1741 merge_dllimport_decl_attributes (tree old, tree new_tree) in merge_dllimport_decl_attributes() argument
1752 if (!VAR_OR_FUNCTION_DECL_P (new_tree)) in merge_dllimport_decl_attributes()
1754 else if (DECL_DLLIMPORT_P (new_tree) in merge_dllimport_decl_attributes()
1757 DECL_DLLIMPORT_P (new_tree) = 0; in merge_dllimport_decl_attributes()
1759 "attribute: dllimport ignored", new_tree); in merge_dllimport_decl_attributes()
1761 else if (DECL_DLLIMPORT_P (old) && !DECL_DLLIMPORT_P (new_tree)) in merge_dllimport_decl_attributes()
1771 "after being referenced with dll linkage", new_tree); in merge_dllimport_decl_attributes()
1778 DECL_DLLIMPORT_P (new_tree) = 1; in merge_dllimport_decl_attributes()
1783 else if (VAR_P (new_tree) || !DECL_DECLARED_INLINE_P (new_tree)) in merge_dllimport_decl_attributes()
1785 "attribute: previous dllimport ignored", new_tree); in merge_dllimport_decl_attributes()
[all …]
H A Dtree-into-ssa.cc573 names_replaced_by (tree new_tree) in names_replaced_by() argument
575 return get_ssa_name_ann (new_tree)->repl_set; in names_replaced_by()
582 add_to_repl_tbl (tree new_tree, tree old) in add_to_repl_tbl() argument
584 bitmap *set = &get_ssa_name_ann (new_tree)->repl_set; in add_to_repl_tbl()
597 add_new_name_mapping (tree new_tree, tree old) in add_new_name_mapping() argument
600 gcc_checking_assert (new_tree != old in add_new_name_mapping()
601 && SSA_NAME_VAR (new_tree) == SSA_NAME_VAR (old)); in add_new_name_mapping()
613 add_to_repl_tbl (new_tree, old); in add_new_name_mapping()
618 bitmap_ior_into (names_replaced_by (new_tree), names_replaced_by (old)); in add_new_name_mapping()
622 bitmap_set_bit (new_ssa_names, SSA_NAME_VERSION (new_tree)); in add_new_name_mapping()
H A Dtree.cc4335 tree new_tree; in substitute_in_expr() local
4372 new_tree in substitute_in_expr()
4408 new_tree = fold_build1 (code, TREE_TYPE (exp), op0); in substitute_in_expr()
4418 new_tree = fold_build2 (code, TREE_TYPE (exp), op0, op1); in substitute_in_expr()
4430 new_tree = fold_build3 (code, TREE_TYPE (exp), op0, op1, op2); in substitute_in_expr()
4444 new_tree in substitute_in_expr()
4457 new_tree = NULL_TREE; in substitute_in_expr()
4490 if (!new_tree) in substitute_in_expr()
4491 new_tree = copy_node (exp); in substitute_in_expr()
4492 TREE_OPERAND (new_tree, i) = new_op; in substitute_in_expr()
[all …]
H A Dtree-vect-loop.cc8940 tree new_tree; in vectorizable_live_operation() local
8957 new_tree = gimple_convert (&stmts, lhs_type, scalar_res); in vectorizable_live_operation()
8964 new_tree = build3 (BIT_FIELD_REF, bftype, in vectorizable_live_operation()
8966 new_tree = force_gimple_operand (fold_convert (lhs_type, new_tree), in vectorizable_live_operation()
8986 gimple *copy = gimple_build_assign (lhs_phi, new_tree); in vectorizable_live_operation()
9004 replace_uses_by (gimple_phi_result (use_stmt), new_tree); in vectorizable_live_operation()
9009 SET_USE (use_p, new_tree); in vectorizable_live_operation()
9020 tree new_tree = build3 (BIT_FIELD_REF, bftype, in vectorizable_live_operation() local
9023 new_tree = force_gimple_operand (fold_convert (lhs_type, new_tree), in vectorizable_live_operation()
9025 if (TREE_CODE (new_tree) == SSA_NAME in vectorizable_live_operation()
[all …]
H A Dtree-ssa-phiopt.cc389 edge e, gphi *phi, tree new_tree) in replace_phi_edge_with_variable() argument
412 if (TREE_CODE (new_tree) == SSA_NAME in replace_phi_edge_with_variable()
415 && !SSA_NAME_RANGE_INFO (new_tree) in replace_phi_edge_with_variable()
417 && gimple_bb (SSA_NAME_DEF_STMT (new_tree)) == cond_block in replace_phi_edge_with_variable()
419 duplicate_ssa_name_range_info (new_tree, in replace_phi_edge_with_variable()
424 SET_USE (PHI_ARG_DEF_PTR (phi, e->dest_idx), new_tree); in replace_phi_edge_with_variable()
H A Dcgraphclones.cc649 tree repl = map->new_tree; in create_virtual_clone()
1144 replace_info->new_tree); in materialize_clone()
H A Dtree-predcom.cc1620 replace_ref_with (gimple *stmt, tree new_tree, bool set, bool in_lhs) in replace_ref_with() argument
1636 new_stmt = gimple_build_assign (val, new_tree); in replace_ref_with()
1651 gimple_assign_set_rhs_from_tree (&bsi, new_tree); in replace_ref_with()
1684 val = get_or_create_ssa_default_def (cfun, SSA_NAME_VAR (new_tree)); in replace_ref_with()
1701 new_stmt = gimple_build_assign (new_tree, unshare_expr (val)); in replace_ref_with()
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-format/
H A Dgit-clang-format161 new_tree = run_clang_format_and_save_to_tree(changed_lines,
167 new_tree = run_clang_format_and_save_to_tree(changed_lines,
172 print('new tree: %s' % new_tree)
173 if old_tree == new_tree:
177 print_diff(old_tree, new_tree)
179 changed_files = apply_changes(old_tree, new_tree, force=opts.force,
495 def print_diff(old_tree, new_tree): argument
504 subprocess.check_call(['git', 'diff', '--diff-filter=M', old_tree, new_tree,
508 def apply_changes(old_tree, new_tree, force=False, patch_mode=False): argument
515 new_tree).rstrip('\0').split('\0')
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/i386/
H A Di386-options.c2952 tree new_tree = target_option_current_node; in ix86_reset_previous_fndecl() local
2953 cl_target_option_restore (&global_options, TREE_TARGET_OPTION (new_tree)); in ix86_reset_previous_fndecl()
2954 if (TREE_TARGET_GLOBALS (new_tree)) in ix86_reset_previous_fndecl()
2955 restore_target_globals (TREE_TARGET_GLOBALS (new_tree)); in ix86_reset_previous_fndecl()
2956 else if (new_tree == target_option_default_node) in ix86_reset_previous_fndecl()
2959 TREE_TARGET_GLOBALS (new_tree) = save_target_globals_default_opts (); in ix86_reset_previous_fndecl()
3206 tree new_tree = DECL_FUNCTION_SPECIFIC_TARGET (fndecl); in ix86_set_current_function() local
3207 if (new_tree == NULL_TREE) in ix86_set_current_function()
3208 new_tree = target_option_default_node; in ix86_set_current_function()
3210 if (old_tree != new_tree) in ix86_set_current_function()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/
H A Di386-options.cc3012 tree new_tree = target_option_current_node; in ix86_reset_previous_fndecl() local
3014 TREE_TARGET_OPTION (new_tree)); in ix86_reset_previous_fndecl()
3015 if (TREE_TARGET_GLOBALS (new_tree)) in ix86_reset_previous_fndecl()
3016 restore_target_globals (TREE_TARGET_GLOBALS (new_tree)); in ix86_reset_previous_fndecl()
3017 else if (new_tree == target_option_default_node) in ix86_reset_previous_fndecl()
3020 TREE_TARGET_GLOBALS (new_tree) = save_target_globals_default_opts (); in ix86_reset_previous_fndecl()
3267 tree new_tree = DECL_FUNCTION_SPECIFIC_TARGET (fndecl); in ix86_set_current_function() local
3268 if (new_tree == NULL_TREE) in ix86_set_current_function()
3269 new_tree = target_option_default_node; in ix86_set_current_function()
3273 != TREE_TARGET_OPTION (new_tree)->x_ix86_unsafe_math_optimizations in ix86_set_current_function()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libobjc/
H A Dinit.c310 objc_class_tree *new_tree in __objc_tree_insert_class() local
312 tree->subclasses = list_cons (new_tree, tree->subclasses); in __objc_tree_insert_class()
/netbsd-src/external/gpl3/gcc.old/dist/libobjc/
H A Dinit.c310 objc_class_tree *new_tree in __objc_tree_insert_class() local
312 tree->subclasses = list_cons (new_tree, tree->subclasses); in __objc_tree_insert_class()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/s390/
H A Ds390-protos.h59 extern void s390_activate_target_options (tree new_tree);
/netbsd-src/external/gpl3/gcc/dist/gcc/config/s390/
H A Ds390-protos.h60 extern void s390_activate_target_options (tree new_tree);
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rs6000/
H A Drs6000-protos.h285 extern void rs6000_activate_target_options (tree new_tree);
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/pru/
H A Dpru.c2888 tree new_tree = (fndecl in pru_set_current_function() local
2895 if (old_tree == new_tree) in pru_set_current_function()
2898 else if (new_tree) in pru_set_current_function()
2901 TREE_TARGET_OPTION (new_tree)); in pru_set_current_function()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/pru/
H A Dpru.cc3048 tree new_tree = (fndecl in pru_set_current_function() local
3055 if (old_tree == new_tree) in pru_set_current_function()
3058 else if (new_tree) in pru_set_current_function()
3061 TREE_TARGET_OPTION (new_tree)); in pru_set_current_function()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/
H A Drs6000-protos.h322 extern void rs6000_activate_target_options (tree new_tree);

123