| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | atomic-implicit-seq_cst.c | 6 _Atomic(int) atom; 225 …atom = atom; // expected-warning {{implicit use of sequentially-consistent atomic may incur strong… in bad_assign_3() 312 void good_c11_atomic_init(int i) { __c11_atomic_init(&atom, i); } in good_c11_atomic_init() 316 void good_c11_atomic_store(int i) { __c11_atomic_store(&atom, i, __ATOMIC_RELAXED); } in good_c11_atomic_store() 317 int good_c11_atomic_load(void) { return __c11_atomic_load(&atom, __ATOMIC_RELAXED); } in good_c11_atomic_load() 318 int good_c11_atomic_exchange(int i) { return __c11_atomic_exchange(&atom, i, __ATOMIC_RELAXED); } in good_c11_atomic_exchange() 321 int good_c11_atomic_fetch_add(int i) { return __c11_atomic_fetch_add(&atom, i, __ATOMIC_RELAXED); } in good_c11_atomic_fetch_add() 324 int good_c11_atomic_fetch_or(int i) { return __c11_atomic_fetch_or(&atom, i, __ATOMIC_RELAXED); } in good_c11_atomic_fetch_or() 328 void good_cast_to_void(void) { (void)atom; } in good_cast_to_void() 329 _Atomic(int) * good_address_of(void) { return &atom; } in _Atomic() [all …]
|
| H A D | attr-cpuspecific.c | 11 int __attribute__((cpu_specific(atom))) addr_of(void); 29 int __attribute__((cpu_specific(atom))) no_proto(); 31 int __attribute__((cpu_specific(atom))) redecl1(void); 34 int __attribute__((cpu_dispatch(atom))) redecl2(void); 35 int __attribute__((cpu_dispatch(atom))) redecl2(void) { } in redecl2() 38 int __attribute__((cpu_dispatch(atom))) redecl2(void) { } in redecl2() 51 int __attribute__((cpu_specific(atom))) redecl4(void); 56 int __attribute__((cpu_specific(atom, atom))) dup_procs(void); 61 int __attribute__((cpu_specific(atom))) dup_procs2(void); 73 int __attribute((cpu_dispatch(atom))) mult_dispatch(void) {} in cpu_dispatch() argument [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/ |
| H A D | atomicrmw-expand.ll | 9 ; SM30: atom.cas.b64 10 ; SM60: atom.add.f64 18 ; ALL: atom.add.f32 26 ; ALL: atom.and.b32 28 ; ALL: atom.or.b32 30 ; ALL: atom.xor.b32 32 ; ALL: atom.exch.b32 44 ; SM60: atom.or.b64 58 ; ALL: atom.min.s32 60 ; ALL: atom.max.s32 [all …]
|
| H A D | atomics-with-scope.ll | 13 ; CHECK: atom.cta.add.s32 15 ; CHECK: atom.cta.add.u64 17 ; CHECK: atom.sys.add.s32 19 ; CHECK: atom.sys.add.u64 21 ; CHECK: atom.cta.add.f32 23 ; CHECK: atom.cta.add.f64 25 ; CHECK: atom.sys.add.f32 27 ; CHECK: atom.sys.add.f64 39 ; CHECK: atom.cta.max.s32 41 ; CHECK: atom.cta.max.s64 [all …]
|
| H A D | atomics.ll | 7 ; CHECK: atom.add.u32 14 ; CHECK: atom.add.u64 22 ; CHECK: atom.add.u32 30 ; CHECK: atom.add.u64 37 ; CHECK: atom.and.b32 44 ; CHECK: atom.and.b64 62 ; CHECK: atom.or.b32 69 ; CHECK: atom.or.b64 76 ; CHECK: atom.xor.b32 83 ; CHECK: atom.xor.b64 [all …]
|
| H A D | atomics-sm60.ll | 8 ; CHECK: atom.add.f64 10 ; CHECK: atom.global.add.f64 12 ; CHECK: atom.shared.add.f64 19 ; CHECK: atom.add.f64 21 ; CHECK: atom.global.add.f64 23 ; CHECK: atom.shared.add.f64
|
| /llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/ |
| H A D | DebugSupportTest.cpp | 27 auto B = Ctx.atom(); in TEST() 47 auto B = Ctx.conj(Ctx.atom(), Ctx.atom()); in TEST() 58 auto B = Ctx.disj(Ctx.atom(), Ctx.atom()); in TEST() 69 auto B = Ctx.impl(Ctx.atom(), Ctx.atom()); in TEST() 80 auto B = Ctx.iff(Ctx.atom(), Ctx.atom()); in TEST() 91 auto B0 = Ctx.atom(); in TEST() 92 auto B1 = Ctx.atom(); in TEST() 111 Ctx.atom(), in TEST() 113 Ctx.conj(Ctx.atom(), Ctx.disj(Ctx.atom(), Ctx.atom())))); in TEST() 169 auto B = Ctx.disj(Ctx.conj(False, Ctx.atom()), Ctx.disj(True, Ctx.atom())); in TEST() [all …]
|
| H A D | SolverTest.cpp | 50 auto X = Ctx.atom(); in TEST() 60 auto X = Ctx.atom(); in TEST() 71 auto X = Ctx.atom(); in TEST() 80 auto X = Ctx.atom(); in TEST() 81 auto Y = Ctx.atom(); in TEST() 93 auto X = Ctx.atom(); in TEST() 103 auto X = Ctx.atom(); in TEST() 104 auto Y = Ctx.atom(); in TEST() 114 auto X = Ctx.atom(); in TEST() 115 auto Y = Ctx.atom(); in TEST() [all …]
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | attr-cpuspecific.cpp | 4 void __attribute__((cpu_dispatch(atom, invalid))) invalid_cpu(); 6 void __attribute__((cpu_specific(atom))) no_default(void); 54 void __attribute__((cpu_specific(atom))) diff_return(void); 66 int __attribute__((cpu_specific(atom))) foo(T) { return 0; } in foo() 81 virtual void __attribute__((cpu_specific(atom))) virt(); 90 __attribute__((cpu_specific(atom))) void DiffDecl(); 96 __attribute__((cpu_dispatch(atom))) void DiffDecl(); 101 __attribute__((cpu_specific(atom))) SpecialFuncs(); 103 __attribute__((cpu_specific(atom))) ~SpecialFuncs(); 119 [[clang::cpu_specific(ivybridge,atom)]] int CppSpelling(){} in CppSpelling() [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | attr-cpuspecific.c | 97 ATTR(cpu_specific(atom, ivybridge, knl)) in ATTR() argument 155 ATTR(cpu_dispatch(ivybridge, knl, atom)) 174 ATTR(cpu_dispatch(atom, ivybridge, knl)) in ATTR() argument 206 ATTR(cpu_dispatch(atom, ivybridge, knl)) 227 ATTR(cpu_dispatch(atom, generic, ivybridge, knl)) 249 ATTR(cpu_dispatch(atom, generic, ivybridge, knl)) 271 ATTR(cpu_dispatch(atom, generic, ivybridge, knl)) 293 ATTR(cpu_dispatch(atom, generic, pentium)) 311 ATTR(cpu_dispatch(atom, pentium)) 323 ATTR(cpu_specific(atom)) in ATTR() argument
|
| H A D | builtin-cpu-is.c | 25 void atom(void) { in atom() function
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | attr-cpuspecific-outoflinedefs.cpp | 7 __attribute__((cpu_specific(atom))) int foo(int, int, int) { return 1; } in foo() 10 int __attribute__((cpu_specific(atom))) OutOfLineDefs::foo(int) { in foo() 16 int __attribute__((cpu_dispatch(ivybridge, atom))) OutOfLineDefs::foo(int) { in foo() 19 int __attribute__((cpu_specific(atom))) OutOfLineDefs::foo(int, int) { in foo() 25 int __attribute__((cpu_dispatch(ivybridge, atom))) 36 int __attribute__((cpu_dispatch(sandybridge, ivybridge, atom)))
|
| H A D | attr-cpuspecific.cpp | 5 __attribute__((cpu_specific(atom))) 7 __attribute__((cpu_dispatch(ivybridge,atom)))
|
| H A D | multi-versioning-internal-linkage.cpp | 11 __attribute__((cpu_dispatch(atom, generic))) static int static_dispatch() {} in static_dispatch() 20 __attribute__((cpu_dispatch(atom, generic))) static int anon_dispatch() {} in anon_dispatch()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | atom-sched.ll | 1 ; RUN: llc < %s -O2 -mcpu=atom -mtriple=i686-- -relocation-model=static | FileCheck -check-prefix=a… 15 ; atom: imull 16 ; atom-NOT: movl 17 ; atom: imull
|
| H A D | stack-update-frame-opcode.ll | 2 ; RUN: llc -mtriple=x86_64-pc-linux -mcpu=atom < %s | FileCheck -check-prefix=ATOM_LP64 %s 4 ; RUN: llc -mtriple=x86_64-pc-linux-gnux32 -mcpu=atom < %s | FileCheck -check-prefix=ATOM_ILP32 %s
|
| H A D | pr42565.ll | 2 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=atom | FileCheck %s 3 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=atom -filetype=obj -o /dev/null
|
| H A D | atom-call-reg-indirect.ll | 1 ; RUN: llc < %s -mcpu=atom -mtriple=i686-linux | FileCheck -check-prefix=ATOM32 %s 3 ; RUN: llc < %s -mcpu=atom -mtriple=x86_64-linux | FileCheck -check-prefix=ATOM64 %s
|
| H A D | inlineasm-sched-bug.ll | 2 ; RUN: llc -mtriple=i686-- -mcpu=atom < %s | FileCheck %s
|
| H A D | atom-lea-addw-bug.ll | 1 ; RUN: llc < %s -mcpu=atom | FileCheck %s
|
| H A D | break-anti-dependencies.ll | 5 ; RUN: llc < %s -mtriple=x86_64-- -mcpu=atom -enable-misched=false -post-RA-scheduler -pre-RA-sched… 6 ; RUN: llc < %s -mtriple=x86_64-- -mcpu=atom -post-RA-scheduler -break-anti-dependencies=critical |…
|
| H A D | atom-shuf.ll | 2 ; RUN: llc < %s -mtriple=x86_64-linux-pc -mcpu=atom | FileCheck %s
|
| H A D | atom-fixup-lea4.ll | 1 ; RUN: llc < %s -mcpu=atom -mtriple=x86_64-linux
|
| /llvm-project-15.0.7/clang/test/CXX/special/class.conv/class.conv.ctor/ |
| H A D | p1.cpp | 17 struct atom { }; struct 19 void_type v1 = atom(); 20 void_type2 v2 = atom();
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-mca/X86/ |
| H A D | in-order-cpu.s | 2 # RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=atom | FileCheck %s
|