| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | gimple-expr.c | 68 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 …]
|
| H A D | tree-complex.c | 500 tree inner_type = TREE_TYPE (TREE_TYPE (ssa_name)); in get_component_ssa_name() local 501 if (SCALAR_FLOAT_TYPE_P (inner_type)) in get_component_ssa_name() 502 return build_real (inner_type, dconst0); in get_component_ssa_name() 504 return build_int_cst (inner_type, 0); in get_component_ssa_name() 621 tree inner_type = TREE_TYPE (TREE_TYPE (t)); variable 623 TREE_TYPE (t) = inner_type; 624 TREE_OPERAND (t, 1) = TYPE_SIZE (inner_type); 627 TYPE_SIZE (inner_type)); 642 tree inner_type = TREE_TYPE (TREE_TYPE (t)); variable 645 inner_type, unshare_expr (t)); [all …]
|
| H A D | tree-vect-generic.c | 72 build_replicated_const (tree type, tree inner_type, HOST_WIDE_INT value) in build_replicated_const() argument 74 int width = tree_to_uhwi (TYPE_SIZE (inner_type)); in build_replicated_const() 157 do_unop (gimple_stmt_iterator *gsi, tree inner_type, tree a, in do_unop() argument 161 a = tree_vec_extract (gsi, inner_type, a, bitsize, bitpos); in do_unop() 162 return gimplify_build1 (gsi, code, inner_type, a); in do_unop() 166 do_binop (gimple_stmt_iterator *gsi, tree inner_type, tree a, tree b, in do_binop() argument 171 a = tree_vec_extract (gsi, inner_type, a, bitsize, bitpos); in do_binop() 173 b = tree_vec_extract (gsi, inner_type, b, bitsize, bitpos); in do_binop() 174 return gimplify_build2 (gsi, code, inner_type, a, b); in do_binop() 184 do_compare (gimple_stmt_iterator *gsi, tree inner_type, tree a, tree b, in do_compare() argument [all …]
|
| H A D | dojump.c | 183 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()
|
| H A D | tree-chrec.c | 1547 tree inner_type, left, right, lc, rc, rtype; in chrec_convert_aggressive() local 1555 inner_type = TREE_TYPE (chrec); in chrec_convert_aggressive() 1556 if (TYPE_PRECISION (type) > TYPE_PRECISION (inner_type)) in chrec_convert_aggressive() 1559 if (useless_type_conversion_p (type, inner_type)) in chrec_convert_aggressive()
|
| H A D | tree.c | 5268 fld_type_variant_equal_p (tree t, tree v, tree inner_type) in fld_type_variant_equal_p() argument 5279 || (inner_type && TREE_TYPE (v) != inner_type)) in fld_type_variant_equal_p() 5290 tree inner_type = NULL) 5295 if (fld_type_variant_equal_p (t, v, inner_type)) 5313 if (inner_type) 5314 TREE_TYPE (v) = inner_type; 5315 gcc_checking_assert (fld_type_variant_equal_p (t,v, inner_type)); 10805 tree type, inner_type; in build_common_builtin_nodes() local 10814 inner_type = TREE_TYPE (type); in build_common_builtin_nodes() 10816 ftype = build_function_type_list (type, inner_type, inner_type, in build_common_builtin_nodes() [all …]
|
| H A D | tree-scalar-evolution.c | 3136 tree inner_type = TREE_TYPE (inner_ev); in derive_simple_iv_with_niters() local 3137 if (TYPE_PRECISION (inner_type) >= TYPE_PRECISION (type)) in derive_simple_iv_with_niters() 3150 tree bound = lower_bound_in_type (inner_type, inner_type); in derive_simple_iv_with_niters() 3156 tree bound = upper_bound_in_type (inner_type, inner_type); in derive_simple_iv_with_niters()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | gimple-expr.cc | 68 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 …]
|
| H A D | tree-complex.cc | 502 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 …]
|
| H A D | tree-vect-generic.cc | 201 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 …]
|
| H A D | ipa-free-lang-data.cc | 125 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()
|
| H A D | dojump.cc | 183 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()
|
| H A D | tree-chrec.cc | 1545 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()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
| H A D | cp-gimplify.cc | 1753 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 …]
|
| H A D | typeck2.cc | 497 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 …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
| H A D | cp-gimplify.c | 1807 tree inner_type = TREE_TYPE (orig_decl); in cp_genericize_r() local 1811 inner_type = TREE_TYPE (inner_type); in cp_genericize_r() 1813 while (TREE_CODE (inner_type) == ARRAY_TYPE) in cp_genericize_r() 1814 inner_type = TREE_TYPE (inner_type); in cp_genericize_r() 1815 get_copy_ctor (inner_type, tf_warning_or_error); in cp_genericize_r() 2174 tree inner_type = TREE_TYPE (arg1); in cxx_omp_clause_apply_fn() local 2183 inner_type = TREE_TYPE (inner_type); in cxx_omp_clause_apply_fn() 2184 start1 = build4 (ARRAY_REF, inner_type, start1, in cxx_omp_clause_apply_fn() 2187 start2 = build4 (ARRAY_REF, inner_type, start2, in cxx_omp_clause_apply_fn() 2190 while (TREE_CODE (inner_type) == ARRAY_TYPE); in cxx_omp_clause_apply_fn() [all …]
|
| H A D | typeck2.c | 610 tree inner_type = NULL; in split_nonconstant_init_1() local 618 inner_type = TREE_TYPE (type); in split_nonconstant_init_1() 651 inner_type = TREE_TYPE (field_index); in split_nonconstant_init_1() 658 sub = build4 (ARRAY_REF, inner_type, dest, field_index, in split_nonconstant_init_1() 661 sub = build3 (COMPONENT_REF, inner_type, dest, field_index, in split_nonconstant_init_1() 670 && TREE_CODE (inner_type) == ARRAY_TYPE in split_nonconstant_init_1() 671 && TYPE_DOMAIN (inner_type) == NULL in split_nonconstant_init_1() 677 (strip_array_types (inner_type)))) in split_nonconstant_init_1() 688 else if (!initializer_constant_valid_p (value, inner_type)) in split_nonconstant_init_1() 703 sub = build4 (ARRAY_REF, inner_type, dest, low, in split_nonconstant_init_1() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/ |
| H A D | region-model-manager.cc | 411 tree inner_type = arg->get_type (); in maybe_fold_unaryop() local 413 && TYPE_SIZE (inner_type) in maybe_fold_unaryop() 415 TYPE_SIZE (type), TYPE_SIZE (inner_type)) in maybe_fold_unaryop() 1024 tree inner_type = inner_svalue->get_type (); in maybe_fold_bits_within_svalue() local 1029 if (bits.m_start_bit_offset == 0 && inner_type) in maybe_fold_bits_within_svalue() 1032 if (int_size_in_bits (inner_type, &inner_type_size)) in maybe_fold_bits_within_svalue() 1048 if (bits.as_byte_range (&bytes) && inner_type) in maybe_fold_bits_within_svalue() 1049 switch (TREE_CODE (inner_type)) in maybe_fold_bits_within_svalue() 1060 tree element_type = TREE_TYPE (inner_type); in maybe_fold_bits_within_svalue() 1104 if (tree field = get_field_at_byte_range (inner_type, bytes, in maybe_fold_bits_within_svalue()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/jit/ |
| H A D | jit-playback.c | 576 tree inner_type = type->as_tree (); variable 577 if (INTEGRAL_TYPE_P (inner_type)) 579 tree inner = build_int_cst (inner_type, value); 586 tree inner = build_real (inner_type, real_value); 600 tree inner_type = type->as_tree (); variable 601 if (INTEGRAL_TYPE_P (inner_type)) 603 tree inner = build_int_cst (inner_type, value); 610 tree inner = build_real (inner_type, real_value); 624 tree inner_type = type->as_tree (); variable 642 tree inner = build_real (inner_type, real_value); [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/jit/ |
| H A D | jit-playback.cc | 885 tree inner_type = type->as_tree (); in new_rvalue_from_const() local 886 if (INTEGRAL_TYPE_P (inner_type)) in new_rvalue_from_const() 888 tree inner = build_int_cst (inner_type, value); in new_rvalue_from_const() 895 tree inner = build_real (inner_type, real_value); in new_rvalue_from_const() 909 tree inner_type = type->as_tree (); in new_rvalue_from_const() local 910 if (INTEGRAL_TYPE_P (inner_type)) in new_rvalue_from_const() 912 tree inner = build_int_cst (inner_type, value); in new_rvalue_from_const() 919 tree inner = build_real (inner_type, real_value); in new_rvalue_from_const() 933 tree inner_type = type->as_tree (); in new_rvalue_from_const() local 951 tree inner = build_real (inner_type, real_value); in new_rvalue_from_const() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/lto/ |
| H A D | lto-lang.c | 1020 tree inner_type; in lto_type_for_mode() local 1033 inner_type = lto_type_for_mode (inner_mode, unsigned_p); in lto_type_for_mode() 1034 if (inner_type != NULL_TREE) in lto_type_for_mode() 1035 return build_complex_type (inner_type); in lto_type_for_mode() 1049 tree inner_type = lto_type_for_mode (inner_mode, unsigned_p); in lto_type_for_mode() local 1050 if (inner_type != NULL_TREE) in lto_type_for_mode() 1051 return build_vector_type_for_mode (inner_type, mode); in lto_type_for_mode()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/ |
| H A D | d-lang.cc | 1397 tree inner_type; in d_type_for_mode() local 1407 inner_type = d_type_for_mode (inner_mode, unsignedp); in d_type_for_mode() 1408 if (inner_type != NULL_TREE) in d_type_for_mode() 1409 return build_complex_type (inner_type); in d_type_for_mode() 1414 tree inner_type = d_type_for_mode (inner_mode, unsignedp); in d_type_for_mode() local 1415 if (inner_type != NULL_TREE) in d_type_for_mode() 1416 return build_vector_type_for_mode (inner_type, mode); in d_type_for_mode()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/lto/ |
| H A D | lto-lang.cc | 1024 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/d/ |
| H A D | d-lang.cc | 1508 tree inner_type; in d_type_for_mode() local 1518 inner_type = d_type_for_mode (inner_mode, unsignedp); in d_type_for_mode() 1519 if (inner_type != NULL_TREE) in d_type_for_mode() 1520 return build_complex_type (inner_type); in d_type_for_mode() 1525 tree inner_type = d_type_for_mode (inner_mode, unsignedp); in d_type_for_mode() local 1526 if (inner_type != NULL_TREE) in d_type_for_mode() 1527 return build_vector_type_for_mode (inner_type, mode); in d_type_for_mode()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/ |
| H A D | brig-util.cc | 402 tree inner_type = gccbrig_tree_type_for_hsa_type (inner_brig_type); in gccbrig_tree_type_for_hsa_type() local 406 tree_type = build_vector_type (inner_type, nunits); in gccbrig_tree_type_for_hsa_type()
|