| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | MemoryOpRemark.cpp | 129 bool Atomic, in inlineVolatileOrAtomicWithExtraArgs() argument 135 if (Atomic) in inlineVolatileOrAtomicWithExtraArgs() 139 if ((Inline && !*Inline) || !Volatile || !Atomic) in inlineVolatileOrAtomicWithExtraArgs() 145 if (!Atomic) in inlineVolatileOrAtomicWithExtraArgs() 171 bool Atomic = SI.isAtomic(); in visitStore() local 178 inlineVolatileOrAtomicWithExtraArgs(nullptr, Volatile, Atomic, *R); in visitStore() 190 bool Atomic = false; in visitIntrinsicCall() local 208 Atomic = true; in visitIntrinsicCall() 212 Atomic = true; in visitIntrinsicCall() 216 Atomic = true; in visitIntrinsicCall() [all …]
|
| /freebsd/contrib/llvm-project/libc/src/__support/threads/linux/ |
| H A D | rwlock.h | 213 LIBC_INLINE static RwState fetch_sub_reader_count(cpp::Atomic<int> &target, in fetch_sub_reader_count() 218 LIBC_INLINE static RwState load(cpp::Atomic<int> &target, in load() 224 LIBC_INLINE static RwState fetch_set_pending_bit(cpp::Atomic<int> &target, in fetch_set_pending_bit() 232 LIBC_INLINE static RwState fetch_clear_pending_bit(cpp::Atomic<int> &target, in fetch_clear_pending_bit() 240 LIBC_INLINE static RwState fetch_clear_active_writer(cpp::Atomic<int> &target, in fetch_clear_active_writer() 245 LIBC_INLINE bool compare_exchange_weak_with(cpp::Atomic<int> &target, in compare_exchange_weak_with() 256 LIBC_INLINE static RwState spin_reload_until(cpp::Atomic<int> &target, in spin_reload_until() 269 LIBC_INLINE static RwState spin_reload(cpp::Atomic<int> &target, in spin_reload() 327 cpp::Atomic<int> state; 331 cpp::Atomic<pid_t> writer_tid;
|
| H A D | futex_utils.h | 24 class Futex : public cpp::Atomic<FutexWordType> { 28 : cpp::Atomic<FutexWordType>(value) {} in Futex() 30 cpp::Atomic<FutexWordType>::store(value);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVBuiltins.td | 42 def Atomic : BuiltinGroup; 578 // Atomic builtin records: 579 defm : DemangledNativeBuiltin<"atomic_init", OpenCL_std, Atomic, 2, 2, OpStore>; 580 defm : DemangledNativeBuiltin<"atomic_load", OpenCL_std, Atomic, 1, 1, OpAtomicLoad>; 581 defm : DemangledNativeBuiltin<"atomic_load_explicit", OpenCL_std, Atomic, 2, 3, OpAtomicLoad>; 582 defm : DemangledNativeBuiltin<"__spirv_AtomicLoad", OpenCL_std, Atomic, 3, 3, OpAtomicLoad>; 583 defm : DemangledNativeBuiltin<"atomic_store", OpenCL_std, Atomic, 2, 2, OpAtomicStore>; 584 defm : DemangledNativeBuiltin<"atomic_store_explicit", OpenCL_std, Atomic, 2, 4, OpAtomicStore>; 585 defm : DemangledNativeBuiltin<"__spirv_AtomicStore", OpenCL_std, Atomic, 4, 4, OpAtomicStore>; 586 defm : DemangledNativeBuiltin<"atomic_compare_exchange_strong", OpenCL_std, Atomic, 3, 6, OpAtomicC… [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interface_atomic.cpp | 263 static T Atomic(ThreadState *thr, uptr pc, morder mo, const volatile T *a) { in Atomic() function 304 static void Atomic(ThreadState *thr, uptr pc, morder mo, volatile T *a, T v) { in Atomic() function 333 static T Atomic(ThreadState *thr, uptr pc, morder mo, volatile T *a, T v) { in Atomic() function 345 static T Atomic(ThreadState *thr, uptr pc, morder mo, volatile T *a, T v) { in Atomic() function 357 static T Atomic(ThreadState *thr, uptr pc, morder mo, volatile T *a, T v) { in Atomic() function 369 static T Atomic(ThreadState *thr, uptr pc, morder mo, volatile T *a, T v) { in Atomic() function 381 static T Atomic(ThreadState *thr, uptr pc, morder mo, volatile T *a, T v) { in Atomic() function 393 static T Atomic(ThreadState *thr, uptr pc, morder mo, volatile T *a, T v) { in Atomic() function 405 static T Atomic(ThreadState *thr, uptr pc, morder mo, volatile T *a, T v) { in Atomic() function 435 static bool Atomic(ThreadState *thr, uptr pc, morder mo, morder fmo, in Atomic() function [all …]
|
| /freebsd/contrib/llvm-project/libc/src/__support/CPP/ |
| H A D | atomic.h | 66 template <typename T> struct Atomic { struct 99 LIBC_INLINE constexpr Atomic() = default; argument 102 LIBC_INLINE constexpr Atomic(value_type v) : val(v) {} in Atomic() function 104 LIBC_INLINE Atomic(const Atomic &) = delete; 105 LIBC_INLINE Atomic &operator=(const Atomic &) = delete; argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVSchedule.td | 35 def WriteAtomicB : SchedWrite; //Atomic memory operation byte size 36 def WriteAtomicH : SchedWrite; //Atomic memory operation halfword size 37 def WriteAtomicW : SchedWrite; //Atomic memory operation word size 38 def WriteAtomicD : SchedWrite; //Atomic memory operation double word size 39 def WriteAtomicLDW : SchedWrite; // Atomic load word 40 def WriteAtomicLDD : SchedWrite; // Atomic load double word 41 def WriteAtomicSTW : SchedWrite; // Atomic store word 42 def WriteAtomicSTD : SchedWrite; // Atomic store double word 173 def ReadAtomicLDW : SchedRead; // Atomic load word 174 def ReadAtomicLDD : SchedRead; // Atomic load double word [all …]
|
| H A D | RISCVInstrInfoZa.td | 1 //===-- RISCVInstrInfoZa.td - RISC-V Atomic instructions ---*- tablegen -*-===// 12 // - Zacas (v1.0-rc1) : Atomic Compare-and-Swap. 13 // - Zabha (v1.0-rc1) : Byte and Halfword Atomic Memory Operations. 18 // Zacas (Atomic Compare-and-Swap) 140 // Zabha (Byte and Halfword Atomic Memory Operations)
|
| H A D | RISCVFeatures.td | 207 // Atomic Extensions 210 : RISCVExtension<1, 0, "Atomic Memory Operations">; 214 "'Zaamo' (Atomic Memory Operations)">; 224 : RISCVExtension<2, 1, "Atomic Instructions", 229 "'A' (Atomic Instructions)">; 246 : RISCVExtension<1, 0, "Byte and Halfword Atomic Memory Operations", 250 "'Zabha' (Byte and Halfword Atomic Memory Operations)">; 253 : RISCVExtension<1, 0, "Atomic Compare-And-Swap Instructions", 258 "'Zacas' (Atomic Compare-And-Swap Instructions)">; 268 : RISCVExtension<1, 0, "Atomic 16-byte misaligned loads, stores and AMOs">;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | Instrumentation.h | 81 bool Atomic = false; member 125 bool Atomic = false; member
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | WatchedLiteralsSolver.cpp | 249 for (auto &Atomic : Atomics) { in buildSolution() local 253 Solution[Atomic.second] = in buildSolution() 254 VarAssignments[Atomic.first] == Assignment::AssignedFalse in buildSolution()
|
| /freebsd/contrib/llvm-project/libc/src/__support/time/windows/ |
| H A D | performance_counter.h | 19 static cpp::Atomic<long long> frequency = 0; in get_ticks_per_second()
|
| /freebsd/contrib/llvm-project/libc/src/__support/threads/ |
| H A D | spin_lock.h | 19 cpp::Atomic<unsigned char> flag;
|
| H A D | thread.h | 100 cpp::Atomic<uint32_t> detach_state;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrAtomics.td | 1 // WebAssemblyInstrAtomics.td-WebAssembly Atomic codegen support-*- tablegen -*- 10 /// WebAssembly Atomic operand code-gen constructs. 32 // Atomic wait / notify 105 // Atomic fences 118 // Atomic loads 184 // Atomic stores 239 // Atomic binary read-modify-writes 437 // Atomic ternary read-modify-writes
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaConcept.cpp | 1462 AtomicConstraint &Atomic = *N.getAtomicConstraint(); in substituteParameterMappings() local 1464 if (!Atomic.ParameterMapping) { in substituteParameterMappings() 1466 S.MarkUsedTemplateParameters(Atomic.ConstraintExpr, /*OnlyDeduced=*/false, in substituteParameterMappings() 1486 Atomic.ParameterMapping.emplace(TempArgs, OccurringIndices.count()); in substituteParameterMappings() 1499 const_cast<NamedDecl *>(Atomic.ConstraintDecl), in substituteParameterMappings() 1503 if (S.SubstTemplateArguments(*Atomic.ParameterMapping, MLTAL, SubstArgs)) in substituteParameterMappings() 1510 Atomic.ParameterMapping.emplace(TempArgs, SubstArgs.size()); in substituteParameterMappings() 1924 Ori, {getNewLiteralId(), Literal::Atomic}}}) in find() 2092 case Literal::Atomic: in Subsumes()
|
| /freebsd/contrib/llvm-project/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 22 // Atomic loads 160 // Atomic stores 485 // Atomic cmpxchg for -O0 530 // v8.1 Atomic instructions:
|
| H A D | AArch64Schedule.td | 85 def WriteAtomic : SchedWrite; // Atomic memory operations (CAS, Swap, LDOP)
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | OpenACCKinds.h | 52 Atomic, enumerator 112 case OpenACCDirectiveKind::Atomic: in printOpenACCDirectiveKind()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | TypeBitCodes.def | 51 TYPE_BIT_CODE(Atomic, ATOMIC, 40)
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArch.td | 124 // Atomic memory swap and add instructions for byte and half word 130 // Atomic memory compare and swap instructions for byte, half word, word and double word
|
| /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/ |
| H A D | brcm,bcm7038-l1-intc.txt | 16 - Atomic mask/unmask operations
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseOpenACC.cpp | 55 .Case("atomic", OpenACCDirectiveKind::Atomic) in getOpenACCDirectiveKind() 292 case OpenACCDirectiveKind::Atomic: in isOpenACCDirectiveKind() 598 case OpenACCDirectiveKind::Atomic: in doesDirectiveHaveAssociatedStmt() 631 case OpenACCDirectiveKind::Atomic: in getOpenACCScopeFlags() 1504 if (DirKind == OpenACCDirectiveKind::Atomic) in ParseOpenACCDirective()
|
| /freebsd/contrib/llvm-project/libc/src/__support/GPU/ |
| H A D | allocator.cpp | 360 cpp::Atomic<uint64_t> counter{0}; 363 cpp::Atomic<Slab *> ptr{nullptr};
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaConcept.h | 170 enum Kind { Atomic, FoldExpanded }; enumerator
|