Home
last modified time | relevance | path

Searched refs:index_type (Results 1 – 25 of 38) sorted by relevance

12

/openbsd/gnu/gcc/gcc/
H A Dstmt.c2264 fold_convert (index_type, index_expr), in emit_case_bit_tests()
2265 fold_convert (index_type, minval)); in emit_case_bit_tests()
2269 mode = TYPE_MODE (index_type); in emit_case_bit_tests()
2321 tree index_type = TREE_TYPE (index_expr); in expand_case() local
2322 int unsignedp = TYPE_UNSIGNED (index_type); in expand_case()
2343 if (index_type != error_mark_node) in expand_case()
2533 minval = build_int_cst (index_type, 0); in expand_case()
2867 if (TYPE_MAX_VALUE (index_type) == NULL) in node_has_high_bound()
2939 tree index_type) in emit_case_nodes() argument
2942 int unsignedp = TYPE_UNSIGNED (index_type); in emit_case_nodes()
[all …]
H A Dexpr.c9239 try_casesi (tree index_type, tree index_expr, tree minval, tree range, in try_casesi() argument
9253 enum machine_mode omode = TYPE_MODE (index_type); in try_casesi()
9257 index_expr = build2 (MINUS_EXPR, index_type, in try_casesi()
9268 if (TYPE_MODE (index_type) != index_mode) in try_casesi()
9270 index_type = lang_hooks.types.type_for_size (index_bits, 0); in try_casesi()
9271 index_expr = fold_convert (index_type, index_expr); in try_casesi()
9396 index_expr = fold_build2 (MINUS_EXPR, index_type, in try_tablejump()
9397 fold_convert (index_type, index_expr), in try_tablejump()
9398 fold_convert (index_type, minval)); in try_tablejump()
9402 do_tablejump (index, TYPE_MODE (index_type), in try_tablejump()
[all …]
H A Dtree.c1907 tree index_type, min, max; in array_type_nelts() local
1914 index_type = TYPE_DOMAIN (type); in array_type_nelts()
1915 min = TYPE_MIN_VALUE (index_type); in array_type_nelts()
1916 max = TYPE_MAX_VALUE (index_type); in array_type_nelts()
5187 build_array_type (tree elt_type, tree index_type) in build_array_type() argument
5200 TYPE_DOMAIN (t) = index_type; in build_array_type()
5202 if (index_type == 0) in build_array_type()
5213 hashcode = iterative_hash_object (TYPE_HASH (index_type), hashcode); in build_array_type()
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dstmt.c4579 tree index_type; local
4594 if (index_type == error_mark_node)
4629 tree index_type; local
4644 if (index_type == error_mark_node)
5274 tree index_expr, index_type; local
5300 if (index_type != error_mark_node)
5871 tree index_type;
5918 tree index_type;
5962 node_is_bounded (node, index_type) in node_is_bounded() argument
5964 tree index_type;
[all …]
H A Dtree.c1312 tree index_type, min, max; local
1319 index_type = TYPE_DOMAIN (type);
1320 min = TYPE_MIN_VALUE (index_type);
1321 max = TYPE_MAX_VALUE (index_type);
3662 build_array_type (elt_type, index_type) in build_array_type() argument
3663 tree elt_type, index_type; in build_array_type()
3681 TYPE_DOMAIN (t) = index_type;
3683 if (index_type == 0)
3688 hashcode = TYPE_HASH (elt_type) + TYPE_HASH (index_type);
H A Dexpr.c11124 try_casesi (index_type, index_expr, minval, range, in try_casesi() argument
11126 tree index_type, index_expr, minval, range; in try_casesi()
11145 index_expr = build (MINUS_EXPR, index_type,
11156 if (TYPE_MODE (index_type) != index_mode)
11160 index_type = TREE_TYPE (index_expr);
11283 tree index_type, index_expr, minval, range; in try_tablejump()
11291 index_expr = fold (build (MINUS_EXPR, index_type,
11292 convert (index_type, index_expr),
11293 convert (index_type, minval)));
11299 do_tablejump (index, TYPE_MODE (index_type),
[all …]
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dada-valprint.c94 struct type *index_type; in print_optional_low_bound() local
97 index_type = TYPE_INDEX_TYPE (type); in print_optional_low_bound()
100 if (index_type == NULL) in print_optional_low_bound()
102 if (TYPE_CODE (index_type) == TYPE_CODE_RANGE) in print_optional_low_bound()
104 low_bound = TYPE_LOW_BOUND (index_type); in print_optional_low_bound()
105 if (low_bound > TYPE_HIGH_BOUND (index_type)) in print_optional_low_bound()
107 index_type = TYPE_TARGET_TYPE (index_type); in print_optional_low_bound()
112 switch (TYPE_CODE (index_type)) in print_optional_low_bound()
115 if (low_bound == TYPE_FIELD_BITPOS (index_type, 0)) in print_optional_low_bound()
119 index_type = builtin_type_long; in print_optional_low_bound()
[all …]
H A Dstabsread.c3346 struct type *index_type, *element_type, *range_type; in read_array_type() local
3359 index_type = read_type (pp, objfile); in read_array_type()
3394 create_range_type ((struct type *) NULL, index_type, lower, upper); in read_array_type()
3751 struct type *index_type = NULL; in read_range_type() local
3763 index_type = read_type (pp, objfile); in read_range_type()
3778 if (index_type) in read_range_type()
3915 index_type = builtin_type_int; in read_range_type()
3917 index_type = *dbx_lookup_type (rangenums); in read_range_type()
3918 if (index_type == NULL) in read_range_type()
3931 index_type = range_type_index; in read_range_type()
[all …]
H A Dada-lang.c2115 struct type *index_type = in ada_value_slice_ptr() local
2128 struct type *index_type = in ada_value_slice() local
2273 struct type *index_type; in ada_array_bound_from_type() local
2282 index_type = TYPE_TARGET_TYPE (range_type); in ada_array_bound_from_type()
2284 index_type = builtin_type_long; in ada_array_bound_from_type()
2286 *typep = index_type; in ada_array_bound_from_type()
2294 struct type *index_type = in ada_array_bound_from_type() local
2298 *typep = TYPE_TARGET_TYPE (index_type); in ada_array_bound_from_type()
2301 ? TYPE_LOW_BOUND (index_type) in ada_array_bound_from_type()
2302 : TYPE_HIGH_BOUND (index_type)); in ada_array_bound_from_type()
[all …]
H A Dgdbtypes.c631 create_range_type (struct type *result_type, struct type *index_type, in create_range_type() argument
636 result_type = alloc_type (TYPE_OBJFILE (index_type)); in create_range_type()
639 TYPE_TARGET_TYPE (result_type) = index_type; in create_range_type()
640 if (TYPE_STUB (index_type)) in create_range_type()
643 TYPE_LENGTH (result_type) = TYPE_LENGTH (check_typedef (index_type)); in create_range_type()
H A Dcoffread.c1713 struct type *base_type, *index_type, *range_type; in decode_type() local
1729 index_type = lookup_fundamental_type (current_objfile, FT_INTEGER); in decode_type()
1731 create_range_type ((struct type *) NULL, index_type, 0, n - 1); in decode_type()
/openbsd/gnu/usr.bin/gcc/gcc/java/
H A Dconstants.c442 tree index_type; in build_constants_constructor() local
446 index_type = build_index_type (max_index); in build_constants_constructor()
453 TREE_TYPE (data_decl) = build_array_type (ptr_type_node, index_type), in build_constants_constructor()
461 tags_type = build_array_type (unsigned_byte_type_node, index_type); in build_constants_constructor()
H A Dtypeck.c342 tree index_type = TYPE_DOMAIN (TREE_TYPE (arfld)); local
343 if (index_type != NULL_TREE)
345 tree high = TYPE_MAX_VALUE (index_type);
/openbsd/gnu/llvm/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxVariant.cpp99 CompilerType index_type = index_sp->GetCompilerType(); in LibcxxVariantGetIndexValidity() local
101 std::optional<uint64_t> index_type_bytes = index_type.GetByteSize(nullptr); in LibcxxVariantGetIndexValidity()
/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
428 tree index_type;
432 if (elt_type == error_mark_node || index_type == error_mark_node)
439 && index_type && TYPE_MAX_VALUE (index_type)
440 && TREE_CODE (TYPE_MAX_VALUE (index_type)) != INTEGER_CST)
442 || (index_type && uses_template_parms (index_type)))
446 TYPE_DOMAIN (t) = index_type;
449 t = build_array_type (elt_type, index_type);
461 build_cplus_array_type (elt_type, index_type) in build_cplus_array_type() argument
463 tree index_type;
[all …]
H A Dmangle.c2214 tree index_type; local
2217 index_type = TYPE_DOMAIN (type);
2220 max = TYPE_MAX_VALUE (index_type);
/openbsd/usr.sbin/ldapd/
H A Dldapd.h94 enum index_type { enum
105 enum index_type type;
388 const char *attr, enum index_type type);
H A Dnamespace.c455 enum index_type type) in namespace_has_index()
/openbsd/gnu/usr.bin/binutils/binutils/
H A Dstabs.c1639 debug_type index_type; in parse_stab_range_type() local
1646 index_type = DEBUG_TYPE_NULL; in parse_stab_range_type()
1661 if (index_type == DEBUG_TYPE_NULL) in parse_stab_range_type()
1695 if (index_type == DEBUG_TYPE_NULL) in parse_stab_range_type()
1709 if (index_type == DEBUG_TYPE_NULL) in parse_stab_range_type()
1793 index_type = stab_find_type (dhandle, info, rangenums); in parse_stab_range_type()
1794 if (index_type == DEBUG_TYPE_NULL) in parse_stab_range_type()
3013 debug_type index_type; in parse_stab_array_type() local
3036 if (index_type == DEBUG_TYPE_NULL) in parse_stab_array_type()
3038 index_type = debug_make_int_type (dhandle, 4, FALSE); in parse_stab_array_type()
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/binutils/
H A Dstabs.c1641 debug_type index_type; in parse_stab_range_type() local
1648 index_type = DEBUG_TYPE_NULL; in parse_stab_range_type()
1663 if (index_type == DEBUG_TYPE_NULL) in parse_stab_range_type()
1697 if (index_type == DEBUG_TYPE_NULL) in parse_stab_range_type()
1711 if (index_type == DEBUG_TYPE_NULL) in parse_stab_range_type()
1795 index_type = stab_find_type (dhandle, info, rangenums); in parse_stab_range_type()
1796 if (index_type == DEBUG_TYPE_NULL) in parse_stab_range_type()
3017 debug_type index_type; in parse_stab_array_type() local
3040 if (index_type == DEBUG_TYPE_NULL) in parse_stab_array_type()
3042 index_type = debug_make_int_type (dhandle, 4, FALSE); in parse_stab_array_type()
[all …]
/openbsd/gnu/gcc/gcc/cp/
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()
419 || (index_type in build_cplus_array_type_1()
420 && value_dependent_expression_p (TYPE_MAX_VALUE (index_type)))) in build_cplus_array_type_1()
424 TYPE_DOMAIN (t) = index_type; in build_cplus_array_type_1()
427 t = build_array_type (elt_type, index_type); in build_cplus_array_type_1()
439 build_cplus_array_type (tree elt_type, tree index_type) in build_cplus_array_type() argument
447 t = build_cplus_array_type_1 (elt_type, index_type); in build_cplus_array_type()
H A Dmangle.c2376 tree index_type; in write_array_type() local
2379 index_type = TYPE_DOMAIN (type); in write_array_type()
2382 max = TYPE_MAX_VALUE (index_type); in write_array_type()
/openbsd/gnu/gcc/libstdc++-v3/include/ext/
H A Dtypelist.h393 typedef detail::chain_at_index_<root_type, i> index_type;
396 typedef typename index_type::type type;
/openbsd/gnu/usr.bin/perl/
H A Dpeep.c2003 UV index_type = MDEREF_INDEX_none; in S_maybe_multideref() local
2069 index_type = MDEREF_INDEX_padsv; in S_maybe_multideref()
2139 index_type = MDEREF_INDEX_const; in S_maybe_multideref()
2181 index_type = MDEREF_INDEX_gvsv; in S_maybe_multideref()
2188 action |= index_type; in S_maybe_multideref()
2233 if ( index_type == MDEREF_INDEX_none in S_maybe_multideref()
2334 if (index_type != MDEREF_INDEX_none) in S_maybe_multideref()
/openbsd/gnu/llvm/libcxx/docs/Status/
H A DCxx2bPapers.csv94 "`P2599R2 <https://wg21.link/P2599R2>`__","LWG","``mdspan::size_type`` should be ``index_type``","J…

12