Home
last modified time | relevance | path

Searched refs:AtomicType (Results 1 – 25 of 92) sorted by relevance

1234

/external/libchrome/base/
Datomicops_unittest.cc12 template <class AtomicType>
22 AtomicType prev_word; in TestAtomicIncrement()
23 AtomicType count; in TestAtomicIncrement()
24 AtomicType next_word; in TestAtomicIncrement()
27 AtomicType prev_word_value, next_word_value; in TestAtomicIncrement()
28 memset(&prev_word_value, 0xFF, sizeof(AtomicType)); in TestAtomicIncrement()
29 memset(&next_word_value, 0xEE, sizeof(AtomicType)); in TestAtomicIncrement()
85 template <class AtomicType>
87 AtomicType value = 0; in TestCompareAndSwap()
88 AtomicType prev = base::subtle::NoBarrier_CompareAndSwap(&value, 0, 1); in TestCompareAndSwap()
[all …]
/external/OpenCL-CTS/test_conformance/c11_atomics/
Dhost_atomics.h90 template <typename AtomicType, typename CorrespondingType>
91 CorrespondingType host_atomic_fetch_add(volatile AtomicType *a, CorrespondingType c, in host_atomic_fetch_add()
104 template <typename AtomicType, typename CorrespondingType>
105 CorrespondingType host_atomic_fetch_sub(volatile AtomicType *a, CorrespondingType c, in host_atomic_fetch_sub()
118 template <typename AtomicType, typename CorrespondingType>
119 CorrespondingType host_atomic_exchange(volatile AtomicType *a, CorrespondingType c, in host_atomic_exchange()
136 template <typename AtomicType, typename CorrespondingType>
137 bool host_atomic_compare_exchange(volatile AtomicType *a, CorrespondingType *expected, Correspondin… in host_atomic_compare_exchange()
156 template <typename AtomicType, typename CorrespondingType>
157 CorrespondingType host_atomic_load(volatile AtomicType *a, in host_atomic_load()
[all …]
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DMatrixFunction.h246 template <typename MatrixType, typename AtomicType, typename VectorType>
247 void matrix_function_compute_block_atomic(const MatrixType& T, AtomicType& atomic, const VectorType… in matrix_function_compute_block_atomic()
388 template <typename AtomicType, typename ResultType>
389 static void run(const MatrixType& A, AtomicType& atomic, ResultType &result);
401 template <typename MatA, typename AtomicType, typename ResultType>
402 static void run(const MatA& A, AtomicType& atomic, ResultType &result)
425 template <typename MatA, typename AtomicType, typename ResultType>
426 static void run(const MatA& A, AtomicType& atomic, ResultType &result)
513 typedef internal::MatrixFunctionAtomic<DynMatrixType> AtomicType;
514 AtomicType atomic(m_f);
DMatrixLogarithm.h339 typedef internal::MatrixLogarithmAtomic<DynMatrixType> AtomicType; in evalTo() typedef
340 AtomicType atomic; in evalTo()
/external/libchrome/base/memory/
Ddiscardable_shared_memory.cc40 typedef intptr_t AtomicType; typedef
76 explicit SharedState(AtomicType ivalue) { value.i = ivalue; } in SharedState()
78 int64_t wire_timestamp = TimeToWireFormat<sizeof(AtomicType)>(timestamp); in SharedState()
87 return TimeFromWireFormat<sizeof(AtomicType)>(value.u >> 1); in GetTimestamp()
94 AtomicType i;
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp157 if (const auto *AT = T->getAs<AtomicType>()) in isSafeToConvert()
620 QualType valueType = cast<AtomicType>(Ty)->getValueType(); in ConvertType()
650 return isPaddedAtomicType(type->castAs<AtomicType>()); in isPaddedAtomicType()
653 bool CodeGenModule::isPaddedAtomicType(const AtomicType *type) { in isPaddedAtomicType()
DCGExprComplex.cpp41 return cast<ComplexType>(cast<AtomicType>(type)->getValueType()); in getComplexType()
830 if (const AtomicType *AT = LHSTy->getAs<AtomicType>()) in EmitCompoundAssignLValue()
DCodeGenModule.h53 class AtomicType; variable
649 bool isPaddedAtomicType(const AtomicType *type);
DCGDebugInfo.h163 llvm::DIType *CreateType(const AtomicType *Ty, llvm::DIFile *F);
DCGAtomic.cpp50 if (auto *ATy = AtomicTy->getAs<AtomicType>()) in AtomicInfo()
664 if (const AtomicType *AT = AtomicTy->getAs<AtomicType>()) in EmitAtomicExpr()
/external/clang/test/SemaObjC/
Dproperty-atomic-bool.m4 // CHECK: AtomicType {{.*}} '_Atomic(_Bool)'
/external/llvm-project/clang/lib/AST/Interp/
DContext.cpp103 if (auto *AT = dyn_cast<AtomicType>(T)) in classify()
DEvalEmitter.cpp111 if (auto *AT = Ty->getAs<AtomicType>()) in emitRetValue()
DProgram.cpp352 if (auto *AT = Ty->getAs<AtomicType>()) { in createDescriptor()
/external/llvm-project/clang/test/AST/
Dproperty-atomic-bool.m12 // CHECK: AtomicType {{.*}} '_Atomic(_Bool)'
/external/llvm-project/clang/lib/CodeGen/
DCodeGenTypes.cpp172 if (const auto *AT = T->getAs<AtomicType>()) in isSafeToConvert()
758 QualType valueType = cast<AtomicType>(Ty)->getValueType(); in ConvertType()
793 return isPaddedAtomicType(type->castAs<AtomicType>()); in isPaddedAtomicType()
796 bool CodeGenModule::isPaddedAtomicType(const AtomicType *type) { in isPaddedAtomicType()
DCGExprComplex.cpp39 return cast<ComplexType>(cast<AtomicType>(type)->getValueType()); in getComplexType()
904 if (const AtomicType *AT = LHSTy->getAs<AtomicType>()) in EmitCompoundAssignLValue()
DCodeGenModule.h54 class AtomicType; variable
765 bool isPaddedAtomicType(const AtomicType *type);
/external/llvm-project/clang/include/clang/Basic/
DTypeNodes.td109 def AtomicType : TypeNode<Type>;
/external/clang/lib/AST/
DType.cpp1023 QualType VisitAtomicType(const AtomicType *T) { in VisitAtomicType()
1278 if (auto AT = getTypePtr()->getAs<AtomicType>()) in getAtomicUnqualifiedType()
2210 if (const AtomicType *AT = BaseTy->getAs<AtomicType>()) in isLiteralType()
3367 return Cache::get(cast<AtomicType>(T)->getValueType()); in computeCachedProperties()
3451 return computeLinkageInfo(cast<AtomicType>(T)->getValueType()); in computeLinkageInfo()
DASTContext.cpp1816 TypeInfo Info = getTypeInfo(cast<AtomicType>(T)->getValueType()); in getTypeInfoImpl()
2694 const AtomicType *at = cast<AtomicType>(ty); in getVariableArrayDecayedType()
4067 AtomicType::Profile(ID, T); in getAtomicType()
4070 if (AtomicType *AT = AtomicTypes.FindNodeOrInsertPos(ID, InsertPos)) in getAtomicType()
4080 AtomicType *NewIP = AtomicTypes.FindNodeOrInsertPos(ID, InsertPos); in getAtomicType()
4083 AtomicType *New = new (*this, TypeAlignment) AtomicType(T, Canonical); in getAtomicType()
5624 const AtomicType *AT = T->castAs<AtomicType>(); in getObjCEncodingForTypeImpl()
7798 QualType LHSValue = LHS->getAs<AtomicType>()->getValueType(); in mergeTypes()
7799 QualType RHSValue = RHS->getAs<AtomicType>()->getValueType(); in mergeTypes()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp1002 const AstTypeMatcher<AtomicType> atomicType;
1030 AST_POLYMORPHIC_SUPPORTED_TYPES(AtomicType));
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangASTImporter.cpp709 if (const AtomicType *atomic_type = type->getAs<AtomicType>()) in RequireCompleteType()
/external/llvm-project/clang/lib/AST/
DType.cpp1231 QualType VisitAtomicType(const AtomicType *T) { in VisitAtomicType()
1502 if (const auto AT = getTypePtr()->getAs<AtomicType>()) in getAtomicUnqualifiedType()
2588 if (const auto *AT = BaseTy->getAs<AtomicType>()) in isLiteralType()
3896 return Cache::get(cast<AtomicType>(T)->getValueType()); in computeCachedProperties()
3984 return computeTypeLinkageInfo(cast<AtomicType>(T)->getValueType()); in computeTypeLinkageInfo()
/external/llvm-project/clang/include/clang/AST/
DASTNodeTraverser.h379 void VisitAtomicType(const AtomicType *T) { Visit(T->getValueType()); } in VisitAtomicType()

1234