Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/gcc/cp/
H A Dinit.c1591 tree elt_type; in build_new_1() local
1661 for (elt_type = type; in build_new_1()
1662 TREE_CODE (elt_type) == ARRAY_TYPE; in build_new_1()
1663 elt_type = TREE_TYPE (elt_type)) in build_new_1()
1665 array_type_nelts_top (elt_type)); in build_new_1()
1667 if (TREE_CODE (elt_type) == VOID_TYPE) in build_new_1()
1683 size = size_in_bytes (elt_type); in build_new_1()
1739 && CLASS_TYPE_P (elt_type) in build_new_1()
1742 : TYPE_HAS_NEW_OPERATOR (elt_type))) in build_new_1()
1871 size_in_bytes(elt_type)); in build_new_1()
[all …]
H A Dtree.c411 build_cplus_array_type_1 (tree elt_type, tree index_type) in build_cplus_array_type_1() argument
415 if (elt_type == error_mark_node || index_type == error_mark_node) in build_cplus_array_type_1()
418 if (dependent_type_p (elt_type) in build_cplus_array_type_1()
423 TREE_TYPE (t) = elt_type; in build_cplus_array_type_1()
427 t = build_array_type (elt_type, index_type); in build_cplus_array_type_1()
432 = TYPE_NEEDS_CONSTRUCTING (TYPE_MAIN_VARIANT (elt_type)); in build_cplus_array_type_1()
434 = TYPE_HAS_NONTRIVIAL_DESTRUCTOR (TYPE_MAIN_VARIANT (elt_type)); in build_cplus_array_type_1()
439 build_cplus_array_type (tree elt_type, tree index_type) in build_cplus_array_type() argument
442 int type_quals = cp_type_quals (elt_type); in build_cplus_array_type()
445 elt_type = cp_build_qualified_type (elt_type, TYPE_UNQUALIFIED); in build_cplus_array_type()
[all …]
H A Ddecl.c4485 reshape_init_array_1 (tree elt_type, tree max_index, reshape_iter *d) in reshape_init_array_1() argument
4517 elt_init = reshape_init_r (elt_type, d, /*first_initializer_p=*/false); in reshape_init_array_1()
6306 tree type, elt_type; in cp_complete_array_type() local
6338 elt_type = TREE_TYPE (type); in cp_complete_array_type()
6339 TYPE_NEEDS_CONSTRUCTING (type) = TYPE_NEEDS_CONSTRUCTING (elt_type); in cp_complete_array_type()
6341 = TYPE_HAS_NONTRIVIAL_DESTRUCTOR (elt_type); in cp_complete_array_type()
/freebsd-12.1/contrib/gdb/gdb/
H A Dada-lang.c1075 struct type *elt_type; in ada_type_of_array() local
1083 if (elt_type == NULL || arity == 0) in ada_type_of_array()
1100 elt_type = create_array_type (array_type, elt_type, range_type); in ada_type_of_array()
1103 return lookup_pointer_type (elt_type); in ada_type_of_array()
1293 struct type *elt_type; in value_subscript_packed() local
1302 || TYPE_FIELD_BITSIZE (elt_type, 0) == 0) in value_subscript_packed()
1320 bits = TYPE_FIELD_BITSIZE (elt_type, 0); in value_subscript_packed()
1322 elt_type = check_typedef (TYPE_TARGET_TYPE (elt_type)); in value_subscript_packed()
1329 bits, elt_type); in value_subscript_packed()
1639 struct type *elt_type; in ada_value_subscript() local
[all …]
H A Dvalarith.c260 struct type *elt_type = check_typedef (TYPE_TARGET_TYPE (array_type)); in value_subscripted_rvalue() local
261 unsigned int elt_size = TYPE_LENGTH (elt_type); in value_subscripted_rvalue()
269 v = allocate_value (elt_type); in value_subscripted_rvalue()
H A Dgdbtypes.c829 struct type *elt_type, in init_simd_type() argument
837 array_type = create_array_type (0, elt_type, in init_simd_type()
845 init_vector_type (struct type *elt_type, int n) in init_vector_type() argument
849 array_type = create_array_type (0, elt_type, in init_vector_type()
/freebsd-12.1/contrib/gcc/
H A Dtree-ssa-ccp.c1543 tree array_type, elt_type, elt_size; in maybe_fold_offset_to_array_ref() local
1567 elt_type = TREE_TYPE (array_type); in maybe_fold_offset_to_array_ref()
1568 if (!lang_hooks.types_compatible_p (orig_type, elt_type)) in maybe_fold_offset_to_array_ref()
1575 elt_size = TYPE_SIZE_UNIT (elt_type); in maybe_fold_offset_to_array_ref()
1579 elt_size = size_int (TYPE_ALIGN (elt_type)); in maybe_fold_offset_to_array_ref()
1884 tree elt_type = TREE_TYPE (op0); in maybe_fold_stmt_addition() local
1885 tree elt_size = TYPE_SIZE_UNIT (elt_type); in maybe_fold_stmt_addition()
H A Dconvert.c818 tree elt_type = TREE_TYPE (TREE_TYPE (expr)); in convert_to_complex() local
820 if (TYPE_MAIN_VARIANT (elt_type) == TYPE_MAIN_VARIANT (subtype)) in convert_to_complex()
H A Dtree.c5218 build_array_type (tree elt_type, tree index_type) in build_array_type() argument
5223 if (TREE_CODE (elt_type) == FUNCTION_TYPE) in build_array_type()
5226 elt_type = integer_type_node; in build_array_type()
5230 TREE_TYPE (t) = elt_type; in build_array_type()
5236 hashcode = iterative_hash_object (TYPE_HASH (elt_type), hashcode); in build_array_type()
5243 hashcode = iterative_hash_object (TYPE_HASH (elt_type), hashcode); in build_array_type()