/external/llvm-project/openmp/runtime/src/ |
D | kmp_gsupport.cpp | 97 int gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME() local 128 int gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME() local 138 int gtid = __kmp_get_gtid(); in KMP_EXPAND_NAME() local 148 int gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME() local 155 int gtid = __kmp_get_gtid(); in KMP_EXPAND_NAME() local 165 int gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME() local 176 int gtid = __kmp_get_gtid(); in KMP_EXPAND_NAME() local 182 int gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME() local 231 int gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME() local 276 int gtid = __kmp_get_gtid(); in KMP_EXPAND_NAME() local [all …]
|
D | kmp_lock.cpp | 81 __kmp_acquire_tas_lock_timed_template(kmp_tas_lock_t *lck, kmp_int32 gtid) { in __kmp_acquire_tas_lock_timed_template() 113 int __kmp_acquire_tas_lock(kmp_tas_lock_t *lck, kmp_int32 gtid) { in __kmp_acquire_tas_lock() 120 kmp_int32 gtid) { in __kmp_acquire_tas_lock_with_checks() 132 int __kmp_test_tas_lock(kmp_tas_lock_t *lck, kmp_int32 gtid) { in __kmp_test_tas_lock() 144 kmp_int32 gtid) { in __kmp_test_tas_lock_with_checks() 153 int __kmp_release_tas_lock(kmp_tas_lock_t *lck, kmp_int32 gtid) { in __kmp_release_tas_lock() 166 kmp_int32 gtid) { in __kmp_release_tas_lock_with_checks() 203 int __kmp_acquire_nested_tas_lock(kmp_tas_lock_t *lck, kmp_int32 gtid) { in __kmp_acquire_nested_tas_lock() 218 kmp_int32 gtid) { in __kmp_acquire_nested_tas_lock_with_checks() 226 int __kmp_test_nested_tas_lock(kmp_tas_lock_t *lck, kmp_int32 gtid) { in __kmp_test_nested_tas_lock() [all …]
|
D | ompt-specific.h | 71 inline void *__ompt_load_return_address(int gtid) { in __ompt_load_return_address() 83 #define OMPT_STORE_RETURN_ADDRESS(gtid) \ argument 85 #define OMPT_LOAD_RETURN_ADDRESS(gtid) __ompt_load_return_address(gtid) argument 86 #define OMPT_LOAD_OR_GET_RETURN_ADDRESS(gtid) \ argument 96 inline kmp_info_t *ompt_get_thread_gtid(int gtid) { in ompt_get_thread_gtid() 101 int gtid = __kmp_get_gtid(); in ompt_get_thread() local 136 #define OMPT_REDUCTION_DECL(this_thr, gtid) \ argument 153 #define OMPT_REDUCTION_DECL(this_thr, gtid) argument
|
D | kmp_error.cpp | 50 static void __kmp_expand_cons_stack(int gtid, struct cons_header *p) { in __kmp_expand_cons_stack() 127 struct cons_header *__kmp_allocate_cons_stack(int gtid) { in __kmp_allocate_cons_stack() 159 static void dump_cons_stack(int gtid, struct cons_header *p) { in dump_cons_stack() 187 void __kmp_push_parallel(int gtid, ident_t const *ident) { in __kmp_push_parallel() 206 void __kmp_check_workshare(int gtid, enum cons_type ct, ident_t const *ident) { in __kmp_check_workshare() 227 void __kmp_push_workshare(int gtid, enum cons_type ct, ident_t const *ident) { in __kmp_push_workshare() 244 __kmp_check_sync( int gtid, enum cons_type ct, ident_t const * ident, kmp_user_lock_p lck, kmp_uint… 330 __kmp_push_sync( int gtid, enum cons_type ct, ident_t const * ident, kmp_user_lock_p lck, kmp_uint3… 357 void __kmp_pop_parallel(int gtid, ident_t const *ident) { 377 enum cons_type __kmp_pop_workshare(int gtid, enum cons_type ct, [all …]
|
D | kmp_itt.inl | 83 LINKAGE void __kmp_itt_region_forking(int gtid, int team_size, int barriers) { 185 LINKAGE void __kmp_itt_frame_submit(int gtid, __itt_timestamp begin, 327 LINKAGE void __kmp_itt_metadata_imbalance(int gtid, kmp_uint64 begin, 416 LINKAGE void __kmp_itt_region_starting(int gtid) { 422 LINKAGE void __kmp_itt_region_finished(int gtid) { 428 LINKAGE void __kmp_itt_region_joined(int gtid) { 475 void *__kmp_itt_barrier_object(int gtid, int bt, int set_name, 577 void __kmp_itt_barrier_starting(int gtid, void *object) { 591 void __kmp_itt_barrier_middle(int gtid, void *object) { 606 void __kmp_itt_barrier_finished(int gtid, void *object) { [all …]
|
D | kmp_tasking.cpp | 44 static void __kmp_trace_task_stack(kmp_int32 gtid, in __kmp_trace_task_stack() 98 static void __kmp_init_task_stack(kmp_int32 gtid, in __kmp_init_task_stack() 119 static void __kmp_free_task_stack(kmp_int32 gtid, in __kmp_free_task_stack() 148 static void __kmp_push_task_stack(kmp_int32 gtid, kmp_info_t *thread, in __kmp_push_task_stack() 207 static void __kmp_pop_task_stack(kmp_int32 gtid, kmp_info_t *thread, in __kmp_pop_task_stack() 253 static bool __kmp_task_is_allowed(int gtid, const kmp_int32 is_constrained, in __kmp_task_is_allowed() 325 static kmp_int32 __kmp_push_task(kmp_int32 gtid, kmp_task_t *task) { in __kmp_push_task() 497 static void __kmp_task_start(kmp_int32 gtid, kmp_task_t *task, in __kmp_task_start() 561 kmp_int32 gtid) { in __ompt_task_start() 598 static void __kmpc_omp_task_begin_if0_template(ident_t *loc_ref, kmp_int32 gtid, in __kmpc_omp_task_begin_if0_template() [all …]
|
D | kmp_csupport.cpp | 99 kmp_int32 gtid = __kmp_entry_gtid(); in __kmpc_global_thread_num() local 262 int gtid = __kmp_entry_gtid(); in __kmpc_fork_call() local 366 int gtid = __kmp_entry_gtid(); in __kmpc_fork_teams() local 451 int __kmpc_invoke_task_func(int gtid) { return __kmp_invoke_task_func(gtid); } in __kmpc_invoke_task_func() 830 void __kmpc_ordered(ident_t *loc, kmp_int32 gtid) { in __kmpc_ordered() 903 void __kmpc_end_ordered(ident_t *loc, kmp_int32 gtid) { in __kmpc_end_ordered() 938 kmp_int32 gtid, kmp_indirect_locktag_t tag) { in __kmp_init_indirect_csptr() 966 #define KMP_ACQUIRE_TAS_LOCK(lock, gtid) \ argument 993 #define KMP_TEST_TAS_LOCK(lock, gtid, rc) \ argument 1003 #define KMP_RELEASE_TAS_LOCK(lock, gtid) \ argument [all …]
|
D | kmp_dispatch.cpp | 104 void __kmp_dispatch_init_algorithm(ident_t *loc, int gtid, in __kmp_dispatch_init_algorithm() 768 __kmp_dispatch_init(ident_t *loc, int gtid, enum sched_type schedule, T lb, in __kmp_dispatch_init() 1007 static void __kmp_dispatch_finish(int gtid, ident_t *loc) { in __kmp_dispatch_finish() 1071 static void __kmp_dispatch_finish_chunk(int gtid, ident_t *loc) { in __kmp_dispatch_finish_chunk() 1151 int __kmp_dispatch_next_algorithm(int gtid, in __kmp_dispatch_next_algorithm() 1895 static int __kmp_dispatch_next(ident_t *loc, int gtid, kmp_int32 *p_last, in __kmp_dispatch_next() 2164 static void __kmp_dist_get_bounds(ident_t *loc, kmp_int32 gtid, in __kmp_dist_get_bounds() 2301 void __kmpc_dispatch_init_4(ident_t *loc, kmp_int32 gtid, in __kmpc_dispatch_init_4() 2313 void __kmpc_dispatch_init_4u(ident_t *loc, kmp_int32 gtid, in __kmpc_dispatch_init_4u() 2326 void __kmpc_dispatch_init_8(ident_t *loc, kmp_int32 gtid, in __kmpc_dispatch_init_8() [all …]
|
D | kmp_sched.cpp | 89 kmp_int32 gtid = global_tid; in __kmp_for_static_init() local 428 static void __kmp_dist_for_static_init(ident_t *loc, kmp_int32 gtid, in __kmp_dist_for_static_init() 670 static void __kmp_team_static_init(ident_t *loc, kmp_int32 gtid, in __kmp_team_static_init() 804 void __kmpc_for_static_init_4(ident_t *loc, kmp_int32 gtid, kmp_int32 schedtype, in __kmpc_for_static_init_4() 820 void __kmpc_for_static_init_4u(ident_t *loc, kmp_int32 gtid, in __kmpc_for_static_init_4u() 837 void __kmpc_for_static_init_8(ident_t *loc, kmp_int32 gtid, kmp_int32 schedtype, in __kmpc_for_static_init_8() 853 void __kmpc_for_static_init_8u(ident_t *loc, kmp_int32 gtid, in __kmpc_for_static_init_8u() 892 void __kmpc_dist_for_static_init_4(ident_t *loc, kmp_int32 gtid, in __kmpc_dist_for_static_init_4() 904 void __kmpc_dist_for_static_init_4u(ident_t *loc, kmp_int32 gtid, in __kmpc_dist_for_static_init_4u() 916 void __kmpc_dist_for_static_init_8(ident_t *loc, kmp_int32 gtid, in __kmpc_dist_for_static_init_8() [all …]
|
D | kmp_runtime.cpp | 218 int gtid; in __kmp_get_global_thread_id_reg() local 264 int gtid; in __kmp_check_stack_overlap() local 336 void __kmp_print_storage_map_gtid(int gtid, void *p1, void *p2, size_t size, in __kmp_print_storage_map_gtid() 461 static void __kmp_print_thread_storage_map(kmp_info_t *thr, int gtid) { in __kmp_print_thread_storage_map() 575 int gtid = th->th.th_info.ds.ds_gtid; in __kmp_reset_locks_on_process_detach() local 666 int gtid = *gtid_ref; in __kmp_parallel_deo() local 691 int gtid = *gtid_ref; in __kmp_parallel_dxo() local 717 int __kmp_enter_single(int gtid, ident_t *id_ref, int push_ws) { in __kmp_enter_single() 770 void __kmp_exit_single(int gtid) { in __kmp_exit_single() 1398 int __kmp_fork_call(ident_t *loc, int gtid, in __kmp_fork_call() [all …]
|
D | kmp_barrier.cpp | 47 enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, in __kmp_linear_barrier_gather_template() 154 enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, in __kmp_linear_barrier_release_template() 263 enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, in __kmp_linear_barrier_gather() 270 enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, in __kmp_linear_barrier_gather_cancellable() 277 enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, in __kmp_linear_barrier_release() 284 enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, in __kmp_linear_barrier_release_cancellable() 292 __kmp_tree_barrier_gather(enum barrier_type bt, kmp_info_t *this_thr, int gtid, in __kmp_tree_barrier_gather() 404 enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, in __kmp_tree_barrier_release() 512 __kmp_hyper_barrier_gather(enum barrier_type bt, kmp_info_t *this_thr, int gtid, in __kmp_hyper_barrier_gather() 637 enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, in __kmp_hyper_barrier_release() [all …]
|
D | kmp_threadprivate.cpp | 34 __kmp_threadprivate_find_task_common(struct common_table *tbl, int gtid, in __kmp_threadprivate_find_task_common() 65 __kmp_find_shared_task_common(struct shared_table *tbl, int gtid, in __kmp_find_shared_task_common() 134 int gtid; in __kmp_common_initialize() local 168 int gtid; in __kmp_common_destroy() local 224 void __kmp_common_destroy_gtid(int gtid) { in __kmp_common_destroy_gtid() 298 void kmp_threadprivate_insert_private_data(int gtid, void *pc_addr, in kmp_threadprivate_insert_private_data() 334 struct private_common *kmp_threadprivate_insert(int gtid, void *pc_addr, in kmp_threadprivate_insert()
|
D | kmp_taskdeps.h | 20 #define KMP_ACQUIRE_DEPNODE(gtid, n) __kmp_acquire_lock(&(n)->dn.lock, (gtid)) argument 21 #define KMP_RELEASE_DEPNODE(gtid, n) __kmp_release_lock(&(n)->dn.lock, (gtid)) argument 88 static inline void __kmp_release_deps(kmp_int32 gtid, kmp_taskdata_t *task) { in __kmp_release_deps()
|
D | kmp_cancel.cpp | 29 kmp_int32 __kmpc_cancel(ident_t *loc_ref, kmp_int32 gtid, kmp_int32 cncl_kind) { in __kmpc_cancel() 135 kmp_int32 __kmpc_cancellationpoint(ident_t *loc_ref, kmp_int32 gtid, in __kmpc_cancellationpoint() 243 kmp_int32 __kmpc_cancel_barrier(ident_t *loc, kmp_int32 gtid) { in __kmpc_cancel_barrier()
|
D | kmp_taskdeps.cpp | 208 static inline void __kmp_track_dependence(kmp_int32 gtid, kmp_depnode_t *source, in __kmp_track_dependence() 240 __kmp_depnode_link_successor(kmp_int32 gtid, kmp_info_t *thread, in __kmp_depnode_link_successor() 266 static inline kmp_int32 __kmp_depnode_link_successor(kmp_int32 gtid, in __kmp_depnode_link_successor() 293 __kmp_process_deps(kmp_int32 gtid, kmp_depnode_t *node, kmp_dephash_t **hash, in __kmp_process_deps() 412 static bool __kmp_check_deps(kmp_int32 gtid, kmp_depnode_t *node, in __kmp_check_deps() 508 kmp_int32 __kmpc_omp_task_with_deps(ident_t *loc_ref, kmp_int32 gtid, in __kmpc_omp_task_with_deps() 668 void __kmpc_omp_wait_deps(ident_t *loc_ref, kmp_int32 gtid, kmp_int32 ndeps, in __kmpc_omp_wait_deps()
|
D | kmp_lock.h | 555 static inline int __kmp_acquire_lock(kmp_lock_t *lck, kmp_int32 gtid) { in __kmp_acquire_lock() 559 static inline int __kmp_test_lock(kmp_lock_t *lck, kmp_int32 gtid) { in __kmp_test_lock() 563 static inline void __kmp_release_lock(kmp_lock_t *lck, kmp_int32 gtid) { in __kmp_release_lock() 638 #define __kmp_acquire_user_lock_with_checks(lck, gtid) \ argument 669 kmp_int32 gtid) { in __kmp_acquire_user_lock_with_checks() 684 kmp_int32 gtid) { in __kmp_test_user_lock_with_checks() 702 kmp_int32 gtid) { in __kmp_test_user_lock_with_checks() 712 kmp_int32 gtid) { in __kmp_release_user_lock_with_checks() 745 #define __kmp_acquire_nested_user_lock_with_checks(lck, gtid, depth) \ argument 780 __kmp_acquire_nested_user_lock_with_checks(kmp_user_lock_p lck, kmp_int32 gtid, in __kmp_acquire_nested_user_lock_with_checks() [all …]
|
/external/llvm-project/openmp/runtime/test/tasking/ |
D | kmp_task_reduction_nest.cpp | 200 int gtid = __kmpc_global_thread_num(NULL); in main() local 208 int gtid = __kmpc_global_thread_num(NULL); in main() local 245 int gtid = __kmpc_global_thread_num(NULL); in main() local 252 int gtid = __kmpc_global_thread_num(NULL); in main() local 312 int gtid = __kmpc_global_thread_num(NULL); in main() local 333 int gtid = __kmpc_global_thread_num(NULL); in main() local 352 int gtid = __kmpc_global_thread_num(NULL); in main() local
|
D | kmp_task_modifier_simple_par_old.cpp | 54 int gtid = __kmpc_global_thread_num(NULL); in main() local 72 int gtid = __kmpc_global_thread_num(NULL); in main() local 79 int gtid = __kmpc_global_thread_num(NULL); in main() local
|
D | kmp_task_modifier_simple_ws_old.cpp | 60 int gtid = __kmpc_global_thread_num(NULL); in main() local 82 int gtid = __kmpc_global_thread_num(NULL); in main() local 89 int gtid = __kmpc_global_thread_num(NULL); in main() local
|
D | kmp_task_modifier_simple_par_new.cpp | 58 int gtid = __kmpc_global_thread_num(NULL); in main() local 78 int gtid = __kmpc_global_thread_num(NULL); in main() local 85 int gtid = __kmpc_global_thread_num(NULL); in main() local
|
D | kmp_task_modifier_simple_ws_new.cpp | 64 int gtid = __kmpc_global_thread_num(NULL); in main() local 88 int gtid = __kmpc_global_thread_num(NULL); in main() local 95 int gtid = __kmpc_global_thread_num(NULL); in main() local
|
D | kmp_detach_tasks_t1.c | 71 int task_entry(int gtid, ptask task) { in task_entry() 77 int i, j, gtid = __kmpc_global_thread_num(NULL); in main() local 87 int gtid = __kmpc_global_thread_num(NULL); in main() local
|
D | kmp_taskloop.c | 75 int task_entry(int gtid, ptask task) in task_entry() 93 int i, j, gtid = __kmpc_global_thread_num(NULL); in main() local 104 int gtid = __kmpc_global_thread_num(NULL); in main() local
|
D | kmp_detach_tasks_t2.c | 72 int task_entry(int gtid, ptask task) { in task_entry() 79 int i, j, gtid = __kmpc_global_thread_num(NULL); in main() local 89 int gtid = __kmpc_global_thread_num(NULL); in main() local
|
D | kmp_detach_tasks_t3.c | 82 int task_entry(int gtid, ptask task) { in task_entry() 88 int i, j, gtid = __kmpc_global_thread_num(NULL); in main() local 102 int gtid = __kmpc_global_thread_num(NULL); in main() local
|