Home
last modified time | relevance | path

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

/external/llvm-project/openmp/libomptarget/deviceRTLs/common/src/
Dparallel.cu75 EXTERN void __kmpc_kernel_prepare_parallel(void *WorkFn) { in __kmpc_kernel_prepare_parallel() argument
78 omptarget_nvptx_workFn = WorkFn; in __kmpc_kernel_prepare_parallel()
121 EXTERN bool __kmpc_kernel_parallel(void **WorkFn) { in __kmpc_kernel_parallel() argument
125 *WorkFn = omptarget_nvptx_workFn; in __kmpc_kernel_parallel()
128 if (!*WorkFn) { in __kmpc_kernel_parallel()
/external/llvm-project/llvm/test/Transforms/OpenMP/
Dgpu_state_machine_function_ptr_replacement.ll140 declare void @__kmpc_kernel_prepare_parallel(i8* %WorkFn)
142 declare zeroext i1 @__kmpc_kernel_parallel(i8** nocapture %WorkFn)
/external/llvm-project/openmp/libomptarget/deviceRTLs/
Dinterface.h427 EXTERN void __kmpc_kernel_prepare_parallel(void *WorkFn);
428 EXTERN bool __kmpc_kernel_parallel(void **WorkFn);
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntimeGPU.cpp1354 Address WorkFn = in emitWorkerLoop() local
1359 CGF.InitTempAlloca(WorkFn, llvm::Constant::getNullValue(CGF.Int8PtrTy)); in emitWorkerLoop()
1362 llvm::Value *Args[] = {WorkFn.getPointer()}; in emitWorkerLoop()
1370 llvm::Value *WorkID = Bld.CreateLoad(WorkFn); in emitWorkerLoop()
1391 Bld.CreateICmpEQ(Bld.CreateLoad(WorkFn), ID, "work_match"); in emitWorkerLoop()