Home
last modified time | relevance | path

Searched refs:elt_type (Results 1 – 23 of 23) sorted by relevance

/dragonfly/contrib/gdb-7/gdb/
H A Dada-varobj.c267 struct type *elt_type; in ada_varobj_get_struct_number_of_children() local
270 &elt_value, &elt_type); in ada_varobj_get_struct_number_of_children()
271 if (ada_is_tagged_type (elt_type, 0)) in ada_varobj_get_struct_number_of_children()
282 (elt_value, elt_type); in ada_varobj_get_struct_number_of_children()
415 struct type *elt_type; in ada_varobj_describe_struct_child() local
419 &elt_value, &elt_type); in ada_varobj_describe_struct_child()
420 if (ada_is_tagged_type (elt_type, 0)) in ada_varobj_describe_struct_child()
427 (elt_value, elt_type); in ada_varobj_describe_struct_child()
437 if (ada_is_tagged_type (elt_type, 0)) in ada_varobj_describe_struct_child()
444 (elt_value, elt_type, parent_name, parent_path_expr, in ada_varobj_describe_struct_child()
[all …]
H A Dgo-valprint.c47 struct type *elt_type = TYPE_TARGET_TYPE (elt_ptr_type); in print_go_string() local
83 val_print_string (elt_type, NULL, addr, length, stream, options); in print_go_string()
H A Dada-lang.c1856 struct type *elt_type; in ada_type_of_array() local
1863 if (elt_type == NULL || arity == 0) in ada_type_of_array()
1880 elt_type = create_array_type (array_type, elt_type, range_type); in ada_type_of_array()
1890 TYPE_FIELD_BITSIZE (elt_type, 0) = in ada_type_of_array()
1904 return lookup_pointer_type (elt_type); in ada_type_of_array()
2202 struct type *elt_type; in value_subscript_packed() local
2233 elt_type = ada_check_typedef (TYPE_TARGET_TYPE (elt_type)); in value_subscript_packed()
2595 struct type *elt_type; in ada_value_subscript() local
2809 elt_type = type; in ada_array_bound_from_type()
2811 elt_type = TYPE_TARGET_TYPE (type); in ada_array_bound_from_type()
[all …]
H A Dgdbtypes.c1057 struct type *inner_array, *elt_type; in make_vector_type() local
1066 elt_type = TYPE_TARGET_TYPE (inner_array); in make_vector_type()
1067 if (TYPE_CODE (elt_type) == TYPE_CODE_INT) in make_vector_type()
1069 flags = TYPE_INSTANCE_FLAGS (elt_type) | TYPE_INSTANCE_FLAG_NOTTEXT; in make_vector_type()
1070 elt_type = make_qualified_type (elt_type, flags, NULL); in make_vector_type()
1071 TYPE_TARGET_TYPE (inner_array) = elt_type; in make_vector_type()
1078 init_vector_type (struct type *elt_type, int n) in init_vector_type() argument
1082 array_type = lookup_array_range_type (elt_type, 0, n - 1); in init_vector_type()
2082 struct type *elt_type = check_typedef (TYPE_TARGET_TYPE (t)); in is_scalar_type_recursive() local
2086 return high_bound == low_bound && is_scalar_type_recursive (elt_type); in is_scalar_type_recursive()
H A Dvalarith.c196 struct type *elt_type = check_typedef (TYPE_TARGET_TYPE (array_type)); in value_subscripted_rvalue() local
197 unsigned int elt_size = TYPE_LENGTH (elt_type); in value_subscripted_rvalue()
206 v = allocate_value_lazy (elt_type); in value_subscripted_rvalue()
209 v = allocate_value (elt_type); in value_subscripted_rvalue()
H A Dgdbtypes.h1473 extern struct type *init_vector_type (struct type *elt_type, int n);
/dragonfly/contrib/gcc-4.7/gcc/cp/
H A Dinit.c2173 tree elt_type; in build_new_1() local
2221 for (elt_type = type; in build_new_1()
2223 elt_type = TREE_TYPE (elt_type)) in build_new_1()
2226 array_type_nelts_top (elt_type), in build_new_1()
2279 size = size_in_bytes (elt_type); in build_new_1()
2323 else if (TYPE_FOR_JAVA (elt_type) && MAYBE_CLASS_TYPE_P (elt_type)) in build_new_1()
2336 && CLASS_TYPE_P (elt_type) in build_new_1()
2497 size_in_bytes (elt_type)); in build_new_1()
2542 if (type_build_ctor_call (elt_type)) in build_new_1()
2545 init, elt_type, in build_new_1()
[all …]
H A Dtree.c741 && (dependent_type_p (elt_type) in build_cplus_array_type()
752 hash = TYPE_UID (elt_type); in build_cplus_array_type()
755 cai.type = elt_type; in build_cplus_array_type()
766 TREE_TYPE (t) = elt_type; in build_cplus_array_type()
773 if (TYPE_STRUCTURAL_EQUALITY_P (elt_type) in build_cplus_array_type()
776 else if (TYPE_CANONICAL (elt_type) != elt_type in build_cplus_array_type()
781 (TYPE_CANONICAL (elt_type), in build_cplus_array_type()
789 if (!TYPE_STRUCTURAL_EQUALITY_P (elt_type) in build_cplus_array_type()
791 && (TYPE_CANONICAL (elt_type) != elt_type in build_cplus_array_type()
796 (TYPE_CANONICAL (elt_type), in build_cplus_array_type()
[all …]
H A Ddecl.c4971 reshape_init_array_1 (tree elt_type, tree max_index, reshape_iter *d, in reshape_init_array_1() argument
5004 elt_init = reshape_init_r (elt_type, d, /*first_initializer_p=*/false, in reshape_init_array_1()
6880 tree type, elt_type; in cp_complete_array_type() local
6927 elt_type = TREE_TYPE (type); in cp_complete_array_type()
6928 TYPE_NEEDS_CONSTRUCTING (type) = TYPE_NEEDS_CONSTRUCTING (elt_type); in cp_complete_array_type()
6930 = TYPE_HAS_NONTRIVIAL_DESTRUCTOR (elt_type); in cp_complete_array_type()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dc-convert.c143 tree elt_type = TREE_TYPE (TREE_TYPE (e)); in convert() local
153 elt_type, e)), in convert()
156 elt_type, e))); in convert()
H A Dconvert.c911 tree elt_type = TREE_TYPE (TREE_TYPE (expr)); in convert_to_complex() local
913 if (TYPE_MAIN_VARIANT (elt_type) == TYPE_MAIN_VARIANT (subtype)) in convert_to_complex()
H A Dtree.c7392 if (TREE_CODE (elt_type) == FUNCTION_TYPE) in build_array_type_1()
7395 elt_type = integer_type_node; in build_array_type_1()
7399 TREE_TYPE (t) = elt_type; in build_array_type_1()
7401 TYPE_ADDR_SPACE (t) = TYPE_ADDR_SPACE (elt_type); in build_array_type_1()
7420 if (TYPE_STRUCTURAL_EQUALITY_P (elt_type) in build_array_type_1()
7423 else if (TYPE_CANONICAL (elt_type) != elt_type in build_array_type_1()
7426 = build_array_type_1 (TYPE_CANONICAL (elt_type), in build_array_type_1()
7438 build_array_type (tree elt_type, tree index_type) in build_array_type() argument
7440 return build_array_type_1 (elt_type, index_type, true); in build_array_type()
7446 build_nonshared_array_type (tree elt_type, tree index_type) in build_nonshared_array_type() argument
[all …]
H A Dgraphite-sese-to-poly.c2204 tree elt_type = TREE_TYPE (var); in create_zero_dim_array() local
2205 tree array_type = build_array_type (elt_type, index_type); in create_zero_dim_array()
2210 return build4 (ARRAY_REF, elt_type, base, integer_zero_node, NULL_TREE, in create_zero_dim_array()
H A Dexpr.c5486 tree value, purpose, elt_type; in categorize_ctor_elements_1() local
5497 elt_type = NULL_TREE; in categorize_ctor_elements_1()
5513 elt_type = TREE_TYPE (value); in categorize_ctor_elements_1()
5567 HOST_WIDE_INT tc = count_type_elements (elt_type, false); in categorize_ctor_elements_1()
5572 const_p = initializer_constant_valid_p (value, elt_type) in categorize_ctor_elements_1()
5580 num_fields, elt_type)) in categorize_ctor_elements_1()
/dragonfly/contrib/gcc-8.0/gcc/cp/
H A Dinit.c2817 tree elt_type; in build_new_1() local
2882 for (elt_type = type; in build_new_1()
2884 elt_type = TREE_TYPE (elt_type)) in build_new_1()
2945 if (VOID_TYPE_P (elt_type)) in build_new_1()
2995 size = size_in_bytes (elt_type); in build_new_1()
3084 && CLASS_TYPE_P (elt_type) in build_new_1()
3198 "alignment %d", elt_type, TYPE_ALIGN_UNIT (elt_type))) in build_new_1()
3308 size_in_bytes (elt_type)); in build_new_1()
3353 if (type_build_ctor_call (elt_type)) in build_new_1()
3356 init, elt_type, in build_new_1()
[all …]
H A Dtree.c900 TREE_TYPE (t) = elt_type; in build_min_array_type()
912 if (TYPE_STRUCTURAL_EQUALITY_P (elt_type) in set_array_type_canon()
915 else if (TYPE_CANONICAL (elt_type) != elt_type in set_array_type_canon()
940 if (elt_type != TYPE_MAIN_VARIANT (elt_type)) in build_cplus_array_type()
954 hash = TYPE_UID (elt_type); in build_cplus_array_type()
957 cai.type = elt_type; in build_cplus_array_type()
979 = (elt_type == unsigned_char_type_node in build_cplus_array_type()
980 || elt_type == signed_char_type_node in build_cplus_array_type()
981 || elt_type == char_type_node in build_cplus_array_type()
989 if (elt_type != TYPE_MAIN_VARIANT (elt_type)) in build_cplus_array_type()
[all …]
H A Ddecl.c5758 reshape_init_array_1 (tree elt_type, tree max_index, reshape_iter *d, in reshape_init_array_1() argument
5791 elt_init = reshape_init_r (elt_type, d, /*first_initializer_p=*/false, in reshape_init_array_1()
8398 tree type, elt_type; in cp_complete_array_type() local
8451 elt_type = TREE_TYPE (type); in cp_complete_array_type()
8452 TYPE_NEEDS_CONSTRUCTING (type) = TYPE_NEEDS_CONSTRUCTING (elt_type); in cp_complete_array_type()
8454 = TYPE_HAS_NONTRIVIAL_DESTRUCTOR (elt_type); in cp_complete_array_type()
H A Dconstexpr.c3628 tree elt_type = TREE_TYPE (type); in cxx_eval_store_expression() local
3629 unsigned chars_per_elt = (TYPE_PRECISION (elt_type) in cxx_eval_store_expression()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dconvert.c1049 tree elt_type = TREE_TYPE (TREE_TYPE (expr)); in convert_to_complex_1() local
1051 if (TYPE_MAIN_VARIANT (elt_type) == TYPE_MAIN_VARIANT (subtype)) in convert_to_complex_1()
H A Dtree.c7859 if (TREE_CODE (elt_type) == FUNCTION_TYPE) in build_array_type_1()
7862 elt_type = integer_type_node; in build_array_type_1()
7866 TREE_TYPE (t) = elt_type; in build_array_type_1()
7868 TYPE_ADDR_SPACE (t) = TYPE_ADDR_SPACE (elt_type); in build_array_type_1()
7886 if (TYPE_STRUCTURAL_EQUALITY_P (elt_type) in build_array_type_1()
7890 else if (TYPE_CANONICAL (elt_type) != elt_type in build_array_type_1()
7893 = build_array_type_1 (TYPE_CANONICAL (elt_type), in build_array_type_1()
7905 build_array_type (tree elt_type, tree index_type, bool typeless_storage) in build_array_type() argument
7913 build_nonshared_array_type (tree elt_type, tree index_type) in build_nonshared_array_type() argument
7915 return build_array_type_1 (elt_type, index_type, false, false); in build_nonshared_array_type()
[all …]
H A Dtree-cfg.c4878 tree index_type, elt_type = NULL_TREE; in verify_gimple_switch() local
4922 if (elt_type) in verify_gimple_switch()
4924 if (TREE_TYPE (CASE_LOW (elt)) != elt_type in verify_gimple_switch()
4925 || (CASE_HIGH (elt) && TREE_TYPE (CASE_HIGH (elt)) != elt_type)) in verify_gimple_switch()
4934 elt_type = TREE_TYPE (CASE_LOW (elt)); in verify_gimple_switch()
4935 if (TYPE_PRECISION (index_type) < TYPE_PRECISION (elt_type)) in verify_gimple_switch()
H A Dexpr.c5994 tree value, purpose, elt_type; in categorize_ctor_elements_1() local
6006 elt_type = NULL_TREE; in categorize_ctor_elements_1()
6022 elt_type = TREE_TYPE (value); in categorize_ctor_elements_1()
6093 HOST_WIDE_INT tc = count_type_elements (elt_type, false); in categorize_ctor_elements_1()
6101 elt_type, in categorize_ctor_elements_1()
6111 num_fields, elt_type)) in categorize_ctor_elements_1()
/dragonfly/contrib/gcc-8.0/gcc/c-family/
H A Dc-warn.c1906 tree elt_type = TREE_TYPE (type); in warn_for_memset() local
1908 if (COMPLETE_TYPE_P (elt_type) in warn_for_memset()
1909 && !integer_onep (TYPE_SIZE_UNIT (elt_type)) in warn_for_memset()