Home
last modified time | relevance | path

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

/openbsd/gnu/gcc/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.c4428 reshape_init_array_1 (tree elt_type, tree max_index, reshape_iter *d) in reshape_init_array_1() argument
4460 elt_init = reshape_init_r (elt_type, d, /*first_initializer_p=*/false); in reshape_init_array_1()
5862 tree type, elt_type; in cp_complete_array_type() local
5894 elt_type = TREE_TYPE (type); in cp_complete_array_type()
5895 TYPE_NEEDS_CONSTRUCTING (type) = TYPE_NEEDS_CONSTRUCTING (elt_type); in cp_complete_array_type()
5897 = TYPE_HAS_NONTRIVIAL_DESTRUCTOR (elt_type); in cp_complete_array_type()
/openbsd/gnu/usr.bin/gcc/gcc/cp/
H A Dtree.c426 build_cplus_array_type_1 (elt_type, index_type) in build_cplus_array_type_1() argument
427 tree elt_type; in build_cplus_array_type_1()
441 || uses_template_parms (elt_type)
445 TREE_TYPE (t) = elt_type;
449 t = build_array_type (elt_type, index_type);
454 = TYPE_NEEDS_CONSTRUCTING (TYPE_MAIN_VARIANT (elt_type));
461 build_cplus_array_type (elt_type, index_type) in build_cplus_array_type() argument
462 tree elt_type; in build_cplus_array_type()
466 int type_quals = cp_type_quals (elt_type);
471 elt_type = cp_build_qualified_type (elt_type, other_quals);
[all …]
H A Ddecl.c8224 reshape_init_array (tree elt_type, tree max_index, in reshape_init_array() argument
8244 element_init = reshape_init (elt_type, initp); in reshape_init_array()
/openbsd/gnu/usr.bin/gcc/gcc/java/
H A Dmangle.c440 tree type, elt_type; local
447 elt_type = TYPE_ARRAY_ELEMENT (type);
485 mangle_type (elt_type);
H A Dexpr.c877 tree elt_type; local
882 elt_type = (TYPE_ARRAY_ELEMENT (TREE_TYPE (TREE_TYPE (array_node))));
885 return promote_type (elt_type);
888 if (indexed_type == byte_type_node && elt_type == boolean_type_node )
891 if (indexed_type != elt_type )
/openbsd/gnu/gcc/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()
1626 / (TYPE_ALIGN_UNIT (elt_type)))); in maybe_fold_offset_to_array_ref()
1886 tree elt_type = TREE_TYPE (op0); in maybe_fold_stmt_addition() local
1887 tree elt_size = TYPE_SIZE_UNIT (elt_type); in maybe_fold_stmt_addition()
H A Dconvert.c767 tree elt_type = TREE_TYPE (TREE_TYPE (expr)); in convert_to_complex() local
769 if (TYPE_MAIN_VARIANT (elt_type) == TYPE_MAIN_VARIANT (subtype)) in convert_to_complex()
H A Dtree.c5187 build_array_type (tree elt_type, tree index_type) in build_array_type() argument
5192 if (TREE_CODE (elt_type) == FUNCTION_TYPE) in build_array_type()
5195 elt_type = integer_type_node; in build_array_type()
5199 TREE_TYPE (t) = elt_type; in build_array_type()
5205 hashcode = iterative_hash_object (TYPE_HASH (elt_type), hashcode); in build_array_type()
5212 hashcode = iterative_hash_object (TYPE_HASH (elt_type), hashcode); in build_array_type()
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dconvert.c465 tree elt_type = TREE_TYPE (TREE_TYPE (expr)); local
467 if (TYPE_MAIN_VARIANT (elt_type) == TYPE_MAIN_VARIANT (subtype))
H A Dtree.c3662 build_array_type (elt_type, index_type) in build_array_type() argument
3663 tree elt_type, index_type; in build_array_type()
3668 if (TREE_CODE (elt_type) == FUNCTION_TYPE)
3671 elt_type = integer_type_node;
3675 build_pointer_type (elt_type);
3680 TREE_TYPE (t) = elt_type;
3688 hashcode = TYPE_HASH (elt_type) + TYPE_HASH (index_type);
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dada-lang.c1462 struct type *elt_type; in ada_type_of_array() local
1470 if (elt_type == NULL || arity == 0) in ada_type_of_array()
1487 elt_type = create_array_type (array_type, elt_type, range_type); in ada_type_of_array()
1490 return lookup_pointer_type (elt_type); in ada_type_of_array()
1710 struct type *elt_type; in value_subscript_packed() local
1718 if (TYPE_CODE (elt_type) != TYPE_CODE_ARRAY in value_subscript_packed()
1739 elt_type = ada_check_typedef (TYPE_TARGET_TYPE (elt_type)); in value_subscript_packed()
2056 struct type *elt_type; in ada_value_subscript() local
2061 if (TYPE_CODE (elt_type) == TYPE_CODE_ARRAY in ada_value_subscript()
2062 && TYPE_FIELD_BITSIZE (elt_type, 0) > 0) in ada_value_subscript()
[all …]
H A Dvalarith.c262 struct type *elt_type = check_typedef (TYPE_TARGET_TYPE (array_type)); in value_subscripted_rvalue() local
263 unsigned int elt_size = TYPE_LENGTH (elt_type); in value_subscripted_rvalue()
271 v = allocate_value (elt_type); in value_subscripted_rvalue()
H A Dgdbtypes.c834 struct type *elt_type, in init_simd_type() argument
842 array_type = create_array_type (0, elt_type, in init_simd_type()
850 init_vector_type (struct type *elt_type, int n) in init_vector_type() argument
854 array_type = create_array_type (0, elt_type, in init_vector_type()
/openbsd/gnu/usr.bin/gcc/gcc/f/
H A Dcom.c1082 tree elt_type = TREE_TYPE (TYPE_FIELDS (TREE_TYPE (expr))); in ffecom_convert_to_complex_() local
1083 if (TYPE_MAIN_VARIANT (elt_type) == TYPE_MAIN_VARIANT (subtype)) in ffecom_convert_to_complex_()