| /llvm-project-15.0.7/compiler-rt/test/tsan/ |
| H A D | atomic_norace2.cpp | 7 T atomics[kTestCount]; variable 12 while (__atomic_load_n(&atomics[i], __ATOMIC_ACQUIRE) == 0) { in Thread() 32 __atomic_store_n(&atomics[i], 1, __ATOMIC_RELEASE); in main() 35 __atomic_fetch_add(&atomics[1], 1, __ATOMIC_RELEASE); in main() 39 __atomic_compare_exchange_n(&atomics[2], &cmp, 1, false, __ATOMIC_RELEASE, __ATOMIC_RELAXED); in main()
|
| H A D | atomic_race.cpp | 6 T atomics[kTestCount * 2]; variable 35 Test(i, &atomics[i], false); in Thread() 41 Test(i, &atomics[kTestCount + i], false); in Thread() 53 Test(i, &atomics[i], true); in main() 56 Test(i, &atomics[kTestCount + i], true); in main()
|
| H A D | atomic_norace.cpp | 6 T atomics[kTestCount * 2]; variable 35 Test(i, &atomics[i], false); in Thread() 41 Test(i, &atomics[kTestCount + i], false); in Thread() 53 Test(i, &atomics[i], true); in main() 56 Test(i, &atomics[kTestCount + i], true); in main()
|
| /llvm-project-15.0.7/lld/test/wasm/ |
| H A D | data-segments.ll | 1 ; RUN: llc --mtriple=wasm32-unknown-unknown -filetype=obj %s -o %t.atomics.o -mattr=+atomics 4 …lc --mtriple=wasm32-unknown-unknown -filetype=obj %s -o %t.atomics.bulk-mem.o -mattr=+atomics,+bul… 5 …c --mtriple=wasm64-unknown-unknown -filetype=obj %s -o %t.atomics.bulk-mem64.o -mattr=+atomics,+bu… 6 …wasm32-unknown-unknown -filetype=obj %s -o %t.atomics.bulk-mem.pic.o -relocation-model=pic -mattr=… 7 …m64-unknown-unknown -filetype=obj %s -o %t.atomics.bulk-mem.pic-mem64.o -relocation-model=pic -mat… 9 ; atomics, shared memory => error 10 …no-gc-sections --no-entry --shared-memory --max-memory=131072 %t.atomics.o -o %t.atomics.wasm 2>&1… 20 ; atomics, bulk memory, shared memory => passive segments 21 …-sections --no-entry --shared-memory --max-memory=131072 %t.atomics.bulk-mem.o -o %t.atomics.bulk-… 25 ; atomics, bulk memory, shared memory, wasm64 => passive segments [all …]
|
| H A D | shared-memory.yaml | 3 # RUN: wasm-ld --no-entry --shared-memory --features=atomics,bulk-memory %t1.o -o - | obj2yaml | Fi… 9 # RUN: not wasm-ld --no-entry --shared-memory --max-memory=131072 --features=atomics %t1.o -o - 2>&… 11 # RUN: wasm-ld --relocatable --features=atomics %t1.o -o - | obj2yaml | FileCheck %s --check-prefix… 13 # RUN: wasm-ld --no-entry --shared-memory --max-memory=131072 --features=atomics,bulk-memory %t1.o … 61 # SHARED-NO-ATOMICS: 'atomics' feature must be used in order to use shared memory
|
| H A D | shared-memory-no-atomics.yaml | 61 …emory is disallowed by {{.*}}shared-memory-no-atomics.yaml.tmp1.o because it was not compiled with…
|
| /llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/ |
| H A D | target-features-tls.ll | 1 ; RUN: llc < %s -mattr=-bulk-memory,atomics | FileCheck %s --check-prefixes NO-BULK-MEM 2 ; RUN: llc < %s -mattr=+bulk-memory,atomics | FileCheck %s --check-prefixes BULK-MEM 4 ; Test that the target features section contains -atomics or +atomics 16 ; NO-BULK-MEM-NEXT: .ascii "atomics" 27 ; BULK-MEM-NEXT: .ascii "atomics"
|
| H A D | target-features.ll | 29 attributes #0 = { "target-features"="+atomics" } 58 ; +atomics, +nontrapping-fptoint, +reference-types 62 ; ATTRS-NEXT: .ascii "atomics" 70 ; +atomics, +nontrapping-fptoint, +reference-types, +simd128 74 ; SIMD128-NEXT: .ascii "atomics" 85 ; +atomics, +bulk-memory, +mutable-globals, +nontrapping-fptoint, 90 ; BLEEDING-EDGE-NEXT: .ascii "atomics"
|
| H A D | tls-local-exec.ll | 2 …fallthrough-return-opt -wasm-disable-explicit-locals -mattr=+bulk-memory,atomics - | FileCheck --c… 3 …fallthrough-return-opt -wasm-disable-explicit-locals -mattr=+bulk-memory,atomics -fast-isel - | Fi… 6 …fallthrough-return-opt -wasm-disable-explicit-locals -mattr=+bulk-memory,atomics - | FileCheck --c… 7 …fallthrough-return-opt -wasm-disable-explicit-locals -mattr=+bulk-memory,atomics -fast-isel - | Fi… 10 …fallthrough-return-opt -wasm-disable-explicit-locals -mattr=-bulk-memory,atomics - | FileCheck --c…
|
| H A D | atomic-pic.ll | 1 …ic -fast-isel -wasm-disable-explicit-locals -wasm-keep-registers -mattr=+atomics,+sign-ext | FileC… 2 …st-isel=false -wasm-disable-explicit-locals -wasm-keep-registers -mattr=+atomics,+sign-ext | FileC…
|
| H A D | store-trunc-atomic.ll | 1 ; RUN: llc < %s --mtriple=wasm32-unknown-unknown -mattr=+atomics,+sign-ext -asm-verbose=false -wasm… 2 ; RUN: llc < %s --mtriple=wasm64-unknown-unknown -mattr=+atomics,+sign-ext -asm-verbose=false -wasm…
|
| H A D | tls-general-dynamic.ll | 2 …fallthrough-return-opt -wasm-disable-explicit-locals -mattr=+bulk-memory,atomics | FileCheck %s --… 3 …fallthrough-return-opt -wasm-disable-explicit-locals -mattr=+bulk-memory,atomics -fast-isel | File… 4 …fallthrough-return-opt -wasm-disable-explicit-locals -mattr=-bulk-memory,atomics | FileCheck %s --…
|
| /llvm-project-15.0.7/llvm/test/Transforms/Inline/AMDGPU/ |
| H A D | inline-amdgpu-unsafe-fp-atomics.ll | 93 attributes #1 = { nounwind "amdgpu-unsafe-fp-atomics"="true" } 94 attributes #2 = { nounwind "amdgpu-unsafe-fp-atomics"="false" } 97 ; CHECK: attributes #[[ATTR1]] = { nounwind "amdgpu-unsafe-fp-atomics"="true" } 98 ; CHECK: attributes #[[ATTR2]] = { nounwind "amdgpu-unsafe-fp-atomics"="false" }
|
| /llvm-project-15.0.7/llvm/cmake/modules/ |
| H A D | CheckAtomic.cmake | 7 # the platform doesn't support lock-free atomics. 47 # First check if atomics work without the library. 49 # If not, check if the library exists, and atomics work with it. 68 # First check if atomics work without the library. 70 # If not, check if the library exists, and atomics work with it.
|
| /llvm-project-15.0.7/llvm/test/Bitcode/ |
| H A D | bcanalyzer-atomics.ll | 2 ; Make sure the names of atomics are known 8 define void @atomics(i32* %ptr) {
|
| /llvm-project-15.0.7/lld/test/wasm/lto/ |
| H A D | atomics.ll | 4 ; Atomic operations will not fail to compile if atomics are not 5 ; enabled because LLVM atomics will be lowered to regular ops.
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | property-aggregate.m | 4 // not get native atomics, even though x86-64 can do unaligned atomics
|
| /llvm-project-15.0.7/openmp/tools/archer/tests/ |
| H A D | CMakeLists.txt | 5 # When using libgcc, -latomic may be needed for atomics 6 # (but when using compiler-rt, the atomics will be built-in)
|
| /llvm-project-15.0.7/openmp/runtime/test/ |
| H A D | CMakeLists.txt | 7 # When using libgcc, -latomic may be needed for atomics 8 # (but when using compiler-rt, the atomics will be built-in)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/GlobalISel/ |
| H A D | llvm.amdgcn.struct.buffer.atomic.fadd-with-ret.ll | 4 ; GFX908: error: {{.*}} return versions of fp atomics not supported 5 ; GFX908: error: {{.*}} return versions of fp atomics not supported
|
| H A D | llvm.amdgcn.raw.buffer.atomic.fadd-with-ret.ll | 7 ; GFX908: error: {{.*}} return versions of fp atomics not supported 8 ; GFX908: error: {{.*}} return versions of fp atomics not supported
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | atomic-non-integer-fp128.ll | 5 ; Note: This test is testing that the lowering for atomics matches what we 6 ; currently emit for non-atomics + the atomic restriction. The presence of
|
| /llvm-project-15.0.7/clang/test/CodeGenOpenCL/ |
| H A D | atomics-unsafe-hw-remarks-gfx90a.cl | 2 // RUN: -Rpass=si-lower -munsafe-fp-atomics %s -S -emit-llvm -o - 2>&1 | \ 6 // RUN: -Rpass=si-lower -munsafe-fp-atomics %s -S -o - 2>&1 | \
|
| /llvm-project-15.0.7/llvm/test/MC/WebAssembly/ |
| H A D | basic-assembly.s | 1 # RUN: llvm-mc -triple=wasm32-unknown-unknown -mattr=+tail-call,+reference-types,atomics,+simd128,+…
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGAtomic.cpp | 2055 AtomicInfo atomics(*this, dest); in EmitAtomicStore() local 2056 LValue LVal = atomics.getAtomicLValue(); in EmitAtomicStore() 2061 atomics.emitCopyIntoMemory(rvalue); in EmitAtomicStore() 2066 if (atomics.shouldUseLibcall()) { in EmitAtomicStore() 2090 atomics.emitCastToAtomicIntPointer(atomics.getAtomicAddress()); in EmitAtomicStore() 2111 atomics.EmitAtomicUpdate(AO, rvalue, IsVolatile); in EmitAtomicStore() 2142 AtomicInfo atomics(*this, dest); in EmitAtomicInit() local 2144 switch (atomics.getEvaluationKind()) { in EmitAtomicInit() 2147 atomics.emitCopyIntoMemory(RValue::get(value)); in EmitAtomicInit() 2162 Zeroed = atomics.emitMemSetZeroIfNecessary(); in EmitAtomicInit() [all …]
|