Home
last modified time | relevance | path

Searched refs:max_index (Results 1 – 25 of 44) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86InsertPrefetch.cpp122 int16_t max_index = -1; in findPrefetchInfo() local
145 max_index = std::max(max_index, static_cast<int16_t>(index)); in findPrefetchInfo()
148 assert(max_index + 1 >= 0 && in findPrefetchInfo()
150 assert(static_cast<size_t>(max_index + 1) == Prefetches.size() && in findPrefetchInfo()
/netbsd-src/libexec/ld.elf_so/
H A Dtls.c317 size_t i, max_index; in __tls_get_addr()
330 max_index = DTV_MAX_INDEX(tcb->tcb_dtv);
331 for (i = 1; i <= max_index; ++i) {
174 size_t i, max_index; _rtld_tls_free() local
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dipa-param-manipulation.c266 int max_index = -1; in get_max_base_index() local
271 && max_index < apm->base_index) in get_max_base_index()
272 max_index = apm->base_index; in get_max_base_index()
274 return max_index; in get_max_base_index()
288 int max_index = get_max_base_index (); in get_surviving_params() local
290 if (max_index < 0) in get_surviving_params()
292 surviving_params->reserve_exact (max_index + 1); in get_surviving_params()
293 surviving_params->quick_grow_cleared (max_index + 1); in get_surviving_params()
311 int max_index = get_max_base_index (); in get_updated_indices() local
313 if (max_index < 0) in get_updated_indices()
[all …]
H A Ddominance.c230 int max_index = region[0]->index; in dom_info() local
232 if (region[i]->index > max_index) in dom_info()
233 max_index = region[i]->index; in dom_info()
234 max_index += 1; /* set index on the first bb out of region. */ in dom_info()
236 m_dfs_order = new_zero_array <TBB> (max_index + 1); in dom_info()
237 m_dfs_last = &m_dfs_order[max_index]; in dom_info()
H A Dipa-icf.c3135 unsigned int max_index = 0; in dump_cong_classes() local
3146 if (c > max_index) in dump_cong_classes()
3147 max_index = c; in dump_cong_classes()
3159 for (unsigned int i = 0; i <= max_index; i++) in dump_cong_classes()
H A Dgimple-fold.c6749 offset_int max_index = access_index; in fold_array_ctor_reference() local
6760 max_index = wi::to_offset (TREE_OPERAND (elt->index, 1)); in fold_array_ctor_reference()
6763 index = max_index = wi::to_offset (elt->index); in fold_array_ctor_reference()
6779 else if (wi::cmpu (access_index, max_index) > 0) in fold_array_ctor_reference()
6785 ++max_index; in fold_array_ctor_reference()
6791 max_index = access_index; in fold_array_ctor_reference()
6797 max_index = wi::to_offset (TREE_OPERAND (elt->index, 1)); in fold_array_ctor_reference()
6800 index = max_index = wi::to_offset (elt->index); in fold_array_ctor_reference()
H A Dlto-streamer.h629 unsigned max_index; member
H A Dvarasm.c5097 tree max_index; in array_size_for_constructor() local
5108 max_index = NULL_TREE; in array_size_for_constructor()
5113 if (max_index == NULL_TREE || tree_int_cst_lt (max_index, index)) in array_size_for_constructor()
5114 max_index = index; in array_size_for_constructor()
5117 if (max_index == NULL_TREE) in array_size_for_constructor()
5122 i = wi::to_offset (max_index) - wi::to_offset (tmp) + 1; in array_size_for_constructor()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dipa-param-manipulation.cc391 int max_index = -1; in get_max_base_index() local
396 && max_index < apm->base_index) in get_max_base_index()
397 max_index = apm->base_index; in get_max_base_index()
399 return max_index; in get_max_base_index()
413 int max_index = get_max_base_index (); in get_surviving_params() local
415 if (max_index < 0) in get_surviving_params()
417 surviving_params->reserve_exact (max_index + 1); in get_surviving_params()
418 surviving_params->quick_grow_cleared (max_index + 1); in get_surviving_params()
436 int max_index = get_max_base_index (); in get_updated_indices() local
438 if (max_index < 0) in get_updated_indices()
[all …]
H A Ddominance.cc230 int max_index = region[0]->index; in dom_info() local
232 if (region[i]->index > max_index) in dom_info()
233 max_index = region[i]->index; in dom_info()
234 max_index += 1; /* set index on the first bb out of region. */ in dom_info()
236 m_dfs_order = new_zero_array <TBB> (max_index + 1); in dom_info()
237 m_dfs_last = &m_dfs_order[max_index]; in dom_info()
H A Dlto-streamer.h589 unsigned max_index; member
H A Dipa-icf.cc3218 unsigned int max_index = 0; in dump_cong_classes() local
3229 if (c > max_index) in dump_cong_classes()
3230 max_index = c; in dump_cong_classes()
3242 for (unsigned int i = 0; i <= max_index; i++) in dump_cong_classes()
H A Dvarasm.cc5359 tree max_index; in array_size_for_constructor() local
5370 max_index = NULL_TREE; in array_size_for_constructor()
5375 if (max_index == NULL_TREE || tree_int_cst_lt (max_index, index)) in array_size_for_constructor()
5376 max_index = index; in array_size_for_constructor()
5379 if (max_index == NULL_TREE) in array_size_for_constructor()
5384 i = wi::to_offset (max_index) - wi::to_offset (tmp) + 1; in array_size_for_constructor()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dinit.c244 tree max_index; in build_zero_init_1() local
249 max_index = fold_build2_loc (input_location, MINUS_EXPR, in build_zero_init_1()
256 max_index = array_type_nelts (type); in build_zero_init_1()
260 if (max_index == error_mark_node) in build_zero_init_1()
262 gcc_assert (TREE_CODE (max_index) == INTEGER_CST); in build_zero_init_1()
266 if (!integer_minus_onep (max_index)) in build_zero_init_1()
271 if (integer_zerop (max_index)) in build_zero_init_1()
275 max_index); in build_zero_init_1()
463 tree max_index = array_type_nelts (type); in build_value_init_noctor() local
467 if (max_index == error_mark_node) in build_value_init_noctor()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dinit.cc251 tree max_index; in build_zero_init_1() local
256 max_index = fold_build2_loc (input_location, MINUS_EXPR, in build_zero_init_1()
263 max_index = array_type_nelts (type); in build_zero_init_1()
267 if (max_index == error_mark_node) in build_zero_init_1()
269 gcc_assert (TREE_CODE (max_index) == INTEGER_CST); in build_zero_init_1()
273 if (!integer_minus_onep (max_index)) in build_zero_init_1()
278 if (integer_zerop (max_index)) in build_zero_init_1()
282 max_index); in build_zero_init_1()
474 tree max_index = array_type_nelts (type); in build_value_init_noctor() local
478 if (max_index == error_mark_node) in build_value_init_noctor()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/
H A Dstore.cc793 tree max_index = TREE_OPERAND (index, 1); in apply_ctor_to_region() local
794 if (min_index == max_index) in apply_ctor_to_region()
803 min_index, max_index, val)) in apply_ctor_to_region()
823 tree min_index, tree max_index, in apply_ctor_val_to_range() argument
827 gcc_assert (TREE_CODE (max_index) == INTEGER_CST); in apply_ctor_val_to_range()
833 = get_subregion_within_ctor (parent_reg, max_index, mgr); in apply_ctor_val_to_range()
H A Dstore.h520 tree min_index, tree max_index,
/netbsd-src/sys/dev/ic/
H A Dadvlib.c2221 int max_index; in AscGetSynPeriodIndex() local
2226 max_index = sc->max_sdtr_index; in AscGetSynPeriodIndex()
2228 if ((syn_time <= period_table[max_index])) { in AscGetSynPeriodIndex()
2229 for (i = min_index; i < (max_index - 1); i++) { in AscGetSynPeriodIndex()
2234 return (max_index); in AscGetSynPeriodIndex()
2236 return (max_index + 1); in AscGetSynPeriodIndex()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dcoff-rs6000.c2741 unsigned int max_index; in _bfd_xcoff_sizeof_headers() local
2747 max_index = 0; in _bfd_xcoff_sizeof_headers()
2749 if (s->index > max_index) in _bfd_xcoff_sizeof_headers()
2750 max_index = s->index; in _bfd_xcoff_sizeof_headers()
2755 n_rl = bfd_zmalloc ((max_index + 1) * sizeof (*n_rl)); in _bfd_xcoff_sizeof_headers()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/modules/color/
H A Damdgpu_color_gamma.c678 uint32_t max_index) in calculate_mapped_value() argument
691 if ((point->left_index < 0) || (point->left_index > max_index)) { in calculate_mapped_value()
696 if ((point->right_index < 0) || (point->right_index > max_index)) { in calculate_mapped_value()
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Daarch64-opc.c1558 int min_index, int max_index) in check_reglane() argument
1566 if (!value_in_range_p (opnd->reglane.index, min_index, max_index)) in check_reglane()
1569 max_index); in check_reglane()
1628 int max_index = max_value * range_size; in check_za_access() local
1629 if (!value_in_range_p (opnd->indexed_za.index.imm, 0, max_index)) in check_za_access()
1631 set_offset_out_of_range_error (mismatch_detail, idx, 0, max_index); in check_za_access()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dcoff-rs6000.c2836 unsigned int max_index; in _bfd_xcoff_sizeof_headers() local
2842 max_index = 0; in _bfd_xcoff_sizeof_headers()
2844 if (s->index > max_index) in _bfd_xcoff_sizeof_headers()
2845 max_index = s->index; in _bfd_xcoff_sizeof_headers()
2850 n_rl = bfd_zmalloc ((max_index + 1) * sizeof (*n_rl)); in _bfd_xcoff_sizeof_headers()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/lto/
H A Dlto-common.c2135 if (file_data->max_index < index) in lto_resolution_read()
2136 file_data->max_index = index; in lto_resolution_read()
2230 resolutions.safe_grow_cleared (file_data->max_index + 1); in lto_file_finalize()
/netbsd-src/external/gpl3/gcc/dist/gcc/lto/
H A Dlto-common.cc2144 if (file_data->max_index < index) in lto_resolution_read()
2145 file_data->max_index = index; in lto_resolution_read()
2239 resolutions.safe_grow_cleared (file_data->max_index + 1, true); in lto_file_finalize()
/netbsd-src/sys/fs/nfs/server/
H A Dnfs_nfsdstate.c4335 u_int32_t canuse, min_index, max_index; in nfsrv_nextstateindex() local
4348 max_index = 0xffffffff; in nfsrv_nextstateindex()
4352 if (stp->ls_stateid.other[2] < max_index) in nfsrv_nextstateindex()
4353 max_index = stp->ls_stateid.other[2]; in nfsrv_nextstateindex()
4364 if (min_index == 0x80000000 && max_index == 0x80000001) { in nfsrv_nextstateindex()
4389 clp->lc_statemaxindex = max_index; in nfsrv_nextstateindex()

12