Searched refs:WorkFn (Results 1 – 4 of 4) sorted by relevance
75 EXTERN void __kmpc_kernel_prepare_parallel(void *WorkFn) { in __kmpc_kernel_prepare_parallel() argument78 omptarget_nvptx_workFn = WorkFn; in __kmpc_kernel_prepare_parallel()121 EXTERN bool __kmpc_kernel_parallel(void **WorkFn) { in __kmpc_kernel_parallel() argument125 *WorkFn = omptarget_nvptx_workFn; in __kmpc_kernel_parallel()128 if (!*WorkFn) { in __kmpc_kernel_parallel()
140 declare void @__kmpc_kernel_prepare_parallel(i8* %WorkFn)142 declare zeroext i1 @__kmpc_kernel_parallel(i8** nocapture %WorkFn)
427 EXTERN void __kmpc_kernel_prepare_parallel(void *WorkFn);428 EXTERN bool __kmpc_kernel_parallel(void **WorkFn);
1354 Address WorkFn = in emitWorkerLoop() local1359 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()