| /llvm-project-15.0.7/libc/src/__support/CPP/ |
| H A D | atomic.h | 26 template <typename T> struct Atomic { struct 46 constexpr Atomic() = default; 49 constexpr Atomic(value_type v) : val(v) {} in Atomic() argument 51 Atomic(const Atomic &) = delete; 52 Atomic &operator=(const Atomic &) = delete; argument
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | MemoryOpRemark.cpp | 127 bool Atomic, in inlineVolatileOrAtomicWithExtraArgs() argument 133 if (Atomic) in inlineVolatileOrAtomicWithExtraArgs() 137 if ((Inline && !*Inline) || !Volatile || !Atomic) in inlineVolatileOrAtomicWithExtraArgs() 143 if (!Atomic) in inlineVolatileOrAtomicWithExtraArgs() 168 bool Atomic = SI.isAtomic(); in visitStore() local 175 inlineVolatileOrAtomicWithExtraArgs(nullptr, Volatile, Atomic, *R); in visitStore() 187 bool Atomic = false; in visitIntrinsicCall() local 205 Atomic = true; in visitIntrinsicCall() 209 Atomic = true; in visitIntrinsicCall() 213 Atomic = true; in visitIntrinsicCall() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
| H A D | ctor.pass.cpp | 34 typedef std::atomic<Tp> Atomic; in operator ()() typedef 37 constexpr Atomic a(t); in operator ()() 41 constexpr Atomic a{t}; in operator ()()
|
| H A D | dtor.pass.cpp | 25 typedef std::atomic<Tp> Atomic; in operator ()() typedef 26 static_assert(std::is_trivially_destructible<Atomic>::value, ""); in operator ()()
|
| /llvm-project-15.0.7/libc/test/integration/src/threads/ |
| H A D | call_once_test.cpp | 23 static __llvm_libc::cpp::Atomic<unsigned int> thread_count; 65 static __llvm_libc::cpp::Atomic<unsigned int> start_count; 66 static __llvm_libc::cpp::Atomic<unsigned int> done_count;
|
| /llvm-project-15.0.7/libcxx/test/std/atomics/atomics.types.generic/ |
| H A D | standard_layout.compile.pass.cpp | 23 typedef std::atomic<Tp> Atomic; in operator ()() typedef 24 static_assert(std::is_standard_layout<Atomic>::value, ""); in operator ()()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVSchedule.td | 35 def WriteAtomicW : SchedWrite; //Atomic memory operation word size 36 def WriteAtomicD : SchedWrite; //Atomic memory operation double word size 37 def WriteAtomicLDW : SchedWrite; // Atomic load word 38 def WriteAtomicLDD : SchedWrite; // Atomic load double word 39 def WriteAtomicSTW : SchedWrite; // Atomic store word 40 def WriteAtomicSTD : SchedWrite; // Atomic store double word 129 def ReadAtomicLDW : SchedRead; // Atomic load word 130 def ReadAtomicLDD : SchedRead; // Atomic load double word 131 def ReadAtomicSTW : SchedRead; // Atomic store word 132 def ReadAtomicSTD : SchedRead; // Atomic store double word
|
| /llvm-project-15.0.7/libc/test/src/__support/CPP/ |
| H A D | atomic_test.cpp | 16 __llvm_libc::cpp::Atomic<int> aint(123); in TEST() 28 __llvm_libc::cpp::Atomic<int> aint(desired); in TEST()
|
| /llvm-project-15.0.7/libc/src/__support/threads/linux/ |
| H A D | thread.cpp | 169 sizeof(cpp::Atomic<FutexWordType>); in run() 189 auto clear_tid = reinterpret_cast<cpp::Atomic<FutexWordType> *>( in run() 268 reinterpret_cast<cpp::Atomic<FutexWordType> *>(attrib->platform_data); in wait()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/ |
| H A D | Instrumentation.h | 72 bool Atomic = false; member 115 bool Atomic = false; member
|
| /llvm-project-15.0.7/llvm/test/Transforms/Util/ |
| H A D | trivial-auto-var-init-call.ll | 22 ; YAML-NEXT: - String: ' Atomic: ' 43 ; YAML-NEXT: - String: ' Atomic: ' 64 ; YAML-NEXT: - String: ' Atomic: ' 120 ; YAML-NEXT: - String: ' Atomic: ' 144 ; YAML-NEXT: - String: ' Atomic: ' 168 ; YAML-NEXT: - String: ' Atomic: ' 210 ; YAML-NEXT: - String: ' Atomic: ' 231 ; YAML-NEXT: - String: ' Atomic: ' 252 ; YAML-NEXT: - String: ' Atomic: ' 272 ; YAML-NEXT: - String: ' Atomic: ' [all …]
|
| H A D | trivial-auto-var-init-store.ll | 21 ; YAML-NEXT: - String: ' Atomic: ' 46 ; YAML-NEXT: - String: ' Atomic: ' 57 ; CHECK-NEXT: Store size: 4 bytes. Atomic: true. 68 ; YAML-NEXT: - String: ' Atomic: ' 103 ; YAML-NEXT: - String: ' Atomic: '
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Mips/ |
| H A D | inlineasm-constraint-ZC-2.ll | 11 define i32 @Atomic() { 12 ; CHECK-LABEL: Atomic:
|
| /llvm-project-15.0.7/libc/src/threads/linux/ |
| H A D | call_once.cpp | 31 auto *futex_word = reinterpret_cast<cpp::Atomic<FutexWordType> *>(flag);
|
| /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
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/Inputs/ |
| H A D | dwarfdump-objc.m | 13 @property (atomic) int Atomic; property
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | arm64-atomic.ll | 367 %"class.X::Atomic" = type { %struct.x_atomic_t } 370 @counter = external hidden global %"class.X::Atomic", align 4 374 …%0 = atomicrmw add i32* getelementptr inbounds (%"class.X::Atomic", %"class.X::Atomic"* @counter, … 380 …%1 = atomicrmw add i32* getelementptr inbounds (%"class.X::Atomic", %"class.X::Atomic"* @counter, …
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaConcept.cpp | 736 AtomicConstraint &Atomic = *N.getAtomicConstraint(); in substituteParameterMappings() local 740 if (!Atomic.ParameterMapping) { in substituteParameterMappings() 742 S.MarkUsedTemplateParameters(Atomic.ConstraintExpr, /*OnlyDeduced=*/false, in substituteParameterMappings() 744 Atomic.ParameterMapping.emplace( in substituteParameterMappings() 750 new (&(*Atomic.ParameterMapping)[J++]) TemplateArgumentLoc( in substituteParameterMappings() 769 if (S.SubstTemplateArguments(*Atomic.ParameterMapping, MLTAL, SubstArgs)) in substituteParameterMappings() 771 Atomic.ParameterMapping.emplace( in substituteParameterMappings()
|
| /llvm-project-15.0.7/libcxx/ |
| H A D | TODO.TXT | 10 Atomic Related Tasks
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | atomic-property-synthesis-rules.m | 11 warning: Atomic property 'x' has a synthesized setter and a 13 warning: Atomic property 'x' has a synthesized getter and a 349 // :warning: Atomic property 'x' cannot pair a synthesized setter/getter with a manually implemente… 362 // :warning: Atomic property 'x' cannot pair a synthesized setter/getter with a manually implemente…
|
| /llvm-project-15.0.7/mlir/test/Target/LLVMIR/ |
| H A D | openmp-reduction.mlir | 55 // Atomic reduction. 135 // Atomic reduction. 220 // Atomic reduction. 302 // Atomic reduction. 394 // Atomic reduction not provided.
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64InstrAtomics.td | 1 //=- AArch64InstrAtomics.td - AArch64 Atomic codegen support -*- tablegen -*-=// 9 // AArch64 Atomic operand code-gen constructs. 14 // Atomic fences 23 // Atomic loads 158 // Atomic stores 483 // Atomic cmpxchg for -O0 528 // v8.1 Atomic instructions:
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | 2010-10-08-cmpxchg8b.ll | 9 ; Neither Atomic-xx.ll nor atomic_op.ll cover this. Those tests were
|
| /llvm-project-15.0.7/llvm/test/Transforms/FunctionAttrs/ |
| H A D | atomic.ll | 4 ; Atomic load/store to local doesn't affect whether a function is
|
| /llvm-project-15.0.7/libc/src/__support/threads/ |
| H A D | thread.h | 83 cpp::Atomic<uint32_t> detach_state; in alignas()
|