| /freebsd-14.2/contrib/llvm-project/openmp/runtime/src/ |
| H A D | ompt-specific.h | 80 kmp_info_t *thr = __kmp_threads[gtid]; in __ompt_load_return_address() 95 ((ompt_enabled.enabled && gtid >= 0 && __kmp_threads[gtid] && \ 96 __kmp_threads[gtid]->th.ompt_thread_info.return_address) \ 140 if (ompt_enabled.enabled && Gtid >= 0 && __kmp_threads[Gtid] && in OmptReturnAddressGuard() 141 !__kmp_threads[Gtid]->th.ompt_thread_info.return_address) { in OmptReturnAddressGuard() 143 __kmp_threads[Gtid]->th.ompt_thread_info.return_address = ReturnAddress; in OmptReturnAddressGuard() 148 __kmp_threads[Gtid]->th.ompt_thread_info.return_address = NULL; in ~OmptReturnAddressGuard()
|
| H A D | kmp_threadprivate.cpp | 180 if (__kmp_threads[gtid]) { in __kmp_common_destroy() 184 __kmp_threads[gtid]->th.th_pri_common, gtid, in __kmp_common_destroy() 199 if (__kmp_threads[gtid]) { in __kmp_common_destroy() 203 __kmp_threads[gtid]->th.th_pri_common, gtid, in __kmp_common_destroy() 276 if (!__kmp_threads[p]) in dump_list() 279 if (__kmp_threads[p]->th.th_pri_common->data[q]) { in dump_list() 284 for (tn = __kmp_threads[p]->th.th_pri_common->data[q]; tn; in dump_list() 300 KMP_DEBUG_ASSERT(__kmp_threads[gtid] && in kmp_threadprivate_insert_private_data() 301 __kmp_threads[gtid]->th.th_root->r.r_active == 0); in kmp_threadprivate_insert_private_data() 447 tn->link = __kmp_threads[gtid]->th.th_pri_head; in kmp_threadprivate_insert() [all …]
|
| H A D | kmp_error.cpp | 195 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_push_parallel() 197 KMP_DEBUG_ASSERT(__kmp_threads[gtid]->th.th_cons); in __kmp_push_parallel() 213 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_check_workshare() 215 KMP_DEBUG_ASSERT(__kmp_threads[gtid]->th.th_cons); in __kmp_check_workshare() 235 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_push_workshare() 255 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; 342 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; 365 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; 386 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; 413 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; [all …]
|
| H A D | kmp_csupport.cpp | 460 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmpc_fork_teams() 596 this_thr = __kmp_threads[global_tid]; in __kmpc_end_serialized_parallel() 997 th = __kmp_threads[gtid]; in __kmpc_ordered() 1064 th = __kmp_threads[gtid]; in __kmpc_end_ordered() 2249 __kmp_threads[gtid]->th.th_ident = loc; in __kmpc_copyprivate() 2323 __kmp_threads[gtid]->th.th_ident = loc; in __kmpc_copyprivate_light() 3879 __kmp_threads[global_tid]->th.th_ident = in __kmpc_reduce() 4094 kmp_info_t *th = __kmp_threads[gtid]; in __kmpc_doacross_init() 4217 kmp_info_t *th = __kmp_threads[gtid]; in __kmpc_doacross_wait() 4329 kmp_info_t *th = __kmp_threads[gtid]; in __kmpc_doacross_post() [all …]
|
| H A D | kmp_runtime.cpp | 153 other_threads = __kmp_threads; in __kmp_get_global_thread_id() 693 th = __kmp_threads[gtid]; in __kmp_enter_single() 3059 thr = __kmp_threads[gtid]; in __kmp_get_ancestor_thread_num() 3117 thr = __kmp_threads[gtid]; in __kmp_get_team_size() 3535 if (__kmp_threads != NULL) { in __kmp_print_structure() 4198 KMP_DEBUG_ASSERT(__kmp_threads && __kmp_threads[gtid]); in __kmp_unregister_root_current_thread() 4237 KMP_DEBUG_ASSERT(__kmp_threads && __kmp_threads[gtid]); in __kmp_unregister_root_other_thread() 8066 if (__kmp_threads[gtid] && in __kmp_internal_join() 8262 __kmp_free(__kmp_threads); in __kmp_cleanup() 8265 __kmp_threads = NULL; in __kmp_cleanup() [all …]
|
| H A D | kmp_cancel.cpp | 30 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmpc_cancel() 137 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmpc_cancellationpoint() 245 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmpc_cancel_barrier()
|
| H A D | kmp_ftn_entry.h | 137 team = __kmp_threads[gtid]->th.th_team; in FTN_GET_BLOCKTIME() 247 if (__kmp_threads[gtid]->th.th_team->t.t_level == 0 && in FTN_GET_AFFINITY() 372 thread = __kmp_threads[gtid]; in KMP_EXPAND_NAME() 392 kmp_info_t *this_thr = __kmp_threads[__kmp_entry_gtid()]; in FTN_CONTROL_TOOL() 527 if (__kmp_threads[gtid]->th.th_team->t.t_level == 0 && in KMP_EXPAND_NAME_IF_APPEND() 561 if (__kmp_threads[gtid]->th.th_team->t.t_level == 0 && in KMP_EXPAND_NAME_IF_APPEND() 645 kmp_info_t *thread = __kmp_threads[gtid]; in KMP_EXPAND_NAME() 809 thread = __kmp_threads[gtid]; in KMP_EXPAND_NAME() 849 kmp_info_t *thread = __kmp_threads[gtid]; in KMP_EXPAND_NAME() 872 kmp_info_t *thread = __kmp_threads[gtid]; in KMP_EXPAND_NAME() [all …]
|
| H A D | kmp_dispatch.h | 331 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_deo() 362 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_dispatch_deo() 407 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_dxo() 433 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_dispatch_dxo()
|
| H A D | kmp_gsupport.cpp | 390 thr = __kmp_threads[*gtid]; in __kmp_GOMP_microtask_wrapper() 436 thr = __kmp_threads[*gtid]; in __kmp_GOMP_parallel_microtask_wrapper() 465 kmp_info_t *thr = __kmp_threads[gtid]; in __kmp_GOMP_fork_call() 541 thr = __kmp_threads[gtid]; in KMP_EXPAND_NAME() 1301 thread = __kmp_threads[gtid]; 1530 thr = __kmp_threads[gtid]; in KMP_EXPAND_NAME() 1887 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_GOMP_doacross_post() 1910 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_GOMP_doacross_wait() 2113 kmp_info_t *thr = __kmp_threads[gtid]; in __kmp_GOMP_init_reductions() 2151 kmp_info_t *thr = __kmp_threads[*gtid]; in __kmp_GOMP_par_reductions_microtask_wrapper() [all …]
|
| H A D | kmp_tasking.cpp | 478 kmp_info_t *thread = __kmp_threads[gtid]; 673 kmp_info_t *thread = __kmp_threads[gtid]; 1041 kmp_info_t *thread = __kmp_threads[gtid]; 1459 kmp_info_t *thread = __kmp_threads[gtid]; 1785 thread = __kmp_threads[gtid]; 1804 thread = __kmp_threads[gtid]; 1887 thread = __kmp_threads[gtid]; 2229 thread = __kmp_threads[gtid]; 2364 thread = __kmp_threads[gtid]; 2518 kmp_info_t *thread = __kmp_threads[gtid]; [all …]
|
| H A D | kmp_barrier.cpp | 670 team = __kmp_threads[gtid]->th.th_team; in __kmp_linear_barrier_release_template() 749 team = __kmp_threads[gtid]->th.th_team; in __kmp_linear_barrier_release_template() 942 team = __kmp_threads[gtid]->th.th_team; in __kmp_tree_barrier_release() 952 team = __kmp_threads[gtid]->th.th_team; in __kmp_tree_barrier_release() 1145 team = __kmp_threads[gtid]->th.th_team; in __kmp_hyper_barrier_release() 1183 team = __kmp_threads[gtid]->th.th_team; in __kmp_hyper_barrier_release() 1536 team = __kmp_threads[gtid]->th.th_team; in __kmp_hierarchical_barrier_release() 1574 team = __kmp_threads[gtid]->th.th_team; in __kmp_hierarchical_barrier_release() 1773 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmp_barrier_template() 2118 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmp_end_split_barrier() [all …]
|
| H A D | kmp_dispatch.cpp | 48 th = __kmp_threads[*gtid_ref]; in __kmp_dispatch_deo_error() 64 th = __kmp_threads[*gtid_ref]; in __kmp_dispatch_dxo_error() 219 th = __kmp_threads[gtid]; in __kmp_dispatch_init_algorithm() 1002 th = __kmp_threads[gtid]; in __kmp_dispatch_init() 1183 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_finish() 1247 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_finish_chunk() 1336 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_next_algorithm() 2199 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_dispatch_next() 2479 th = __kmp_threads[gtid]; in __kmpc_sections_init() 2553 kmp_info_t *th = __kmp_threads[gtid]; in __kmpc_next_section() [all …]
|
| H A D | kmp_alloc.cpp | 1486 __kmp_threads[gtid]->th.th_def_allocator = allocator; in __kmpc_set_default_allocator() 1490 return __kmp_threads[gtid]->th.th_def_allocator; in __kmpc_get_default_allocator() 1554 allocator = __kmp_threads[gtid]->th.th_def_allocator; in __kmp_alloc() 1556 __kmp_threads[gtid]->th.th_current_task->td_icvs.default_device; in __kmp_alloc() 1584 __kmp_threads[gtid]->th.th_current_task->td_icvs.default_device; in __kmp_alloc() 1600 __kmp_threads[gtid]->th.th_current_task->td_icvs.default_device; in __kmp_alloc() 1765 allocator = __kmp_threads[gtid]->th.th_def_allocator; in __kmp_calloc() 1838 __kmp_threads[gtid]->th.th_current_task->td_icvs.default_device; in ___kmpc_free() 1863 __kmp_threads[gtid]->th.th_current_task->td_icvs.default_device; in ___kmpc_free()
|
| H A D | kmp_taskdeps.cpp | 279 sink_data = &__kmp_threads[gtid]->th.ompt_thread_info.task_data; in __kmp_track_dependence() 399 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_process_dep_all() 459 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_process_deps() 687 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_omp_task_with_deps() 914 kmp_info_t *thread = __kmp_threads[gtid]; in __kmpc_omp_taskwait_deps_51()
|
| H A D | kmp.h | 3574 extern kmp_info_t **__kmp_threads; /* Descriptors for the threads */ 3596 #define __kmp_get_team() (__kmp_threads[(__kmp_get_gtid())]->th.th_team) 3603 (__kmp_threads[(gtid)]->th.th_team->t.t_nproc) 3608 return (gtid >= 0 && __kmp_root[gtid] && __kmp_threads[gtid] && in KMP_UBER_GTID() 3609 __kmp_threads[gtid] == __kmp_root[gtid]->r.r_uber_thread); in KMP_UBER_GTID() 3614 return __kmp_threads[gtid]->th.th_info.ds.ds_tid; in __kmp_tid_from_gtid() 3629 return __kmp_threads[gtid]; in __kmp_thread_from_gtid() 3634 return __kmp_threads[gtid]->th.th_team; in __kmp_team_from_gtid() 3727 return __kmp_threads[gtid]; in __kmp_entry_thread() 3921 kmp_root_t *r = __kmp_threads[gtid]->th.th_root; in __kmp_assign_root_init_mask() [all …]
|
| H A D | kmp_taskdeps.h | 112 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_release_deps()
|
| H A D | kmp_debugger.cpp | 69 addr_and_size_of(__kmp_threads),
|
| H A D | kmp_sched.cpp | 100 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_for_static_init() 533 th = __kmp_threads[gtid]; in __kmp_dist_for_static_init() 796 th = __kmp_threads[gtid]; in __kmp_team_static_init()
|
| H A D | kmp_dispatch_hier.h | 482 kmp_info_t *th = __kmp_threads[gtid]; in next_recurse() 716 kmp_info_t *th = __kmp_threads[gtid]; in next() 952 th = __kmp_threads[gtid]; in __kmp_dispatch_init_hierarchy()
|
| H A D | kmp_global.cpp | 450 kmp_info_t **__kmp_threads = NULL; variable
|
| H A D | z_Windows_NT_util.cpp | 363 kmp_info_t *th = __kmp_threads[th_gtid]; in __kmp_suspend_template() 491 kmp_info_t *th = __kmp_threads[target_gtid]; in __kmp_resume_template() 926 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_terminate_thread()
|
| H A D | ompt-specific.cpp | 354 return &__kmp_threads[__kmp_get_gtid()]->th.ompt_thread_info.target_task_data; in __ompt_get_target_task_data()
|
| H A D | z_Linux_util.cpp | 426 kmp_info_t *th = __kmp_threads[gtid]; in __kmp_terminate_thread() 1445 kmp_info_t *th = __kmp_threads[th_gtid]; in __kmp_suspend_template() 1631 kmp_info_t *th = __kmp_threads[target_gtid]; in __kmp_resume_template()
|
| H A D | kmp_affinity.cpp | 4996 kmp_info_t *th = (kmp_info_t *)TCR_SYNC_PTR(__kmp_threads[gtid]); in __kmp_affinity_set_init_mask() 5090 kmp_info_t *th = (kmp_info_t *)TCR_SYNC_PTR(__kmp_threads[gtid]); in __kmp_affinity_bind_init_mask() 5132 kmp_info_t *th = (kmp_info_t *)TCR_SYNC_PTR(__kmp_threads[gtid]); in __kmp_affinity_bind_place() 5215 th = __kmp_threads[gtid]; in __kmp_aux_set_affinity() 5245 th = __kmp_threads[gtid]; in __kmp_aux_get_affinity()
|
| H A D | kmp_collapse.cpp | 1331 kmp_info_t *th = __kmp_threads[gtid]; in __kmpc_for_collapsed_init()
|