Home
last modified time | relevance | path

Searched refs:Atomic (Results 1 – 25 of 163) sorted by relevance

1234567

/llvm-project-15.0.7/libc/src/__support/CPP/
H A Datomic.h26 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 DMemoryOpRemark.cpp127 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 Dctor.pass.cpp34 typedef std::atomic<Tp> Atomic; in operator ()() typedef
37 constexpr Atomic a(t); in operator ()()
41 constexpr Atomic a{t}; in operator ()()
H A Ddtor.pass.cpp25 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 Dcall_once_test.cpp23 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 Dstandard_layout.compile.pass.cpp23 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 DRISCVSchedule.td35 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 Datomic_test.cpp16 __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 Dthread.cpp169 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 DInstrumentation.h72 bool Atomic = false; member
115 bool Atomic = false; member
/llvm-project-15.0.7/llvm/test/Transforms/Util/
H A Dtrivial-auto-var-init-call.ll22 ; 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 Dtrivial-auto-var-init-store.ll21 ; 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 Dinlineasm-constraint-ZC-2.ll11 define i32 @Atomic() {
12 ; CHECK-LABEL: Atomic:
/llvm-project-15.0.7/libc/src/threads/linux/
H A Dcall_once.cpp31 auto *futex_word = reinterpret_cast<cpp::Atomic<FutexWordType> *>(flag);
/llvm-project-15.0.7/lld/test/wasm/lto/
H A Datomics.ll4 ; Atomic operations will not fail to compile if atomics are not
/llvm-project-15.0.7/llvm/test/DebugInfo/Inputs/
H A Ddwarfdump-objc.m13 @property (atomic) int Atomic; property
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Darm64-atomic.ll367 %"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 DSemaConcept.cpp736 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 DTODO.TXT10 Atomic Related Tasks
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Datomic-property-synthesis-rules.m11 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 Dopenmp-reduction.mlir55 // 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 DAArch64InstrAtomics.td1 //=- 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 D2010-10-08-cmpxchg8b.ll9 ; Neither Atomic-xx.ll nor atomic_op.ll cover this. Those tests were
/llvm-project-15.0.7/llvm/test/Transforms/FunctionAttrs/
H A Datomic.ll4 ; Atomic load/store to local doesn't affect whether a function is
/llvm-project-15.0.7/libc/src/__support/threads/
H A Dthread.h83 cpp::Atomic<uint32_t> detach_state; in alignas()

1234567