Home
last modified time | relevance | path

Searched refs:num_funcs (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libgomp/
H A Dtarget.c2092 int num_funcs = host_funcs_end - host_func_table; in gomp_load_image_to_device() local
2106 if (num_target_entries != num_funcs + num_vars in gomp_load_image_to_device()
2108 && num_target_entries != num_funcs + num_vars + num_others) in gomp_load_image_to_device()
2114 " (expected %u, have %u)", num_funcs + num_vars, in gomp_load_image_to_device()
2120 tgt->array = gomp_malloc ((num_funcs + num_vars) * sizeof (*tgt->array)); in gomp_load_image_to_device()
2130 for (i = 0; i < num_funcs; i++) in gomp_load_image_to_device()
2153 struct addr_pair *target_var = &target_table[num_funcs + i]; in gomp_load_image_to_device()
2182 if (num_funcs + num_vars < num_target_entries) in gomp_load_image_to_device()
2184 struct addr_pair *device_num_var = &target_table[num_funcs + num_vars]; in gomp_load_image_to_device()
2227 int num_funcs = host_funcs_end - host_func_table; in gomp_unload_image_from_device() local
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/
H A Dtarget.c1580 int num_funcs = host_funcs_end - host_func_table; in gomp_load_image_to_device() local
1591 if (num_target_entries != num_funcs + num_vars) in gomp_load_image_to_device()
1597 " (expected %u, have %u)", num_funcs + num_vars, in gomp_load_image_to_device()
1603 tgt->array = gomp_malloc ((num_funcs + num_vars) * sizeof (*tgt->array)); in gomp_load_image_to_device()
1613 for (i = 0; i < num_funcs; i++) in gomp_load_image_to_device()
1636 struct addr_pair *target_var = &target_table[num_funcs + i]; in gomp_load_image_to_device()
1681 int num_funcs = host_funcs_end - host_func_table; in gomp_unload_image_from_device() local
1688 if (num_funcs || num_vars) in gomp_unload_image_from_device()
1690 k.host_start = (num_funcs ? (uintptr_t) host_func_table[0] in gomp_unload_image_from_device()
1704 for (i = 0; i < num_funcs; i++) in gomp_unload_image_from_device()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Domp-offload.c171 unsigned num_funcs = vec_safe_length (offload_funcs); in omp_finish_file() local
174 if (num_funcs == 0 && num_vars == 0) in omp_finish_file()
180 vec_alloc (v_f, num_funcs); in omp_finish_file()
189 num_funcs); in omp_finish_file()
219 for (unsigned i = 0; i < num_funcs; i++) in omp_finish_file()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Domp-offload.cc397 unsigned num_funcs = vec_safe_length (offload_funcs); in omp_finish_file() local
400 if (num_funcs == 0 && num_vars == 0) in omp_finish_file()
406 vec_alloc (v_f, num_funcs); in omp_finish_file()
415 num_funcs); in omp_finish_file()
445 for (unsigned i = 0; i < num_funcs; i++) in omp_finish_file()