Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dinit.cc2962 build_new_constexpr_heap_type (tree elt_type, tree cookie_size, tree itype2) in build_new_constexpr_heap_type() argument
2969 tree atype2 = build_cplus_array_type (elt_type, itype2); in build_new_constexpr_heap_type()
2990 maybe_wrap_new_for_constexpr (tree alloc_call, tree elt_type, tree cookie_size) in maybe_wrap_new_for_constexpr() argument
3009 tree rtype = build_new_constexpr_heap_type (elt_type, cookie_size, in maybe_wrap_new_for_constexpr()
3036 tree elt_type; in build_new_1() local
3100 for (elt_type = type; in build_new_1()
3101 TREE_CODE (elt_type) == ARRAY_TYPE; in build_new_1()
3102 elt_type = TREE_TYPE (elt_type)) in build_new_1()
3104 tree inner_nelts = array_type_nelts_top (elt_type); in build_new_1()
3136 if (!verify_type_context (input_location, TCTX_ALLOCATION, elt_type, in build_new_1()
[all …]
H A Dtree.cc1040 build_min_array_type (tree elt_type, tree index_type) in build_min_array_type() argument
1043 TREE_TYPE (t) = elt_type; in build_min_array_type()
1052 set_array_type_canon (tree t, tree elt_type, tree index_type, bool dep) in set_array_type_canon() argument
1055 if (TYPE_STRUCTURAL_EQUALITY_P (elt_type) in set_array_type_canon()
1058 else if (TYPE_CANONICAL (elt_type) != elt_type in set_array_type_canon()
1061 = build_cplus_array_type (TYPE_CANONICAL (elt_type), in set_array_type_canon()
1075 build_cplus_array_type (tree elt_type, tree index_type, int dependent) in build_cplus_array_type() argument
1079 if (elt_type == error_mark_node || index_type == error_mark_node) in build_cplus_array_type()
1083 dependent = (uses_template_parms (elt_type) in build_cplus_array_type()
1086 if (elt_type != TYPE_MAIN_VARIANT (elt_type)) in build_cplus_array_type()
[all …]
H A Dconstexpr.cc5749 tree elt_type = TREE_TYPE (type); in cxx_eval_store_expression() local
5750 unsigned chars_per_elt = (TYPE_PRECISION (elt_type) in cxx_eval_store_expression()
6470 build_new_constexpr_heap_type (const constexpr_ctx *ctx, tree elt_type, in build_new_constexpr_heap_type() argument
6523 unsigned HOST_WIDE_INT esz = int_size_in_bytes (elt_type); in build_new_constexpr_heap_type()
6531 return build_cplus_array_type (elt_type, itype2); in build_new_constexpr_heap_type()
6532 return build_new_constexpr_heap_type (elt_type, cookie_size, itype2); in build_new_constexpr_heap_type()
7381 tree elt_type = TREE_TYPE (type); in cxx_eval_constant_expression() local
7384 if (TREE_CODE (elt_type) == RECORD_TYPE in cxx_eval_constant_expression()
7385 && TYPE_NAME (elt_type) == heap_identifier) in cxx_eval_constant_expression()
7387 tree fld1 = TYPE_FIELDS (elt_type); in cxx_eval_constant_expression()
[all …]
H A Ddecl.cc6469 reshape_init_array_1 (tree elt_type, tree max_index, reshape_iter *d, in reshape_init_array_1() argument
6483 && !CP_AGGREGATE_TYPE_P (elt_type) in reshape_init_array_1()
6514 elt_init = reshape_init_r (elt_type, d, in reshape_init_array_1()
9772 tree type, elt_type; in cp_complete_array_type() local
9808 elt_type = TREE_TYPE (type); in cp_complete_array_type()
9809 TYPE_NEEDS_CONSTRUCTING (type) = TYPE_NEEDS_CONSTRUCTING (elt_type); in cp_complete_array_type()
9811 = TYPE_HAS_NONTRIVIAL_DESTRUCTOR (elt_type); in cp_complete_array_type()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dinit.c2885 build_new_constexpr_heap_type (tree elt_type, tree cookie_size, tree itype2) in build_new_constexpr_heap_type() argument
2892 tree atype2 = build_cplus_array_type (elt_type, itype2); in build_new_constexpr_heap_type()
2913 maybe_wrap_new_for_constexpr (tree alloc_call, tree elt_type, tree cookie_size) in maybe_wrap_new_for_constexpr() argument
2932 tree rtype = build_new_constexpr_heap_type (elt_type, cookie_size, in maybe_wrap_new_for_constexpr()
2959 tree elt_type; in build_new_1() local
3024 for (elt_type = type; in build_new_1()
3025 TREE_CODE (elt_type) == ARRAY_TYPE; in build_new_1()
3026 elt_type = TREE_TYPE (elt_type)) in build_new_1()
3028 tree inner_nelts = array_type_nelts_top (elt_type); in build_new_1()
3060 if (!verify_type_context (input_location, TCTX_ALLOCATION, elt_type, in build_new_1()
[all …]
H A Dtree.c989 build_min_array_type (tree elt_type, tree index_type) in build_min_array_type() argument
992 TREE_TYPE (t) = elt_type; in build_min_array_type()
1001 set_array_type_canon (tree t, tree elt_type, tree index_type) in set_array_type_canon() argument
1004 if (TYPE_STRUCTURAL_EQUALITY_P (elt_type) in set_array_type_canon()
1007 else if (TYPE_CANONICAL (elt_type) != elt_type in set_array_type_canon()
1010 = build_cplus_array_type (TYPE_CANONICAL (elt_type), in set_array_type_canon()
1022 build_cplus_array_type (tree elt_type, tree index_type) in build_cplus_array_type() argument
1026 if (elt_type == error_mark_node || index_type == error_mark_node) in build_cplus_array_type()
1029 bool dependent = (uses_template_parms (elt_type) in build_cplus_array_type()
1032 if (elt_type != TYPE_MAIN_VARIANT (elt_type)) in build_cplus_array_type()
[all …]
H A Dconstexpr.c4950 tree elt_type = TREE_TYPE (type); in cxx_eval_store_expression() local
4951 unsigned chars_per_elt = (TYPE_PRECISION (elt_type) in cxx_eval_store_expression()
5654 build_new_constexpr_heap_type (const constexpr_ctx *ctx, tree elt_type, in build_new_constexpr_heap_type() argument
5707 unsigned HOST_WIDE_INT esz = int_size_in_bytes (elt_type); in build_new_constexpr_heap_type()
5715 return build_cplus_array_type (elt_type, itype2); in build_new_constexpr_heap_type()
5716 return build_new_constexpr_heap_type (elt_type, cookie_size, itype2); in build_new_constexpr_heap_type()
6505 tree elt_type = TREE_TYPE (type); in cxx_eval_constant_expression() local
6508 if (TREE_CODE (elt_type) == RECORD_TYPE in cxx_eval_constant_expression()
6509 && TYPE_NAME (elt_type) == heap_identifier) in cxx_eval_constant_expression()
6511 tree fld1 = TYPE_FIELDS (elt_type); in cxx_eval_constant_expression()
[all …]
H A Ddecl.c6070 reshape_init_array_1 (tree elt_type, tree max_index, reshape_iter *d, in reshape_init_array_1() argument
6084 && !CP_AGGREGATE_TYPE_P (elt_type) in reshape_init_array_1()
6113 elt_init = reshape_init_r (elt_type, d, in reshape_init_array_1()
9126 tree type, elt_type; in cp_complete_array_type() local
9180 elt_type = TREE_TYPE (type); in cp_complete_array_type()
9181 TYPE_NEEDS_CONSTRUCTING (type) = TYPE_NEEDS_CONSTRUCTING (elt_type); in cp_complete_array_type()
9183 = TYPE_HAS_NONTRIVIAL_DESTRUCTOR (elt_type); in cp_complete_array_type()
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-warn.cc2228 tree elt_type = TREE_TYPE (type); in warn_for_memset() local
2230 if (COMPLETE_TYPE_P (elt_type) in warn_for_memset()
2231 && !integer_onep (TYPE_SIZE_UNIT (elt_type)) in warn_for_memset()
3752 tree elt_type = TREE_TYPE (arr_type); in maybe_warn_sizeof_array_div() local
3756 || TREE_CODE (elt_type) == ARRAY_TYPE) in maybe_warn_sizeof_array_div()
3759 if (!tree_int_cst_equal (TYPE_SIZE (elt_type), TYPE_SIZE (type1))) in maybe_warn_sizeof_array_div()
3765 "%qT, not %qT", elt_type, type1)) in maybe_warn_sizeof_array_div()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dconvert.cc1000 tree elt_type = TREE_TYPE (TREE_TYPE (expr)); in convert_to_complex_1() local
1002 if (TYPE_MAIN_VARIANT (elt_type) == TYPE_MAIN_VARIANT (subtype)) in convert_to_complex_1()
H A Dtree.cc7232 build_array_type_1 (tree elt_type, tree index_type, bool typeless_storage, in build_array_type_1() argument
7237 if (TREE_CODE (elt_type) == FUNCTION_TYPE) in build_array_type_1()
7240 elt_type = integer_type_node; in build_array_type_1()
7244 TREE_TYPE (t) = elt_type; in build_array_type_1()
7246 TYPE_ADDR_SPACE (t) = TYPE_ADDR_SPACE (elt_type); in build_array_type_1()
7258 if (TYPE_STRUCTURAL_EQUALITY_P (elt_type) in build_array_type_1()
7262 else if (TYPE_CANONICAL (elt_type) != elt_type in build_array_type_1()
7265 = build_array_type_1 (TYPE_CANONICAL (elt_type), in build_array_type_1()
7277 build_array_type (tree elt_type, tree index_type, bool typeless_storage) in build_array_type() argument
7280 build_array_type_1 (elt_type, index_type, typeless_storage, true, true); in build_array_type()
[all …]
H A Dtree-cfg.cc4833 tree index_type, elt_type = NULL_TREE; in verify_gimple_switch() local
4885 if (! elt_type) in verify_gimple_switch()
4887 elt_type = TREE_TYPE (CASE_LOW (elt)); in verify_gimple_switch()
4888 if (TYPE_PRECISION (index_type) < TYPE_PRECISION (elt_type)) in verify_gimple_switch()
4894 if (TREE_TYPE (CASE_LOW (elt)) != elt_type in verify_gimple_switch()
4895 || (CASE_HIGH (elt) && TREE_TYPE (CASE_HIGH (elt)) != elt_type)) in verify_gimple_switch()
H A Dexpr.cc6424 tree value, purpose, elt_type; in categorize_ctor_elements_1() local
6436 elt_type = NULL_TREE; in categorize_ctor_elements_1()
6452 elt_type = TREE_TYPE (value); in categorize_ctor_elements_1()
6523 HOST_WIDE_INT tc = count_type_elements (elt_type, false); in categorize_ctor_elements_1()
6531 elt_type, in categorize_ctor_elements_1()
6541 num_fields, elt_type)) in categorize_ctor_elements_1()
H A Dfold-const.cc8758 tree elt_type = TREE_TYPE (type); in native_interpret_vector_part() local
8760 && TYPE_PRECISION (elt_type) <= BITS_PER_UNIT) in native_interpret_vector_part()
8764 unsigned int elt_bits = TYPE_PRECISION (elt_type); in native_interpret_vector_part()
8775 ? build_all_ones_cst (elt_type) in native_interpret_vector_part()
8776 : build_zero_cst (elt_type)); in native_interpret_vector_part()
8781 unsigned int elt_bytes = tree_to_uhwi (TYPE_SIZE_UNIT (elt_type)); in native_interpret_vector_part()
8788 tree elt = native_interpret_expr (elt_type, bytes, elt_bytes); in native_interpret_vector_part()
H A Dtree-vect-slp.cc380 tree elt_type, unsigned int *nvectors_out, in can_duplicate_and_interleave_p() argument
384 tree base_vector_type = get_vectype_for_scalar_type (vinfo, elt_type, count); in can_duplicate_and_interleave_p()
H A Dmatch.pd7571 tree elt_type = TREE_TYPE (elt);
7572 unsigned int elt_bits = tree_to_uhwi (TYPE_SIZE (elt_type));
7576 (bit_and:elt_type
7577 (BIT_FIELD_REF:elt_type @0 { size; } { pos; })
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dconvert.c1006 tree elt_type = TREE_TYPE (TREE_TYPE (expr)); in convert_to_complex_1() local
1008 if (TYPE_MAIN_VARIANT (elt_type) == TYPE_MAIN_VARIANT (subtype)) in convert_to_complex_1()
H A Dtree.c8208 build_array_type_1 (tree elt_type, tree index_type, bool typeless_storage, in build_array_type_1() argument
8213 if (TREE_CODE (elt_type) == FUNCTION_TYPE) in build_array_type_1()
8216 elt_type = integer_type_node; in build_array_type_1()
8220 TREE_TYPE (t) = elt_type; in build_array_type_1()
8222 TYPE_ADDR_SPACE (t) = TYPE_ADDR_SPACE (elt_type); in build_array_type_1()
8234 if (TYPE_STRUCTURAL_EQUALITY_P (elt_type) in build_array_type_1()
8238 else if (TYPE_CANONICAL (elt_type) != elt_type in build_array_type_1()
8241 = build_array_type_1 (TYPE_CANONICAL (elt_type), in build_array_type_1()
8253 build_array_type (tree elt_type, tree index_type, bool typeless_storage) in build_array_type() argument
8256 build_array_type_1 (elt_type, index_type, typeless_storage, true, true); in build_array_type()
[all …]
H A Dtree-cfg.c4772 tree index_type, elt_type = NULL_TREE; in verify_gimple_switch() local
4824 if (elt_type) in verify_gimple_switch()
4826 if (TREE_TYPE (CASE_LOW (elt)) != elt_type in verify_gimple_switch()
4827 || (CASE_HIGH (elt) && TREE_TYPE (CASE_HIGH (elt)) != elt_type)) in verify_gimple_switch()
4836 elt_type = TREE_TYPE (CASE_LOW (elt)); in verify_gimple_switch()
4837 if (TYPE_PRECISION (index_type) < TYPE_PRECISION (elt_type)) in verify_gimple_switch()
H A Dexpr.c6076 tree value, purpose, elt_type; in categorize_ctor_elements_1() local
6088 elt_type = NULL_TREE; in categorize_ctor_elements_1()
6104 elt_type = TREE_TYPE (value); in categorize_ctor_elements_1()
6175 HOST_WIDE_INT tc = count_type_elements (elt_type, false); in categorize_ctor_elements_1()
6183 elt_type, in categorize_ctor_elements_1()
6193 num_fields, elt_type)) in categorize_ctor_elements_1()
H A Dtree-vect-slp.c275 tree elt_type, unsigned int *nvectors_out, in can_duplicate_and_interleave_p() argument
279 tree base_vector_type = get_vectype_for_scalar_type (vinfo, elt_type, count); in can_duplicate_and_interleave_p()
H A Dfold-const.c8327 tree elt_type = TREE_TYPE (type); in native_interpret_vector_part() local
8329 && TYPE_PRECISION (elt_type) <= BITS_PER_UNIT) in native_interpret_vector_part()
8333 unsigned int elt_bits = TYPE_PRECISION (elt_type); in native_interpret_vector_part()
8344 ? build_all_ones_cst (elt_type) in native_interpret_vector_part()
8345 : build_zero_cst (elt_type)); in native_interpret_vector_part()
8350 unsigned int elt_bytes = tree_to_uhwi (TYPE_SIZE_UNIT (elt_type)); in native_interpret_vector_part()
8357 tree elt = native_interpret_expr (elt_type, bytes, elt_bytes); in native_interpret_vector_part()
H A Dmatch.pd6032 tree elt_type = TREE_TYPE (elt);
6033 unsigned int elt_bits = tree_to_uhwi (TYPE_SIZE (elt_type));
6037 (bit_and:elt_type
6038 (BIT_FIELD_REF:elt_type @0 { size; } { pos; })
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-warn.c2226 tree elt_type = TREE_TYPE (type); in warn_for_memset() local
2228 if (COMPLETE_TYPE_P (elt_type) in warn_for_memset()
2229 && !integer_onep (TYPE_SIZE_UNIT (elt_type)) in warn_for_memset()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/
H A Drs6000-builtin.cc389 rs6000_vector_type (const char *name, tree elt_type, unsigned num_elts) in rs6000_vector_type() argument
391 tree result = build_vector_type (elt_type, num_elts); in rs6000_vector_type()

12