Home
last modified time | relevance | path

Searched refs:global_tid (Results 1 – 22 of 22) sorted by relevance

/external/llvm-project/openmp/libomptarget/deviceRTLs/
Dinterface.h204 typedef int32_t (*kmp_TaskFctPtr)(int32_t global_tid, kmp_TaskDescr *taskDescr);
221 EXTERN void __kmpc_push_num_threads(kmp_Ident *loc, int32_t global_tid,
223 EXTERN void __kmpc_serialized_parallel(kmp_Ident *loc, uint32_t global_tid);
225 uint32_t global_tid);
226 EXTERN uint16_t __kmpc_parallel_level(kmp_Ident *loc, uint32_t global_tid);
229 EXTERN void __kmpc_push_proc_bind(kmp_Ident *loc, uint32_t global_tid,
239 EXTERN void __kmpc_for_static_init_4(kmp_Ident *loc, int32_t global_tid,
244 EXTERN void __kmpc_for_static_init_4u(kmp_Ident *loc, int32_t global_tid,
249 EXTERN void __kmpc_for_static_init_8(kmp_Ident *loc, int32_t global_tid,
254 EXTERN void __kmpc_for_static_init_8u(kmp_Ident *loc, int32_t global_tid,
[all …]
/external/llvm-project/openmp/runtime/src/
Dkmp_csupport.cpp230 void __kmpc_push_num_threads(ident_t *loc, kmp_int32 global_tid, in __kmpc_push_num_threads() argument
233 global_tid, num_threads)); in __kmpc_push_num_threads()
234 __kmp_assert_valid_gtid(global_tid); in __kmpc_push_num_threads()
235 __kmp_push_num_threads(loc, global_tid, num_threads); in __kmpc_push_num_threads()
238 void __kmpc_pop_num_threads(ident_t *loc, kmp_int32 global_tid) { in __kmpc_pop_num_threads() argument
243 void __kmpc_push_proc_bind(ident_t *loc, kmp_int32 global_tid, in __kmpc_push_proc_bind() argument
245 KA_TRACE(20, ("__kmpc_push_proc_bind: enter T#%d proc_bind=%d\n", global_tid, in __kmpc_push_proc_bind()
247 __kmp_assert_valid_gtid(global_tid); in __kmpc_push_proc_bind()
248 __kmp_push_proc_bind(loc, global_tid, (kmp_proc_bind_t)proc_bind); in __kmpc_push_proc_bind()
345 void __kmpc_push_num_teams(ident_t *loc, kmp_int32 global_tid, in __kmpc_push_num_teams() argument
[all …]
Dkmp_threadprivate.cpp539 void *__kmpc_threadprivate(ident_t *loc, kmp_int32 global_tid, void *data, in __kmpc_threadprivate() argument
544 KC_TRACE(10, ("__kmpc_threadprivate: T#%d called\n", global_tid)); in __kmpc_threadprivate()
551 if (!__kmp_threads[global_tid]->th.th_root->r.r_active && !__kmp_foreign_tp) { in __kmpc_threadprivate()
557 global_tid)); in __kmpc_threadprivate()
558 kmp_threadprivate_insert_private_data(global_tid, data, data, size); in __kmpc_threadprivate()
565 global_tid, data)); in __kmpc_threadprivate()
567 __kmp_threads[global_tid]->th.th_pri_common, global_tid, data); in __kmpc_threadprivate()
570 KC_TRACE(20, ("__kmpc_threadprivate: T#%d found data\n", global_tid)); in __kmpc_threadprivate()
583 KC_TRACE(20, ("__kmpc_threadprivate: T#%d inserting data\n", global_tid)); in __kmpc_threadprivate()
584 tn = kmp_threadprivate_insert(global_tid, data, data, size); in __kmpc_threadprivate()
[all …]
Dkmp.h1488 typedef void (*kmpc_micro)(kmp_int32 *global_tid, kmp_int32 *bound_tid, ...);
3667 KMP_EXPORT void *__kmpc_threadprivate(ident_t *, kmp_int32 global_tid,
3679 KMP_EXPORT void __kmpc_serialized_parallel(ident_t *, kmp_int32 global_tid);
3680 KMP_EXPORT void __kmpc_end_serialized_parallel(ident_t *, kmp_int32 global_tid);
3683 KMP_EXPORT void __kmpc_barrier(ident_t *, kmp_int32 global_tid);
3684 KMP_EXPORT kmp_int32 __kmpc_master(ident_t *, kmp_int32 global_tid);
3685 KMP_EXPORT void __kmpc_end_master(ident_t *, kmp_int32 global_tid);
3686 KMP_EXPORT void __kmpc_ordered(ident_t *, kmp_int32 global_tid);
3687 KMP_EXPORT void __kmpc_end_ordered(ident_t *, kmp_int32 global_tid);
3688 KMP_EXPORT void __kmpc_critical(ident_t *, kmp_int32 global_tid,
[all …]
Dkmp_sched.cpp71 static void __kmp_for_static_init(ident_t *loc, kmp_int32 global_tid, in __kmp_for_static_init() argument
89 kmp_int32 gtid = global_tid; in __kmp_for_static_init()
128 KE_TRACE(10, ("__kmpc_for_static_init called (%d)\n", global_tid)); in __kmp_for_static_init()
138 KD_TRACE(100, (buff, global_tid, schedtype, *plastiter, *plower, *pupper, in __kmp_for_static_init()
145 __kmp_push_workshare(global_tid, ct_pdo, loc); in __kmp_for_static_init()
175 KE_TRACE(10, ("__kmpc_for_static_init: T#%d return\n", global_tid)); in __kmp_for_static_init()
199 tid = __kmp_tid_from_gtid(global_tid); in __kmp_for_static_init()
224 KE_TRACE(10, ("__kmpc_for_static_init: T#%d return\n", global_tid)); in __kmp_for_static_init()
254 KE_TRACE(10, ("__kmpc_for_static_init: T#%d return\n", global_tid)); in __kmp_for_static_init()
413 KE_TRACE(10, ("__kmpc_for_static_init: T#%d return\n", global_tid)); in __kmp_for_static_init()
Dkmp_runtime.cpp1141 void __kmp_serialized_parallel(ident_t *loc, kmp_int32 global_tid) { in __kmp_serialized_parallel() argument
1145 KC_TRACE(10, ("__kmpc_serialized_parallel: called by T#%d\n", global_tid)); in __kmp_serialized_parallel()
1156 this_thr = __kmp_threads[global_tid]; in __kmp_serialized_parallel()
1171 global_tid, this_thr->th.th_task_team, this_thr->th.th_team)); in __kmp_serialized_parallel()
1189 void *codeptr = OMPT_LOAD_RETURN_ADDRESS(global_tid); in __kmp_serialized_parallel()
1238 global_tid, serial_team)); in __kmp_serialized_parallel()
1247 global_tid, serial_team)); in __kmp_serialized_parallel()
1262 KF_TRACE(10, ("__kmpc_serialized_parallel: T#d curtask=%p\n", global_tid, in __kmp_serialized_parallel()
1335 global_tid, serial_team, serial_team->t.t_level)); in __kmp_serialized_parallel()
1358 __kmp_aux_display_affinity(global_tid, NULL); in __kmp_serialized_parallel()
[all …]
/external/llvm-project/openmp/libomptarget/deviceRTLs/common/src/
Dtask.cu34 uint32_t global_tid, // unused in __kmpc_omp_task_alloc() argument
72 EXTERN int32_t __kmpc_omp_task(kmp_Ident *loc, uint32_t global_tid, in __kmpc_omp_task() argument
74 return __kmpc_omp_task_with_deps(loc, global_tid, newKmpTaskDescr, 0, 0, 0, in __kmpc_omp_task()
78 EXTERN int32_t __kmpc_omp_task_with_deps(kmp_Ident *loc, uint32_t global_tid, in __kmpc_omp_task_with_deps() argument
120 EXTERN void __kmpc_omp_task_begin_if0(kmp_Ident *loc, uint32_t global_tid, in __kmpc_omp_task_begin_if0() argument
146 EXTERN void __kmpc_omp_task_complete_if0(kmp_Ident *loc, uint32_t global_tid, in __kmpc_omp_task_complete_if0() argument
172 EXTERN void __kmpc_omp_wait_deps(kmp_Ident *loc, uint32_t global_tid, in __kmpc_omp_wait_deps() argument
179 EXTERN void __kmpc_taskgroup(kmp_Ident *loc, uint32_t global_tid) { in __kmpc_taskgroup() argument
184 EXTERN void __kmpc_end_taskgroup(kmp_Ident *loc, uint32_t global_tid) { in __kmpc_end_taskgroup() argument
189 EXTERN int32_t __kmpc_omp_taskyield(kmp_Ident *loc, uint32_t global_tid, in __kmpc_omp_taskyield() argument
[all …]
Dsync.cu85 EXTERN int32_t __kmpc_master(kmp_Ident *loc, int32_t global_tid) { in __kmpc_master() argument
87 return IsTeamMaster(global_tid); in __kmpc_master()
90 EXTERN void __kmpc_end_master(kmp_Ident *loc, int32_t global_tid) { in __kmpc_end_master() argument
92 ASSERT0(LT_FUSSY, IsTeamMaster(global_tid), "expected only master here"); in __kmpc_end_master()
99 EXTERN int32_t __kmpc_single(kmp_Ident *loc, int32_t global_tid) { in __kmpc_single() argument
102 return IsTeamMaster(global_tid); in __kmpc_single()
105 EXTERN void __kmpc_end_single(kmp_Ident *loc, int32_t global_tid) { in __kmpc_end_single() argument
108 ASSERT0(LT_FUSSY, IsTeamMaster(global_tid), "expected only master here"); in __kmpc_end_single()
Dloop.cu618 EXTERN void __kmpc_for_static_init_4(kmp_Ident *loc, int32_t global_tid, in __kmpc_for_static_init_4() argument
625 global_tid, schedtype, plastiter, plower, pupper, pstride, chunk, in __kmpc_for_static_init_4()
629 EXTERN void __kmpc_for_static_init_4u(kmp_Ident *loc, int32_t global_tid, in __kmpc_for_static_init_4u() argument
636 global_tid, schedtype, plastiter, plower, pupper, pstride, chunk, in __kmpc_for_static_init_4u()
640 EXTERN void __kmpc_for_static_init_8(kmp_Ident *loc, int32_t global_tid, in __kmpc_for_static_init_8() argument
647 global_tid, schedtype, plastiter, plower, pupper, pstride, chunk, in __kmpc_for_static_init_8()
651 EXTERN void __kmpc_for_static_init_8u(kmp_Ident *loc, int32_t global_tid, in __kmpc_for_static_init_8u() argument
658 global_tid, schedtype, plastiter, plower, pupper, pstride, chunk, in __kmpc_for_static_init_8u()
663 void __kmpc_for_static_init_4_simple_spmd(kmp_Ident *loc, int32_t global_tid, in __kmpc_for_static_init_4_simple_spmd() argument
670 global_tid, schedtype, plastiter, plower, pupper, pstride, chunk, in __kmpc_for_static_init_4_simple_spmd()
[all …]
Dreduction.cu18 void __kmpc_nvptx_end_reduce(int32_t global_tid) {} in __kmpc_nvptx_end_reduce() argument
21 void __kmpc_nvptx_end_reduce_nowait(int32_t global_tid) {} in __kmpc_nvptx_end_reduce_nowait() argument
80 int32_t global_tid, int32_t num_vars, size_t reduce_size, void *reduce_data, in nvptx_parallel_reduce_nowait() argument
162 return global_tid == 0; in nvptx_parallel_reduce_nowait()
168 kmp_Ident *loc, int32_t global_tid, int32_t num_vars, size_t reduce_size, in __kmpc_nvptx_parallel_reduce_nowait_v2() argument
172 global_tid, num_vars, reduce_size, reduce_data, shflFct, cpyFct, in __kmpc_nvptx_parallel_reduce_nowait_v2()
189 kmp_Ident *loc, int32_t global_tid, void *global_buffer, in __kmpc_nvptx_teams_reduce_nowait_v2() argument
238 __kmpc_barrier(loc, global_tid); in __kmpc_nvptx_teams_reduce_nowait_v2()
Dcancel.cu16 EXTERN int32_t __kmpc_cancellationpoint(kmp_Ident *loc, int32_t global_tid, in __kmpc_cancellationpoint() argument
23 EXTERN int32_t __kmpc_cancel(kmp_Ident *loc, int32_t global_tid, in __kmpc_cancel() argument
Dcritical.cu17 void __kmpc_critical(kmp_Ident *loc, int32_t global_tid, in __kmpc_critical() argument
24 void __kmpc_end_critical(kmp_Ident *loc, int32_t global_tid, in __kmpc_end_critical() argument
Dparallel.cu199 EXTERN void __kmpc_serialized_parallel(kmp_Ident *loc, uint32_t global_tid) { in __kmpc_serialized_parallel() argument
238 uint32_t global_tid) { in __kmpc_end_serialized_parallel() argument
261 EXTERN uint16_t __kmpc_parallel_level(kmp_Ident *loc, uint32_t global_tid) { in __kmpc_parallel_level() argument
/external/llvm-project/llvm/test/Transforms/OpenMP/
Dparallel_deletion_cg_update.ll57 define internal void @.omp_outlined..0(i32* noalias %.global_tid., i32* noalias %.bound_tid.) {
59 %.global_tid..addr = alloca i32*, align 8
61 store i32* %.global_tid., i32** %.global_tid..addr, align 8
74 define internal void @.omp_outlined..1(i32* noalias %.global_tid., i32* noalias %.bound_tid.) {
76 %.global_tid..addr = alloca i32*, align 8
78 store i32* %.global_tid., i32** %.global_tid..addr, align 8
Dparallel_deletion.ll41 define internal void @.omp_outlined.willreturn(i32* noalias %.global_tid., i32* noalias %.bound_tid…
53 define internal void @.omp_outlined.willreturn.0(i32* noalias %.global_tid., i32* noalias %.bound_t…
65 define internal void @.omp_outlined.willreturn.1(i32* noalias %.global_tid., i32* noalias %.bound_t…
77 define internal void @.omp_outlined.willreturn.2(i32* noalias %.global_tid., i32* noalias %.bound_t…
115 define internal void @.omp_outlined.(i32* noalias %.global_tid., i32* noalias %.bound_tid.) {
127 define internal void @.omp_outlined..0(i32* noalias %.global_tid., i32* noalias %.bound_tid.) {
139 define internal void @.omp_outlined..1(i32* noalias %.global_tid., i32* noalias %.bound_tid.) {
151 define internal void @.omp_outlined..2(i32* noalias %.global_tid., i32* noalias %.bound_tid.) {
215 define internal void @.omp_outlined..3(i32* noalias %.global_tid., i32* noalias %.bound_tid., i32* …
245 define internal void @.omp_outlined..4(i32* noalias %.global_tid., i32* noalias %.bound_tid., i32* …
[all …]
Dparallel_deletion_remarks.ll109 !34 = !DILocalVariable(name: ".global_tid.", arg: 1, scope: !25, type: !28, flags: DIFlagArtificial)
114 !39 = !DILocalVariable(name: ".global_tid.", arg: 1, scope: !37, type: !28, flags: DIFlagArtificial)
119 !44 = !DILocalVariable(name: ".global_tid.", arg: 1, scope: !42, type: !28, flags: DIFlagArtificial)
124 !49 = !DILocalVariable(name: ".global_tid.", arg: 1, scope: !47, type: !28, flags: DIFlagArtificial)
Dicv_remarks.ll43 define internal void @.omp_outlined.(i32* noalias nocapture readnone %.global_tid., i32* noalias no…
45 …call void @llvm.dbg.value(metadata i32* %.global_tid., metadata !41, metadata !DIExpression()), !d…
114 !41 = !DILocalVariable(name: ".global_tid.", arg: 1, scope: !33, type: !36, flags: DIFlagArtificial)
117 !44 = !DILocalVariable(name: ".global_tid.", arg: 1, scope: !45, type: !36, flags: DIFlagArtificial)
Drtf_type_checking.ll24 define internal void @.omp_outlined.(i32* noalias %.global_tid., i32* noalias %.bound_tid.) {
/external/llvm-project/openmp/runtime/test/misc_bugs/
Dteams-reduction.c42 void __kmpc_push_num_teams(ident_t *, int32_t global_tid, int32_t num_teams,
45 int32_t __kmpc_reduce(ident_t *, int32_t global_tid, int32_t num_vars,
48 void __kmpc_end_reduce(ident_t *, int32_t global_tid, kmp_critical_name *lck);
/external/llvm-project/polly/test/Isl/CodeGen/OpenMP/
Dsingle_loop.ll103 …efine internal void @single_parallel_loop_polly_subfn(i32* %polly.kmpc.global_tid, i32* %polly.kmp…
110 ; LIBOMP-IR-STATIC-CHUNKED-NEXT: %polly.par.global_tid = load i32, i32* %polly.kmpc.global_tid
117 …init_{{[4|8]}}(%struct.ident_t* @.loc.dummy{{[.0-9]*}}, i32 %polly.par.global_tid, i32 33, i32* %p…
128 …-NEXT: call void @__kmpc_for_static_fini(%struct.ident_t* @.loc.dummy, i32 %polly.par.global_tid)
165 …efine internal void @single_parallel_loop_polly_subfn(i32* %polly.kmpc.global_tid, i32* %polly.kmp…
167 …init_{{[4|8]}}(%struct.ident_t* @.loc.dummy{{[.0-9]*}}, i32 %polly.par.global_tid, i32 34, i32* %p…
171 …-NEXT: call void @__kmpc_for_static_fini(%struct.ident_t* @.loc.dummy, i32 %polly.par.global_tid)
197 …c_dispatch_init_{{[4|8]}}(%struct.ident_t* @.loc.dummy, i32 %polly.par.global_tid, i32 35, i64 %po…
198 …c_dispatch_next_{{[4|8]}}(%struct.ident_t* @.loc.dummy, i32 %polly.par.global_tid, i32* %polly.par…
206 …c_dispatch_next_{{[4|8]}}(%struct.ident_t* @.loc.dummy, i32 %polly.par.global_tid, i32* %polly.par…
[all …]
/external/llvm-project/llvm/test/Transforms/SCCP/
Dopenmp_parallel_for.ll48 define internal void @.omp_outlined.(i32* noalias %.global_tid., i32* noalias %.bound_tid., i32* de…
127 %tmp5 = load i32, i32* %.global_tid., align 4
173 %tmp12 = load i32, i32* %.global_tid., align 4
/external/llvm-project/llvm/test/Transforms/Attributor/IPConstantProp/
Dopenmp_parallel_for.ll85 define internal void @.omp_outlined.(i32* noalias %.global_tid., i32* noalias %.bound_tid., i32* de…
226 %tmp5 = load i32, i32* %.global_tid., align 4
272 %tmp12 = load i32, i32* %.global_tid., align 4