| /llvm-project-15.0.7/flang/test/Semantics/ |
| H A D | synchronization02.f90 | 38 sync images(sync_status, stat=sync_status) 46 sync images(invalid_rank) 52 sync images(1, status=sync_status) 55 sync images([1], stat=invalid_type) 59 sync images(*, stat=non_scalar) 63 sync images(1, stat) 67 sync images([1], sync_status) 73 sync images(*, errormsg=error_message) 76 sync images(1, errmsg=invalid_type) 80 sync images([1], error_message) [all …]
|
| H A D | synchronization01.f90 | 15 sync all 16 sync all(stat=sync_status) 25 sync all(status=sync_status) 29 sync all(stat=invalid_type) 33 sync all(stat=non_scalar) 37 sync all(stat) 41 sync all(sync_status) 47 sync all(errormsg=error_message) 50 sync all(errmsg=invalid_type) 54 sync all(error_message) [all …]
|
| H A D | synchronization04.f90 | 18 sync team(warriors) 19 sync team(warriors, stat=sync_status) 28 sync team(not_a_team) 36 sync team(warriors, status=sync_status) 40 sync team(warriors, stat=invalid_type) 44 sync team(warriors, stat=non_scalar) 48 sync team(warriors, stat) 52 sync team(warriors, sync_status) 61 sync team(warriors, errmsg=invalid_type) 65 sync team(warriors, error_message) [all …]
|
| H A D | synchronization03.f90 | 15 sync memory 16 sync memory(stat=sync_status) 25 sync memory(status=sync_status) 29 sync memory(stat=invalid_type) 33 sync memory(stat=non_scalar) 37 sync memory(stat) 41 sync memory(sync_status) 47 sync memory(errormsg=error_message) 50 sync memory(errmsg=invalid_type) 54 sync memory(error_message) [all …]
|
| H A D | call10.f90 | 182 sync all ! C1599 193 sync images( nimgs ) ! explicit sync 1 with last img 196 sync images( nimgs ) ! explicit sync 2 with last img 202 sync images( 1 ) ! explicit sync 1 with img 1 205 sync images( 1 ) ! explicit sync 2 with img 1
|
| /llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/ |
| H A D | barrier.ll | 4 declare void @llvm.nvvm.bar.warp.sync(i32) 5 declare void @llvm.nvvm.barrier.sync(i32) 13 ; CHECK: barrier.sync [[ID]], [[CNT]]; 15 ; CHECK: barrier.sync [[ID]], 32; 17 ; CHECK: barrier.sync 3, [[CNT]]; 19 ; CHECK: barrier.sync 4, 64; 22 ; CHECK: barrier.sync [[ID]]; 24 ; CHECK: barrier.sync 1; 25 call void @llvm.nvvm.barrier.sync(i32 1) 27 ; CHECK: bar.warp.sync [[ID]]; [all …]
|
| H A D | redux-sync.ll | 4 declare i32 @llvm.nvvm.redux.sync.umin(i32, i32) 7 ; CHECK: redux.sync.min.u32 12 declare i32 @llvm.nvvm.redux.sync.umax(i32, i32) 15 ; CHECK: redux.sync.max.u32 20 declare i32 @llvm.nvvm.redux.sync.add(i32, i32) 23 ; CHECK: redux.sync.add.s32 31 ; CHECK: redux.sync.min.s32 39 ; CHECK: redux.sync.max.s32 47 ; CHECK: redux.sync.and.b32 55 ; CHECK: redux.sync.xor.b32 [all …]
|
| H A D | match.ll | 4 declare i32 @llvm.nvvm.match.any.sync.i32(i32, i32) 5 declare i32 @llvm.nvvm.match.any.sync.i64(i32, i64) 14 ; CHECK: match.any.sync.b32 [[V1:%r[0-9]+]], [[VALUE]], 1; 16 ; CHECK: match.any.sync.b32 [[V2:%r[0-9]+]], 2, [[MASK]]; 18 ; CHECK: match.any.sync.b32 [[V3:%r[0-9]+]], 4, 3; 19 %v3 = call i32 @llvm.nvvm.match.any.sync.i32(i32 3, i32 4) 35 ; CHECK: match.any.sync.b64 [[V2:%r[0-9]+]], 2, [[MASK]]; 37 ; CHECK: match.any.sync.b64 [[V3:%r[0-9]+]], 4, 3; 38 %v3 = call i32 @llvm.nvvm.match.any.sync.i64(i32 3, i64 4) 45 declare {i32, i1} @llvm.nvvm.match.all.sync.i32p(i32, i32) [all …]
|
| H A D | shfl-sync-p.ll | 4 declare {i32, i1} @llvm.nvvm.shfl.sync.down.i32p(i32, i32, i32, i32) 5 declare {float, i1} @llvm.nvvm.shfl.sync.down.f32p(i32, float, i32, i32) 6 declare {i32, i1} @llvm.nvvm.shfl.sync.up.i32p(i32, i32, i32, i32) 7 declare {float, i1} @llvm.nvvm.shfl.sync.up.f32p(i32, float, i32, i32) 8 declare {i32, i1} @llvm.nvvm.shfl.sync.bfly.i32p(i32, i32, i32, i32) 9 declare {float, i1} @llvm.nvvm.shfl.sync.bfly.f32p(i32, float, i32, i32) 10 declare {i32, i1} @llvm.nvvm.shfl.sync.idx.i32p(i32, i32, i32, i32) 11 declare {float, i1} @llvm.nvvm.shfl.sync.idx.f32p(i32, float, i32, i32) 32 %val = call {i32, i1} @llvm.nvvm.shfl.sync.down.i32p(i32 1, i32 %a, i32 %b, i32 %c) 91 ; CHECK: shfl.sync.down.b32 [[OUT:%r[0-9]+]]|[[OUTP:%p[0-9]+]], [[A]], 2, 3, 1; [all …]
|
| H A D | shfl-sync.ll | 4 declare i32 @llvm.nvvm.shfl.sync.down.i32(i32, i32, i32, i32) 5 declare float @llvm.nvvm.shfl.sync.down.f32(float, i32, i32, i32) 6 declare i32 @llvm.nvvm.shfl.sync.up.i32(i32, i32, i32, i32) 7 declare float @llvm.nvvm.shfl.sync.up.f32(float, i32, i32, i32) 8 declare i32 @llvm.nvvm.shfl.sync.bfly.i32(i32, i32, i32, i32) 9 declare float @llvm.nvvm.shfl.sync.bfly.f32(float, i32, i32, i32) 10 declare i32 @llvm.nvvm.shfl.sync.idx.i32(i32, i32, i32, i32) 11 declare float @llvm.nvvm.shfl.sync.idx.f32(float, i32, i32, i32) 51 ; CHECK: shfl.sync.down.b32 [[OUT:%r[0-9]+]], [[A]], [[B]], 2, 1; 72 ; CHECK: shfl.sync.down.b32 [[OUT:%r[0-9]+]], [[A]], 2, [[C]], 1; [all …]
|
| H A D | vote.ll | 36 declare i1 @llvm.nvvm.vote.all.sync(i32, i1) 39 ; CHECK: vote.sync.all.pred 40 %val = call i1 @llvm.nvvm.vote.all.sync(i32 %mask, i1 %pred) 44 declare i1 @llvm.nvvm.vote.any.sync(i32, i1) 47 ; CHECK: vote.sync.any.pred 48 %val = call i1 @llvm.nvvm.vote.any.sync(i32 %mask, i1 %pred) 52 declare i1 @llvm.nvvm.vote.uni.sync(i32, i1) 55 ; CHECK: vote.sync.uni.pred 56 %val = call i1 @llvm.nvvm.vote.uni.sync(i32 %mask, i1 %pred) 60 declare i32 @llvm.nvvm.vote.ballot.sync(i32, i1) [all …]
|
| H A D | named-barriers.ll | 6 ; Use bar.sync to arrive at a pre-computed barrier number and 10 ; CHECK: bar.sync %r[[REG0]]; 12 ; CHECK: bar.sync %r[[REG1]]; 14 ; CHECK: bar.sync %r[[REG2]]; 22 ; Use bar.sync to arrive at a pre-computed barrier number and 27 ; CHECK: bar.sync %r[[REG0B]], %r[[REG0A]]; 30 ; CHECK: bar.sync %r[[REG1B]], %r[[REG1A]]; 33 ; CHECK: bar.sync %r[[REG2B]], %r[[REG2A]];
|
| /llvm-project-15.0.7/compiler-rt/test/profile/Inputs/ |
| H A D | instrprof-gcov-parallel.driver.c | 11 _Atomic int *sync = mmap(NULL, sizeof(int), PROT_READ | PROT_WRITE, in main() local 13 if (sync == MAP_FAILED) in main() 15 *sync = 0; in main() 21 while (*sync == 0) in main() 25 *sync = 1; // release all children in main() 31 *sync = 1; // start the program in all children simultaneously in main()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Mips/ |
| H A D | atomic-min-max-64.ll | 10 ; MIPS-NEXT: sync 21 ; MIPS-NEXT: sync 27 ; MIPSR6-NEXT: sync 38 ; MIPSR6-NEXT: sync 48 ; MIPS-NEXT: sync 59 ; MIPS-NEXT: sync 65 ; MIPSR6-NEXT: sync 86 ; MIPS-NEXT: sync 97 ; MIPS-NEXT: sync 124 ; MIPS-NEXT: sync [all …]
|
| H A D | atomic-min-max.ll | 18 ; MIPS-NEXT: sync 29 ; MIPS-NEXT: sync 51 ; MM-NEXT: sync 61 ; MM-NEXT: sync 66 ; MMR6-NEXT: sync 77 ; MMR6-NEXT: sync 115 ; MMEL-NEXT: sync 254 ; MM-NEXT: sync 264 ; MM-NEXT: sync 457 ; MM-NEXT: sync [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/lsan/TestCases/ |
| H A D | use_stacks_threaded.cpp | 16 int *sync = reinterpret_cast<int *>(arg); in stacks_thread_func() local 20 __sync_fetch_and_xor(sync, 1); in stacks_thread_func() 26 int sync = 0; in main() local 28 int res = pthread_create(&thread_id, 0, stacks_thread_func, &sync); in main() 30 while (!__sync_fetch_and_xor(&sync, 0)) in main()
|
| H A D | use_registers_extra.cpp | 18 int *sync = reinterpret_cast<int *>(arg); in registers_thread_func() local 43 __sync_fetch_and_xor(sync, 1); in registers_thread_func() 49 int sync = 0; in main() local 51 int res = pthread_create(&thread_id, 0, registers_thread_func, &sync); in main() 53 while (!__sync_fetch_and_xor(&sync, 0)) in main()
|
| H A D | use_registers.cpp | 15 int *sync = reinterpret_cast<int *>(arg); in registers_thread_func() local 61 __sync_fetch_and_xor(sync, 1); in registers_thread_func() 67 int sync = 0; in main() local 69 int res = pthread_create(&thread_id, 0, registers_thread_func, &sync); in main() 71 while (!__sync_fetch_and_xor(&sync, 0)) in main()
|
| /llvm-project-15.0.7/mlir/test/Dialect/LLVMIR/ |
| H A D | nvvm.mlir | 55 %2 = nvvm.shfl.sync up %arg0, %arg4, %arg1, %arg2 : f32 -> f32 76 // CHECK: nvvm.vote.ballot.sync %{{.*}}, %{{.*}} : i32 77 %0 = nvvm.vote.ballot.sync %arg0, %arg1 : i32 85 // CHECK: nvvm.mma.sync 96 // CHECK: nvvm.mma.sync A[{{.*}}] B[{{.*}}] C[{{.*}}] 107 %0 = nvvm.mma.sync A[%a0] B[%b0] C[%c0, %c1] 120 %0 = nvvm.mma.sync A[%a0, %a1] B[%b0] C[%c0, %c1] 179 %0 = nvvm.mma.sync A[%a0, %a1] B[%b0] C[%c0, %c1, %c2, %c3] 190 %0 = nvvm.mma.sync A[%a0, %a1] B[%b0] C[%c0, %c1, %c2, %c3] 203 %0 = nvvm.mma.sync A[%a0, %a1] B[%b0] C[%c0, %c1, %c2, %c3] [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_thread.cpp | 31 void ThreadContext::OnReset() { CHECK(!sync); } in OnReset() 111 VectorClock *sync; member 125 thr->clock.ReleaseStore(&arg.sync); in ThreadCreate() 137 sync = args->sync; in OnCreated() 158 thr->clock.Acquire(thr->tctx->sync); in ThreadStart() 161 Free(thr->tctx->sync); in ThreadStart() 289 VectorClock *sync; member 301 thr->clock.Acquire(arg.sync); in ThreadJoin() 303 Free(arg.sync); in ThreadJoin() 308 arg->sync = sync; in OnJoined() [all …]
|
| /llvm-project-15.0.7/flang/test/Lower/ |
| H A D | pre-fir-tree04.f90 | 48 sync all 50 sync memory 52 sync team(t) 57 sync images(*) 60 sync images(1)
|
| /llvm-project-15.0.7/mlir/test/Target/LLVMIR/ |
| H A D | nvvmir.mlir | 55 %6 = nvvm.shfl.sync bfly %0, %3, %1, %2 : i32 -> i32 57 %7 = nvvm.shfl.sync bfly %0, %4, %1, %2 : f32 -> f32 59 %8 = nvvm.shfl.sync up %0, %3, %1, %2 : i32 -> i32 61 %9 = nvvm.shfl.sync up %0, %4, %1, %2 : f32 -> f32 63 %10 = nvvm.shfl.sync down %0, %3, %1, %2 : i32 -> i32 65 %11 = nvvm.shfl.sync down %0, %4, %1, %2 : f32 -> f32 67 %12 = nvvm.shfl.sync idx %0, %3, %1, %2 : i32 -> i32 69 %13 = nvvm.shfl.sync idx %0, %4, %1, %2 : f32 -> f32 99 %3 = nvvm.vote.ballot.sync %0, %1 : i32 170 %0 = nvvm.mma.sync A[%a0, %a1] B[%b0] C[%c0, %c1, %c2, %c3] [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/ |
| H A D | sync.pass.cpp | 44 int sync() in sync() function 78 virtual int sync() in sync() function 91 assert(is.sync() == 0); in main() 98 assert(is.sync() == 0); in main() 109 is.sync(); in main() 125 is.sync(); in main()
|
| /llvm-project-15.0.7/polly/lib/External/isl/test_inputs/codegen/ |
| H A D | atomic3.c | 3 sync(); 5 sync(); 7 sync();
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/ |
| H A D | load_atomic.ll | 406 ; MIPS32-NEXT: sync 417 ; MIPS32-NEXT: sync 430 ; MIPS32-NEXT: sync 443 ; MIPS32-NEXT: sync 457 ; MIPS32-NEXT: sync 469 ; MIPS32-NEXT: sync 481 ; MIPS32-NEXT: sync 494 ; MIPS32-NEXT: sync 505 ; MIPS32-NEXT: sync 518 ; MIPS32-NEXT: sync [all …]
|