Home
last modified time | relevance | path

Searched refs:access_index (Results 1 – 3 of 3) sorted by relevance

/dragonfly/contrib/gcc-4.7/gcc/
H A Dgimple-fold.c2783 double_int access_index; in fold_array_ctor_reference() local
2814 access_index = double_int_udiv (uhwi_to_double_int (offset / BITS_PER_UNIT), in fold_array_ctor_reference()
2816 access_index = double_int_add (access_index, low_bound); in fold_array_ctor_reference()
2847 if (double_int_cmp (access_index, index, 1) >= 0 in fold_array_ctor_reference()
2848 && double_int_cmp (access_index, max_index, 1) <= 0) in fold_array_ctor_reference()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dgimple-fold.c6500 offset_int access_index; in fold_array_ctor_reference() local
6530 access_index = wi::udiv_trunc (offset_int (offset / BITS_PER_UNIT), in fold_array_ctor_reference()
6532 access_index += low_bound; in fold_array_ctor_reference()
6541 if (tree val = get_array_ctor_element_at_index (ctor, access_index)) in fold_array_ctor_reference()
6814 unsigned HOST_WIDE_INT elt_size, access_index; in gimple_get_virt_method_for_vtable() local
6860 access_index = offset / BITS_PER_UNIT / elt_size; in gimple_get_virt_method_for_vtable()
6865 if (access_index < CONSTRUCTOR_NELTS (init)) in gimple_get_virt_method_for_vtable()
6867 fn = CONSTRUCTOR_ELT (init, access_index)->value; in gimple_get_virt_method_for_vtable()
6868 gcc_checking_assert (!CONSTRUCTOR_ELT (init, access_index)->index); in gimple_get_virt_method_for_vtable()
H A Dfold-const.c11860 get_array_ctor_element_at_index (tree ctor, offset_int access_index) in get_array_ctor_element_at_index() argument
11878 access_index = wi::ext (access_index, TYPE_PRECISION (index_type), in get_array_ctor_element_at_index()
11916 if (wi::cmpu (access_index, index) >= 0 in get_array_ctor_element_at_index()
11917 && wi::cmpu (access_index, max_index) <= 0) in get_array_ctor_element_at_index()