Home
last modified time | relevance | path

Searched refs:inner_type (Results 1 – 25 of 27) sorted by relevance

12

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dgimple-expr.cc68 useless_type_conversion_p (tree outer_type, tree inner_type) in useless_type_conversion_p() argument
71 if (POINTER_TYPE_P (inner_type) in useless_type_conversion_p()
76 != TYPE_ADDR_SPACE (TREE_TYPE (inner_type))) in useless_type_conversion_p()
81 && !(TREE_CODE (TREE_TYPE (inner_type)) == FUNCTION_TYPE in useless_type_conversion_p()
82 || TREE_CODE (TREE_TYPE (inner_type)) == METHOD_TYPE)) in useless_type_conversion_p()
87 inner_type = TYPE_MAIN_VARIANT (inner_type); in useless_type_conversion_p()
90 if (inner_type == outer_type) in useless_type_conversion_p()
95 if (TYPE_MODE (inner_type) != TYPE_MODE (outer_type)) in useless_type_conversion_p()
101 if (INTEGRAL_TYPE_P (inner_type) in useless_type_conversion_p()
105 if (TYPE_UNSIGNED (inner_type) != TYPE_UNSIGNED (outer_type) in useless_type_conversion_p()
[all …]
Dtree-complex.cc502 tree inner_type = TREE_TYPE (TREE_TYPE (ssa_name)); in get_component_ssa_name() local
503 if (SCALAR_FLOAT_TYPE_P (inner_type)) in get_component_ssa_name()
504 return build_real (inner_type, dconst0); in get_component_ssa_name()
506 return build_int_cst (inner_type, 0); in get_component_ssa_name()
623 tree inner_type = TREE_TYPE (TREE_TYPE (t)); in extract_component() local
625 TREE_TYPE (t) = inner_type; in extract_component()
626 TREE_OPERAND (t, 1) = TYPE_SIZE (inner_type); in extract_component()
629 TYPE_SIZE (inner_type)); in extract_component()
644 tree inner_type = TREE_TYPE (TREE_TYPE (t)); in extract_component() local
647 inner_type, unshare_expr (t)); in extract_component()
[all …]
Dtree-vect-generic.cc201 do_unop (gimple_stmt_iterator *gsi, tree inner_type, tree a, in do_unop() argument
205 a = tree_vec_extract (gsi, inner_type, a, bitsize, bitpos); in do_unop()
206 return gimplify_build1 (gsi, code, inner_type, a); in do_unop()
210 do_binop (gimple_stmt_iterator *gsi, tree inner_type, tree a, tree b, in do_binop() argument
215 a = tree_vec_extract (gsi, inner_type, a, bitsize, bitpos); in do_binop()
217 b = tree_vec_extract (gsi, inner_type, b, bitsize, bitpos); in do_binop()
218 return gimplify_build2 (gsi, code, inner_type, a, b); in do_binop()
228 do_compare (gimple_stmt_iterator *gsi, tree inner_type, tree a, tree b, in do_compare() argument
236 a = tree_vec_extract (gsi, inner_type, a, bitsize, bitpos); in do_compare()
237 b = tree_vec_extract (gsi, inner_type, b, bitsize, bitpos); in do_compare()
[all …]
Dipa-free-lang-data.cc125 fld_type_variant_equal_p (tree t, tree v, tree inner_type) in fld_type_variant_equal_p() argument
136 || (inner_type && TREE_TYPE (v) != inner_type)) in fld_type_variant_equal_p()
147 tree inner_type = NULL) in fld_type_variant() argument
152 if (fld_type_variant_equal_p (t, v, inner_type)) in fld_type_variant()
170 if (inner_type) in fld_type_variant()
171 TREE_TYPE (v) = inner_type; in fld_type_variant()
172 gcc_checking_assert (fld_type_variant_equal_p (t,v, inner_type)); in fld_type_variant()
Ddojump.cc183 tree inner_type = TREE_TYPE (op0); in do_jump_1() local
185 gcc_assert (GET_MODE_CLASS (TYPE_MODE (inner_type)) in do_jump_1()
187 gcc_assert (GET_MODE_CLASS (TYPE_MODE (inner_type)) in do_jump_1()
193 else if (is_int_mode (TYPE_MODE (inner_type), &int_mode) in do_jump_1()
205 tree inner_type = TREE_TYPE (op0); in do_jump_1() local
207 gcc_assert (GET_MODE_CLASS (TYPE_MODE (inner_type)) in do_jump_1()
209 gcc_assert (GET_MODE_CLASS (TYPE_MODE (inner_type)) in do_jump_1()
214 else if (is_int_mode (TYPE_MODE (inner_type), &int_mode) in do_jump_1()
Dtree-chrec.cc1545 tree inner_type, left, right, lc, rc, rtype; in chrec_convert_aggressive() local
1553 inner_type = TREE_TYPE (chrec); in chrec_convert_aggressive()
1554 if (TYPE_PRECISION (type) > TYPE_PRECISION (inner_type)) in chrec_convert_aggressive()
1557 if (useless_type_conversion_p (type, inner_type)) in chrec_convert_aggressive()
Dtree-scalar-evolution.cc3127 tree inner_type = TREE_TYPE (inner_ev); in derive_simple_iv_with_niters() local
3128 if (TYPE_PRECISION (inner_type) >= TYPE_PRECISION (type)) in derive_simple_iv_with_niters()
3141 tree bound = lower_bound_in_type (inner_type, inner_type); in derive_simple_iv_with_niters()
3147 tree bound = upper_bound_in_type (inner_type, inner_type); in derive_simple_iv_with_niters()
Dtree.cc9916 tree type, inner_type; in build_common_builtin_nodes() local
9925 inner_type = TREE_TYPE (type); in build_common_builtin_nodes()
9927 ftype = build_function_type_list (type, inner_type, inner_type, in build_common_builtin_nodes()
9928 inner_type, inner_type, NULL_TREE); in build_common_builtin_nodes()
11815 tree_nop_conversion_p (const_tree outer_type, const_tree inner_type) in tree_nop_conversion_p() argument
11821 if (!POINTER_TYPE_P (inner_type) in tree_nop_conversion_p()
11823 != TYPE_ADDR_SPACE (TREE_TYPE (inner_type)))) in tree_nop_conversion_p()
11826 else if (POINTER_TYPE_P (inner_type) in tree_nop_conversion_p()
11827 && TYPE_ADDR_SPACE (TREE_TYPE (inner_type)) != ADDR_SPACE_GENERIC) in tree_nop_conversion_p()
11839 && (INTEGRAL_TYPE_P (inner_type) in tree_nop_conversion_p()
[all …]
Dtree-ssa.cc1259 tree outer_type, inner_type; in tree_ssa_useless_type_conversion() local
1271 inner_type = TREE_TYPE (TREE_OPERAND (expr, 0)); in tree_ssa_useless_type_conversion()
1273 if (inner_type == error_mark_node) in tree_ssa_useless_type_conversion()
1276 return useless_type_conversion_p (outer_type, inner_type); in tree_ssa_useless_type_conversion()
Dstor-layout.cc467 tree inner_type = build_nonstandard_integer_type (inner_size, true); in bitwise_type_for_mode() local
470 return build_vector_type_for_mode (inner_type, mode); in bitwise_type_for_mode()
473 return build_complex_type (inner_type); in bitwise_type_for_mode()
476 return inner_type; in bitwise_type_for_mode()
Dmatch.pd2279 (with { poly_int64 diff; tree inner_type = TREE_TYPE (@1);}
2281 (neeq (plus { build_int_cst_type (inner_type, diff); } @1) @3)))))
2731 tree inner_type = TREE_TYPE (@0);
2734 = wide_int::from (wi::to_wide (@1), TYPE_PRECISION (inner_type),
2735 TYPE_SIGN (inner_type));
2743 wi::add (wmin0, w1, TYPE_SIGN (inner_type), &min_ovf);
2744 wi::add (wmax0, w1, TYPE_SIGN (inner_type), &max_ovf);
3522 tree inner_type = TREE_TYPE (@0);
3523 if (type_has_mode_precision_p (inner_type)
3524 && TYPE_PRECISION (inner_type) < prec)
[all …]
Dfold-const.cc14638 tree inner_type = TREE_TYPE (op0); in tree_unary_nonnegative_warnv_p() local
14643 if (TREE_CODE (inner_type) == REAL_TYPE) in tree_unary_nonnegative_warnv_p()
14645 if (INTEGRAL_TYPE_P (inner_type)) in tree_unary_nonnegative_warnv_p()
14647 if (TYPE_UNSIGNED (inner_type)) in tree_unary_nonnegative_warnv_p()
14654 if (TREE_CODE (inner_type) == REAL_TYPE) in tree_unary_nonnegative_warnv_p()
14656 if (INTEGRAL_TYPE_P (inner_type)) in tree_unary_nonnegative_warnv_p()
14657 return TYPE_PRECISION (inner_type) < TYPE_PRECISION (outer_type) in tree_unary_nonnegative_warnv_p()
14658 && TYPE_UNSIGNED (inner_type); in tree_unary_nonnegative_warnv_p()
15182 tree inner_type = TREE_TYPE (op0); in tree_unary_nonzero_warnv_p() local
15185 return (TYPE_PRECISION (outer_type) >= TYPE_PRECISION (inner_type) in tree_unary_nonzero_warnv_p()
[all …]
Dexpr.cc9082 tree inner_type = TREE_TYPE (treeop0); in expand_expr_real_2() local
9086 inner_mode = TYPE_MODE (inner_type); in expand_expr_real_2()
9092 TYPE_UNSIGNED (inner_type)); in expand_expr_real_2()
11650 tree inner_type = TREE_TYPE (treeop0); in expand_expr_real_1() local
11654 if (target == 0 || GET_MODE (target) != TYPE_MODE (inner_type)) in expand_expr_real_1()
11657 (TYPE_MODE (inner_type), in expand_expr_real_1()
11658 GET_MODE_SIZE (TYPE_MODE (inner_type)), inner_type); in expand_expr_real_1()
Drange-op.cc2311 tree inner_type = inner.type (); in fold_pair() local
2313 signop inner_sign = TYPE_SIGN (inner_type); in fold_pair()
Dtree-ssa-loop-ivopts.cc4015 tree inner_base, inner_step, inner_type; in get_computation_aff_1() local
4022 inner_type = TREE_TYPE (inner_base); in get_computation_aff_1()
4028 if (TYPE_PRECISION (inner_type) <= TYPE_PRECISION (uutype)) in get_computation_aff_1()
DChangeLog-200816 false if inner_type is incomplete and outer_type is complete.
391 false if inner_type is incomplete and outer_type is complete.
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Dcp-gimplify.cc1753 tree inner_type = TREE_TYPE (orig_decl); in cp_genericize_r() local
1757 inner_type = TREE_TYPE (inner_type); in cp_genericize_r()
1759 while (TREE_CODE (inner_type) == ARRAY_TYPE) in cp_genericize_r()
1760 inner_type = TREE_TYPE (inner_type); in cp_genericize_r()
1761 get_copy_ctor (inner_type, tf_warning_or_error); in cp_genericize_r()
1992 tree inner_type = TREE_TYPE (arg1); in cxx_omp_clause_apply_fn() local
2001 inner_type = TREE_TYPE (inner_type); in cxx_omp_clause_apply_fn()
2002 start1 = build4 (ARRAY_REF, inner_type, start1, in cxx_omp_clause_apply_fn()
2005 start2 = build4 (ARRAY_REF, inner_type, start2, in cxx_omp_clause_apply_fn()
2008 while (TREE_CODE (inner_type) == ARRAY_TYPE); in cxx_omp_clause_apply_fn()
[all …]
Dtypeck2.cc497 tree inner_type = NULL; in split_nonconstant_init_1() local
506 inner_type = TREE_TYPE (type); in split_nonconstant_init_1()
542 inner_type = TREE_TYPE (field_index); in split_nonconstant_init_1()
546 sub = build4 (ARRAY_REF, inner_type, dest, field_index, in split_nonconstant_init_1()
549 sub = build3 (COMPONENT_REF, inner_type, dest, field_index, in split_nonconstant_init_1()
566 && TREE_CODE (inner_type) == ARRAY_TYPE in split_nonconstant_init_1()
567 && TYPE_DOMAIN (inner_type) == NULL in split_nonconstant_init_1()
573 (strip_array_types (inner_type)))) in split_nonconstant_init_1()
597 else if (!initializer_constant_valid_p (value, inner_type)) in split_nonconstant_init_1()
631 sub = build4 (ARRAY_REF, inner_type, dest, low, in split_nonconstant_init_1()
[all …]
Dtree.cc749 tree inner_type = strip_array_types (type); in build_vec_init_elt() local
752 || !CLASS_TYPE_P (inner_type)) in build_vec_init_elt()
759 if (CP_AGGREGATE_TYPE_P (inner_type)) in build_vec_init_elt()
762 return digest_init (inner_type, empty, complain); in build_vec_init_elt()
769 return build_value_init (inner_type, complain); in build_vec_init_elt()
783 &argvec, inner_type, LOOKUP_NORMAL, in build_vec_init_elt()
Dsemantics.cc8773 tree type, inner_type; in finish_omp_clauses() local
9094 inner_type = type = TREE_TYPE (t); in finish_omp_clauses()
9100 && TYPE_REF_P (inner_type)) in finish_omp_clauses()
9101 inner_type = TREE_TYPE (inner_type); in finish_omp_clauses()
9102 while (TREE_CODE (inner_type) == ARRAY_TYPE) in finish_omp_clauses()
9103 inner_type = TREE_TYPE (inner_type); in finish_omp_clauses()
9108 if (CLASS_TYPE_P (inner_type) in finish_omp_clauses()
9109 && COMPLETE_TYPE_P (inner_type) in finish_omp_clauses()
9113 && cxx_omp_create_clause_info (c, inner_type, need_default_ctor, in finish_omp_clauses()
Ddecl.cc18266 tree inner_type = TREE_TYPE (var); in maybe_register_incomplete_var() local
18268 while (TREE_CODE (inner_type) == ARRAY_TYPE) in maybe_register_incomplete_var()
18269 inner_type = TREE_TYPE (inner_type); in maybe_register_incomplete_var()
18270 inner_type = TYPE_MAIN_VARIANT (inner_type); in maybe_register_incomplete_var()
18272 if ((!COMPLETE_TYPE_P (inner_type) && CLASS_TYPE_P (inner_type)) in maybe_register_incomplete_var()
18274 || (TYPE_LANG_SPECIFIC (inner_type) in maybe_register_incomplete_var()
18275 && TYPE_BEING_DEFINED (inner_type))) in maybe_register_incomplete_var()
18277 incomplete_var iv = {var, inner_type}; in maybe_register_incomplete_var()
18282 && (TYPE_PTRMEM_P (inner_type) || CLASS_TYPE_P (inner_type))) in maybe_register_incomplete_var()
DChangeLog-20113017 cxx_omp_create_clause_info if inner_type is COMPLETE_TYPE_P.
/netbsd/src/external/gpl3/gcc/dist/gcc/lto/
Dlto-lang.cc1024 tree inner_type; in lto_type_for_mode() local
1037 inner_type = lto_type_for_mode (inner_mode, unsigned_p); in lto_type_for_mode()
1038 if (inner_type != NULL_TREE) in lto_type_for_mode()
1039 return build_complex_type (inner_type); in lto_type_for_mode()
1053 tree inner_type = lto_type_for_mode (inner_mode, unsigned_p); in lto_type_for_mode() local
1054 if (inner_type != NULL_TREE) in lto_type_for_mode()
1055 return build_vector_type_for_mode (inner_type, mode); in lto_type_for_mode()
/netbsd/src/external/gpl3/gcc/dist/gcc/config/sparc/
Dsparc.cc11868 tree inner_type, tree cst0, tree cst1) in sparc_handle_vis_mul8x16() argument
11881 n_elts->quick_push (build_int_cst (inner_type, val)); in sparc_handle_vis_mul8x16()
11893 n_elts->quick_push (build_int_cst (inner_type, val)); in sparc_handle_vis_mul8x16()
11905 n_elts->quick_push (build_int_cst (inner_type, val)); in sparc_handle_vis_mul8x16()
11954 tree inner_type = TREE_TYPE (rtype); in sparc_fold_builtin() local
11962 n_elts.quick_push (build_int_cst (inner_type, val << 4)); in sparc_fold_builtin()
11978 tree inner_type = TREE_TYPE (rtype); in sparc_fold_builtin() local
11980 sparc_handle_vis_mul8x16 (&n_elts, code, inner_type, arg0, arg1); in sparc_fold_builtin()
/netbsd/src/external/gpl3/gdb/dist/gdb/
Di386-tdep.c3129 struct type *inner_type = check_typedef (type->field (0).type ()); in i386_return_value() local
3131 = i386_return_value (gdbarch, function, inner_type, regcache, in i386_return_value()

12