/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/ |
H A D | c-ubsan.cc | 53 op0 = unshare_expr (op0); in ubsan_instrument_division() 54 op1 = unshare_expr (op1); in ubsan_instrument_division() 75 tt = fold_build2 (EQ_EXPR, boolean_type_node, unshare_expr (op1), in ubsan_instrument_division() 106 t = fold_build2 (COMPOUND_EXPR, TREE_TYPE (t), unshare_expr (op0), t); in ubsan_instrument_division() 107 t = fold_build2 (COMPOUND_EXPR, TREE_TYPE (t), unshare_expr (op1), t); in ubsan_instrument_division() 121 op0 = unshare_expr (op0); in ubsan_instrument_division() 122 op1 = unshare_expr (op1); in ubsan_instrument_division() 131 op0 = unshare_expr (op0); in ubsan_instrument_division() 132 op1 = unshare_expr (op1); in ubsan_instrument_division() 159 op0 = unshare_expr (op0); in ubsan_instrument_shift() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/ |
H A D | c-ubsan.c | 53 op0 = unshare_expr (op0); in ubsan_instrument_division() 54 op1 = unshare_expr (op1); in ubsan_instrument_division() 76 tt = fold_build2 (EQ_EXPR, boolean_type_node, unshare_expr (op1), in ubsan_instrument_division() 91 t = fold_build2 (COMPOUND_EXPR, TREE_TYPE (t), unshare_expr (op0), t); in ubsan_instrument_division() 92 t = fold_build2 (COMPOUND_EXPR, TREE_TYPE (t), unshare_expr (op1), t); in ubsan_instrument_division() 106 op0 = unshare_expr (op0); in ubsan_instrument_division() 107 op1 = unshare_expr (op1); in ubsan_instrument_division() 132 op0 = unshare_expr (op0); in ubsan_instrument_shift() 133 op1 = unshare_expr (op1); in ubsan_instrument_shift() 155 fold_convert (op1_utype, unshare_expr (op1))); in ubsan_instrument_shift() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | gimple.cc | 1935 unshare_expr (gimple_bind_vars (bind_stmt))); in gimple_copy() 1946 t = unshare_expr (gimple_catch_types (catch_stmt)); in gimple_copy() 1958 t = unshare_expr (gimple_eh_filter_types (eh_filter_stmt)); in gimple_copy() 1988 t = unshare_expr (gimple_omp_for_clauses (stmt)); in gimple_copy() 2001 t = unshare_expr (gimple_omp_for_initial (stmt, i)); in gimple_copy() 2003 t = unshare_expr (gimple_omp_for_final (stmt, i)); in gimple_copy() 2005 t = unshare_expr (gimple_omp_for_incr (stmt, i)); in gimple_copy() 2014 t = unshare_expr (gimple_omp_parallel_clauses (omp_par_stmt)); in gimple_copy() 2016 t = unshare_expr (gimple_omp_parallel_child_fn (omp_par_stmt)); in gimple_copy() 2018 t = unshare_expr (gimple_omp_parallel_data_arg (omp_par_stmt)); in gimple_copy() [all …]
|
H A D | omp-oacc-kernels-decompose.cc | 311 clauses = unshare_expr (clauses); in make_region_seq() 352 tree c = unshare_expr (num_gangs_clause); in make_region_seq() 358 tree c = unshare_expr (num_workers_clause); in make_region_seq() 364 tree c = unshare_expr (vector_length_clause); in make_region_seq() 394 tree num_clause = unshare_expr (parent_clause); in add_parent_or_loop_num_clause() 469 *outer_clause_ptr = unshare_expr (loop_clause); in adjust_nested_loop_clauses() 576 *clause_ptr = unshare_expr (loop_clause); in transform_kernels_loop_clauses() 652 clauses = unshare_expr (clauses); in make_region_loop_nest() 1469 OMP_CLAUSE_DECL (new_clause) = unshare_expr (decl); in omp_oacc_kernels_decompose_1() 1528 tree new_if_clause = unshare_expr (c); in omp_oacc_kernels_decompose_1()
|
H A D | tree-if-conv.cc | 1327 add_to_dst_predicate_list (loop, true_edge, unshare_expr (cond), in predicate_bbs() 1328 unshare_expr (c)); in predicate_bbs() 1332 unshare_expr (c)); in predicate_bbs() 1334 unshare_expr (cond), c2); in predicate_bbs() 1841 unshare_expr (cond), in convert_scalar_cond_reduction() 1892 c = force_gimple_operand_gsi_1 (gsi, unshare_expr (c), in gen_phi_arg_condition() 1899 cond = force_gimple_operand_gsi_1 (gsi, unshare_expr (cond), in gen_phi_arg_condition() 1989 cond = force_gimple_operand_gsi_1 (gsi, unshare_expr (cond), in predicate_scalar_phi() 2015 rhs = fold_build_cond_expr (TREE_TYPE (res), unshare_expr (cond), in predicate_scalar_phi() 2090 cond = force_gimple_operand_gsi_1 (gsi, unshare_expr (cond), in predicate_scalar_phi() [all …]
|
H A D | omp-low.cc | 312 *tp = unshare_expr (pair[1]); in unshare_and_remap_1() 327 x = unshare_expr (x); in unshare_and_remap() 751 x = unshare_expr (x); in build_outer_var_ref() 2397 t = unshare_expr (DECL_VALUE_EXPR (t)); in finish_taskreg_remap() 2614 t = unshare_expr (t); in finish_taskreg_scan() 2791 = chainon (unshare_expr (ctx->outer->local_reduction_clauses), in scan_omp_for() 2857 = chainon (unshare_expr (ctx->local_reduction_clauses), in scan_omp_for() 5533 gimplify_assign (y3, unshare_expr (ref), ilist); in lower_rec_input_clauses() 5804 allocate_ptr = unshare_expr (x); in lower_rec_input_clauses() 5927 nx = unshare_expr (new_var); in lower_rec_input_clauses() [all …]
|
H A D | omp-expand.cc | 1887 n1 = fold_convert (itype, unshare_expr (fd->loops[i].n1)); in expand_omp_for_init_counts() 1890 n2 = fold_convert (itype, unshare_expr (fd->loops[i].n2)); in expand_omp_for_init_counts() 1997 t = fold_convert (itype, unshare_expr (fd->loops[o].n1)); in expand_omp_for_init_counts() 2000 t = fold_convert (itype, unshare_expr (fd->loops[o].n2)); in expand_omp_for_init_counts() 2003 t = fold_build2 (MINUS_EXPR, itype, unshare_expr (fd->loops[i].m2), in expand_omp_for_init_counts() 2004 unshare_expr (fd->loops[i].m1)); in expand_omp_for_init_counts() 2007 unshare_expr (fd->loops[i].m1)); in expand_omp_for_init_counts() 2009 t = unshare_expr (fd->loops[i].m2); in expand_omp_for_init_counts() 2046 t = fold_convert (itype, unshare_expr (fd->loops[i].n1)); in expand_omp_for_init_counts() 2049 n1 = fold_convert (itype, unshare_expr (fd->loops[i].m1)); in expand_omp_for_init_counts() [all …]
|
H A D | tree-ssa-forwprop.cc | 547 gimple_cond_set_condition_from_tree (stmt, unshare_expr (tmp)); in forward_propagate_into_gimple_cond() 631 gimple_assign_set_rhs1 (stmt, unshare_expr (tmp)); in forward_propagate_into_cond() 700 gimple_assign_set_rhs1 (use_stmt, unshare_expr (def_rhs)); in forward_propagate_addr_expr_1() 830 new_lhs = unshare_expr (TREE_OPERAND (def_rhs, 0)); in forward_propagate_addr_expr_1() 916 new_rhs = unshare_expr (TREE_OPERAND (def_rhs, 0)); in forward_propagate_addr_expr_1() 952 unshare_expr (def_rhs), in forward_propagate_addr_expr_1() 2481 unshare_expr (p), op1, bitsize_int (idx * size)); in simplify_bitfield_ref() 2597 gimple_assign_set_rhs1 (stmt, unshare_expr (orig)); in simplify_permutation() 3262 unshare_expr (load_rhs))); in optimize_vector_load() 3275 tree new_rhs = unshare_expr (load_rhs); in optimize_vector_load() [all …]
|
H A D | gimplify.h | 66 extern tree unshare_expr (tree);
|
H A D | tree-ssa-phiprop.cc | 196 new_var = unshare_expr (res); in phiprop_insert_phi() 200 old_arg = unshare_expr (old_arg); in phiprop_insert_phi()
|
H A D | tree-ssa-loop-manip.cc | 1093 cond = force_gimple_operand (unshare_expr (cond), &stmts, false, NULL_TREE); in determine_exit_conditions() 1107 base = force_gimple_operand (unshare_expr (base), &stmts, true, NULL_TREE); in determine_exit_conditions() 1110 bound = force_gimple_operand (unshare_expr (bound), &stmts, true, NULL_TREE); in determine_exit_conditions() 1557 val = fold_build2 (MULT_EXPR, mtype, unshare_expr (iv.step), in rewrite_phi_with_iv() 1561 atype, unshare_expr (iv.base), val); in rewrite_phi_with_iv()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | gimple.c | 1856 unshare_expr (gimple_bind_vars (bind_stmt))); in gimple_copy() 1867 t = unshare_expr (gimple_catch_types (catch_stmt)); in gimple_copy() 1879 t = unshare_expr (gimple_eh_filter_types (eh_filter_stmt)); in gimple_copy() 1909 t = unshare_expr (gimple_omp_for_clauses (stmt)); in gimple_copy() 1922 t = unshare_expr (gimple_omp_for_initial (stmt, i)); in gimple_copy() 1924 t = unshare_expr (gimple_omp_for_final (stmt, i)); in gimple_copy() 1926 t = unshare_expr (gimple_omp_for_incr (stmt, i)); in gimple_copy() 1935 t = unshare_expr (gimple_omp_parallel_clauses (omp_par_stmt)); in gimple_copy() 1937 t = unshare_expr (gimple_omp_parallel_child_fn (omp_par_stmt)); in gimple_copy() 1939 t = unshare_expr (gimple_omp_parallel_data_arg (omp_par_stmt)); in gimple_copy() [all …]
|
H A D | tree-if-conv.c | 1315 add_to_dst_predicate_list (loop, true_edge, unshare_expr (cond), in predicate_bbs() 1316 unshare_expr (c)); in predicate_bbs() 1320 unshare_expr (c)); in predicate_bbs() 1322 unshare_expr (cond), c2); in predicate_bbs() 1727 unshare_expr (cond), in convert_scalar_cond_reduction() 1768 c = force_gimple_operand_gsi_1 (gsi, unshare_expr (c), in gen_phi_arg_condition() 1775 cond = force_gimple_operand_gsi_1 (gsi, unshare_expr (cond), in gen_phi_arg_condition() 1864 cond = force_gimple_operand_gsi_1 (gsi, unshare_expr (cond), in predicate_scalar_phi() 1885 rhs = fold_build_cond_expr (TREE_TYPE (res), unshare_expr (cond), in predicate_scalar_phi() 1960 cond = force_gimple_operand_gsi_1 (gsi, unshare_expr (cond), in predicate_scalar_phi() [all …]
|
H A D | omp-low.c | 267 *tp = unshare_expr (pair[1]); in unshare_and_remap_1() 282 x = unshare_expr (x); in unshare_and_remap() 713 x = unshare_expr (x); 2128 t = unshare_expr (DECL_VALUE_EXPR (t)); in finish_taskreg_remap() 2300 t = unshare_expr (t); in finish_taskreg_scan() 2470 = chainon (unshare_expr (ctx->outer->local_reduction_clauses), in scan_omp_for() 2536 = chainon (unshare_expr (ctx->local_reduction_clauses), in scan_omp_for() 4941 gimplify_assign (y3, unshare_expr (ref), ilist); in lower_rec_input_clauses() 5299 nx = unshare_expr (new_var); in lower_rec_input_clauses() 5333 tree iv = unshare_expr (ivar); in lower_rec_input_clauses() [all …]
|
H A D | tree-ssa-forwprop.c | 545 gimple_cond_set_condition_from_tree (stmt, unshare_expr (tmp)); in forward_propagate_into_gimple_cond() 629 gimple_assign_set_rhs1 (stmt, unshare_expr (tmp)); in forward_propagate_into_cond() 698 gimple_assign_set_rhs1 (use_stmt, unshare_expr (def_rhs)); in forward_propagate_addr_expr_1() 828 new_lhs = unshare_expr (TREE_OPERAND (def_rhs, 0)); in forward_propagate_addr_expr_1() 914 new_rhs = unshare_expr (TREE_OPERAND (def_rhs, 0)); in forward_propagate_addr_expr_1() 950 unshare_expr (def_rhs), in forward_propagate_addr_expr_1() 2072 unshare_expr (p), op1, bitsize_int (idx * size)); in simplify_bitfield_ref() 2170 gimple_assign_set_rhs1 (stmt, unshare_expr (orig)); in simplify_permutation() 2886 unshare_expr (rhs)); in execute() 2950 unshare_expr (rhs), in execute() [all …]
|
H A D | gimplify.h | 66 extern tree unshare_expr (tree);
|
H A D | tree-ssa-phiprop.c | 196 new_var = unshare_expr (res); in phiprop_insert_phi() 200 old_arg = unshare_expr (old_arg); in phiprop_insert_phi()
|
H A D | tree-ssa-loop-manip.c | 1083 cond = force_gimple_operand (unshare_expr (cond), &stmts, false, NULL_TREE); in determine_exit_conditions() 1097 base = force_gimple_operand (unshare_expr (base), &stmts, true, NULL_TREE); in determine_exit_conditions() 1100 bound = force_gimple_operand (unshare_expr (bound), &stmts, true, NULL_TREE); in determine_exit_conditions() 1480 val = fold_build2 (MULT_EXPR, mtype, unshare_expr (iv.step), in rewrite_phi_with_iv() 1484 atype, unshare_expr (iv.base), val); in rewrite_phi_with_iv()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/ |
H A D | trans-openmp.c | 372 *tp = unshare_expr (t); in gfc_omp_unshare_expr_r() 510 gfc_add_modify (&block, unshare_expr (destf), in gfc_walk_alloc_comps() 511 unshare_expr (declf)); in gfc_walk_alloc_comps() 541 tem = gfc_conv_descriptor_data_get (unshare_expr (declf)); in gfc_walk_alloc_comps() 543 tem = unshare_expr (declf); in gfc_walk_alloc_comps() 563 tem = gfc_conv_descriptor_data_get (unshare_expr (declf)); in gfc_walk_alloc_comps() 572 tem = gfc_call_free (unshare_expr (declf)); in gfc_walk_alloc_comps() 640 size = unshare_expr (size); in gfc_omp_clause_default_ctor() 649 gfc_conv_descriptor_data_set (&cond_block, unshare_expr (decl), ptr); in gfc_omp_clause_default_ctor() 651 gfc_add_modify (&cond_block, unshare_expr (decl), in gfc_omp_clause_default_ctor() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/xtensa/ |
H A D | xtensa.cc | 3238 reg = build3 (COMPONENT_REF, TREE_TYPE (f_reg), unshare_expr (valist), in xtensa_va_start() 3240 ndx = build3 (COMPONENT_REF, TREE_TYPE (f_ndx), unshare_expr (valist), in xtensa_va_start() 3295 imag_part = xtensa_gimplify_va_arg_expr (unshare_expr (valist), in xtensa_gimplify_va_arg_expr() 3309 reg = build3 (COMPONENT_REF, TREE_TYPE (f_reg), unshare_expr (valist), in xtensa_gimplify_va_arg_expr() 3311 ndx = build3 (COMPONENT_REF, TREE_TYPE (f_ndx), unshare_expr (valist), in xtensa_gimplify_va_arg_expr() 3332 t = build2 (PLUS_EXPR, integer_type_node, unshare_expr (orig_ndx), in xtensa_gimplify_va_arg_expr() 3336 gimplify_assign (unshare_expr (orig_ndx), t, pre_p); in xtensa_gimplify_va_arg_expr() 3346 gimplify_assign (unshare_expr (ndx), t, pre_p); in xtensa_gimplify_va_arg_expr() 3363 t = build2 (GT_EXPR, boolean_type_node, unshare_expr (ndx), in xtensa_gimplify_va_arg_expr() 3371 gimplify_assign (unshare_expr (array), reg, pre_p); in xtensa_gimplify_va_arg_expr() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/xtensa/ |
H A D | xtensa.c | 3206 reg = build3 (COMPONENT_REF, TREE_TYPE (f_reg), unshare_expr (valist), in xtensa_va_start() 3208 ndx = build3 (COMPONENT_REF, TREE_TYPE (f_ndx), unshare_expr (valist), in xtensa_va_start() 3263 imag_part = xtensa_gimplify_va_arg_expr (unshare_expr (valist), in xtensa_gimplify_va_arg_expr() 3277 reg = build3 (COMPONENT_REF, TREE_TYPE (f_reg), unshare_expr (valist), in xtensa_gimplify_va_arg_expr() 3279 ndx = build3 (COMPONENT_REF, TREE_TYPE (f_ndx), unshare_expr (valist), in xtensa_gimplify_va_arg_expr() 3300 t = build2 (PLUS_EXPR, integer_type_node, unshare_expr (orig_ndx), in xtensa_gimplify_va_arg_expr() 3304 gimplify_assign (unshare_expr (orig_ndx), t, pre_p); in xtensa_gimplify_va_arg_expr() 3314 gimplify_assign (unshare_expr (ndx), t, pre_p); in xtensa_gimplify_va_arg_expr() 3331 t = build2 (GT_EXPR, boolean_type_node, unshare_expr (ndx), in xtensa_gimplify_va_arg_expr() 3339 gimplify_assign (unshare_expr (array), reg, pre_p); in xtensa_gimplify_va_arg_expr() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/ |
H A D | rs6000-call.cc | 2486 fpr = build3 (COMPONENT_REF, TREE_TYPE (f_fpr), unshare_expr (valist), in rs6000_va_start() 2488 ovf = build3 (COMPONENT_REF, TREE_TYPE (f_ovf), unshare_expr (valist), in rs6000_va_start() 2490 sav = build3 (COMPONENT_REF, TREE_TYPE (f_sav), unshare_expr (valist), in rs6000_va_start() 2653 fpr = build3 (COMPONENT_REF, TREE_TYPE (f_fpr), unshare_expr (valist), in rs6000_gimplify_va_arg() 2655 ovf = build3 (COMPONENT_REF, TREE_TYPE (f_ovf), unshare_expr (valist), in rs6000_gimplify_va_arg() 2657 sav = build3 (COMPONENT_REF, TREE_TYPE (f_sav), unshare_expr (valist), in rs6000_gimplify_va_arg() 2706 u = build2 (BIT_AND_EXPR, TREE_TYPE (reg), unshare_expr (reg), in rs6000_gimplify_va_arg() 2709 unshare_expr (reg), u); in rs6000_gimplify_va_arg() 2715 t = build2 (BIT_IOR_EXPR, TREE_TYPE (reg), unshare_expr (reg), in rs6000_gimplify_va_arg() 2717 u = build2 (MODIFY_EXPR, void_type_node, unshare_expr (reg), t); in rs6000_gimplify_va_arg() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/ |
H A D | trans-openmp.cc | 461 *tp = unshare_expr (t); in gfc_omp_unshare_expr_r() 599 gfc_add_modify (&block, unshare_expr (destf), in gfc_walk_alloc_comps() 600 unshare_expr (declf)); in gfc_walk_alloc_comps() 630 tem = gfc_conv_descriptor_data_get (unshare_expr (declf)); in gfc_walk_alloc_comps() 632 tem = unshare_expr (declf); in gfc_walk_alloc_comps() 652 tem = gfc_conv_descriptor_data_get (unshare_expr (declf)); in gfc_walk_alloc_comps() 661 tem = gfc_call_free (unshare_expr (declf)); in gfc_walk_alloc_comps() 742 size = unshare_expr (size); in gfc_omp_clause_default_ctor() 751 gfc_conv_descriptor_data_set (&cond_block, unshare_expr (decl), ptr); in gfc_omp_clause_default_ctor() 753 gfc_add_modify (&cond_block, unshare_expr (decl), in gfc_omp_clause_default_ctor() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/sh/ |
H A D | sh.cc | 7743 tmp = build1 (ADDR_EXPR, pptr_type_node, unshare_expr (next_fp)); in sh_gimplify_va_arg_expr() 7744 gimplify_assign (unshare_expr (addr), tmp, pre_p); in sh_gimplify_va_arg_expr() 7746 gimplify_assign (unshare_expr (next_fp_tmp), valist, pre_p); in sh_gimplify_va_arg_expr() 7749 tmp = fold_build_pointer_plus_hwi (unshare_expr (tmp), 4 - size); in sh_gimplify_va_arg_expr() 7751 unshare_expr (next_fp_tmp), unshare_expr (tmp)); in sh_gimplify_va_arg_expr() 7754 unshare_expr (lab_false)), NULL_TREE); in sh_gimplify_va_arg_expr() 7764 tmp = fold_build_pointer_plus (unshare_expr (next_fp_tmp), tmp); in sh_gimplify_va_arg_expr() 7765 gimplify_assign (unshare_expr (next_fp_tmp), tmp, pre_p); in sh_gimplify_va_arg_expr() 7792 tmp = build1 (GOTO_EXPR, void_type_node, unshare_expr (lab_over)); in sh_gimplify_va_arg_expr() 7795 tmp = build1 (LABEL_EXPR, void_type_node, unshare_expr (lab_false)); in sh_gimplify_va_arg_expr() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/sh/ |
H A D | sh.c | 7743 tmp = build1 (ADDR_EXPR, pptr_type_node, unshare_expr (next_fp)); in sh_gimplify_va_arg_expr() 7744 gimplify_assign (unshare_expr (addr), tmp, pre_p); in sh_gimplify_va_arg_expr() 7746 gimplify_assign (unshare_expr (next_fp_tmp), valist, pre_p); in sh_gimplify_va_arg_expr() 7749 tmp = fold_build_pointer_plus_hwi (unshare_expr (tmp), 4 - size); in sh_gimplify_va_arg_expr() 7751 unshare_expr (next_fp_tmp), unshare_expr (tmp)); in sh_gimplify_va_arg_expr() 7754 unshare_expr (lab_false)), NULL_TREE); in sh_gimplify_va_arg_expr() 7764 tmp = fold_build_pointer_plus (unshare_expr (next_fp_tmp), tmp); in sh_gimplify_va_arg_expr() 7765 gimplify_assign (unshare_expr (next_fp_tmp), tmp, pre_p); in sh_gimplify_va_arg_expr() 7792 tmp = build1 (GOTO_EXPR, void_type_node, unshare_expr (lab_over)); in sh_gimplify_va_arg_expr() 7795 tmp = build1 (LABEL_EXPR, void_type_node, unshare_expr (lab_false)); in sh_gimplify_va_arg_expr() [all …]
|