Lines Matching defs:kinds
319 /* Return true for mapping kinds which need to copy data from the
614 get_kind (bool short_mapkind, void *kinds, int idx)
617 return ((unsigned char *) kinds)[idx];
619 int val = ((unsigned short *) kinds)[idx];
627 get_implicit (bool short_mapkind, void *kinds, int idx)
632 int val = ((unsigned short *) kinds)[idx];
689 size_t *sizes, void *kinds,
703 kind = get_kind (short_mapkind, kinds, i);
704 implicit = get_implicit (short_mapkind, kinds, i);
921 void *kinds, bool short_mapkind,
981 int kind = get_kind (short_mapkind, kinds, i);
982 bool implicit = get_implicit (short_mapkind, kinds, i);
1056 && gomp_to_device_kind_p (get_kind (short_mapkind, kinds, i)
1068 sizes, kinds, NULL, refcount_set);
1149 int ptr_kind = get_kind (short_mapkind, kinds, j) & typemask;
1181 && ((typemask & get_kind (short_mapkind, kinds, i + 1))
1206 kinds, j)) & typemask))
1287 && (get_kind (short_mapkind, kinds, i) & typemask)
1307 int ptr_kind = get_kind (short_mapkind, kinds, j) & typemask;
1337 int kind = get_kind (short_mapkind, kinds, i);
1338 bool implicit = get_implicit (short_mapkind, kinds, i);
1421 sizes, kinds, cbufp, refcount_set);
1435 if ((get_kind (short_mapkind, kinds, i - 1) & typemask)
1454 && ((typemask & get_kind (short_mapkind, kinds, i + 1))
1610 int ptr_kind = (get_kind (short_mapkind, kinds, j)
1736 void **hostaddrs, void **devaddrs, size_t *sizes, void *kinds,
1751 sizes, kinds, short_mapkind, refcount_set,
1763 void *kinds, bool short_mapkind,
1767 sizes, kinds, short_mapkind, NULL,
1991 size_t *sizes, void *kinds, bool short_mapkind)
2018 int kind = get_kind (short_mapkind, kinds, i);
2485 unsigned short *kinds, size_t *tgt_align,
2490 if ((kinds[i] & 0xff) == GOMP_MAP_FIRSTPRIVATE)
2492 size_t align = (size_t) 1 << (kinds[i] >> 8);
2504 size_t *sizes, unsigned short *kinds, size_t tgt_align,
2513 if ((kinds[i] & 0xff) == GOMP_MAP_FIRSTPRIVATE && hostaddrs[i] != NULL)
2515 size_t align = (size_t) 1 << (kinds[i] >> 8);
2560 and assumed sizeof (void *) size) and kinds. */
2565 unsigned char *kinds)
2579 = gomp_map_vars (devicep, mapnum, hostaddrs, NULL, sizes, kinds, false,
2623 void **hostaddrs, size_t *sizes, unsigned short *kinds,
2677 sizes, kinds, flags, depend, args,
2693 calculate_firstprivate_requirements (mapnum, sizes, kinds,
2698 copy_firstprivate_data (tgt, mapnum, hostaddrs, sizes, kinds,
2714 calculate_firstprivate_requirements (mapnum, sizes, kinds,
2719 copy_firstprivate_data (tgt, mapnum, hostaddrs, sizes, kinds,
2734 calculate_firstprivate_requirements (mapnum, sizes, kinds,
2739 copy_firstprivate_data (tgt, mapnum, hostaddrs, sizes, kinds,
2748 tgt_vars = gomp_map_vars (devicep, mapnum, hostaddrs, NULL, sizes, kinds,
2791 void **hostaddrs, size_t *sizes, unsigned char *kinds)
2801 = gomp_map_vars (devicep, mapnum, hostaddrs, NULL, sizes, kinds, false,
2810 size_t *sizes, unsigned short *kinds)
2820 = gomp_map_vars (devicep, mapnum, hostaddrs, NULL, sizes, kinds, true,
2841 void **hostaddrs, size_t *sizes, unsigned char *kinds)
2850 gomp_update (devicep, mapnum, hostaddrs, sizes, kinds, false);
2855 size_t *sizes, unsigned short *kinds,
2876 mapnum, hostaddrs, sizes, kinds,
2929 gomp_update (devicep, mapnum, hostaddrs, sizes, kinds, true);
2934 void **hostaddrs, size_t *sizes, unsigned short *kinds,
2947 if ((kinds[i] & typemask) == GOMP_MAP_DETACH)
2965 unsigned char kind = kinds[i] & typemask;
3048 size_t *sizes, unsigned short *kinds,
3069 mapnum, hostaddrs, sizes, kinds,
3129 if ((kinds[i] & 0xff) == GOMP_MAP_STRUCT)
3132 &kinds[i], true, &refcount_set,
3136 else if ((kinds[i] & 0xff) == GOMP_MAP_TO_PSET)
3139 if (!GOMP_MAP_POINTER_P (get_kind (true, kinds, j) & 0xff)
3140 && !GOMP_MAP_ALWAYS_POINTER_P (get_kind (true, kinds, j) & 0xff))
3143 &kinds[i], true, &refcount_set,
3147 else if (i + 1 < mapnum && (kinds[i + 1] & 0xff) == GOMP_MAP_ATTACH)
3151 gomp_map_vars (devicep, 2, &hostaddrs[i], NULL, &sizes[i], &kinds[i],
3156 gomp_map_vars (devicep, 1, &hostaddrs[i], NULL, &sizes[i], &kinds[i],
3159 gomp_exit_data (devicep, mapnum, hostaddrs, sizes, kinds, &refcount_set);
3199 NULL, ttask->sizes, ttask->kinds, true,
3218 ttask->kinds, true);
3224 if ((ttask->kinds[i] & 0xff) == GOMP_MAP_STRUCT)
3227 NULL, &ttask->sizes[i], &ttask->kinds[i], true,
3233 &ttask->kinds[i], true, &refcount_set,
3237 ttask->kinds, &refcount_set);