Home
last modified time | relevance | path

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

12

/external/v8/test/cctest/
Dtest-atomicops.cc43 template <class AtomicType>
52 AtomicType prev_word; in TestAtomicIncrement()
53 AtomicType count; in TestAtomicIncrement()
54 AtomicType next_word; in TestAtomicIncrement()
57 AtomicType prev_word_value, next_word_value; in TestAtomicIncrement()
58 memset(&prev_word_value, 0xFF, sizeof(AtomicType)); in TestAtomicIncrement()
59 memset(&next_word_value, 0xEE, sizeof(AtomicType)); in TestAtomicIncrement()
112 template <class AtomicType>
114 AtomicType value = 0; in TestCompareAndSwap()
115 AtomicType prev = NoBarrier_CompareAndSwap(&value, 0, 1); in TestCompareAndSwap()
[all …]
/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/eigen/unsupported/Eigen/src/MatrixFunctions/
DMatrixFunction.h35 typename AtomicType,
49 MatrixFunction(const MatrixType& A, AtomicType& atomic);
67 template <typename MatrixType, typename AtomicType>
68 class MatrixFunction<MatrixType, AtomicType, 0>
90 MatrixFunction(const MatrixType& A, AtomicType& atomic) : m_A(A), m_atomic(atomic) { } in MatrixFunction()
106 MatrixFunction<ComplexMatrix, AtomicType> mf(CA, m_atomic); in compute()
113 AtomicType& m_atomic; /**< \brief Class for computing matrix function of atomic blocks. */
122 template <typename MatrixType, typename AtomicType>
123 class MatrixFunction<MatrixType, AtomicType, 1>
143 MatrixFunction(const MatrixType& A, AtomicType& atomic);
[all …]
DMatrixLogarithm.h448 typedef MatrixLogarithmAtomic<DynMatrixType> AtomicType; in evalTo() typedef
449 AtomicType atomic; in evalTo()
452 MatrixFunction<PlainObject, AtomicType> mf(Aevaluated, atomic); in evalTo()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp157 if (const auto *AT = T->getAs<AtomicType>()) in isSafeToConvert()
614 QualType valueType = cast<AtomicType>(Ty)->getValueType(); in ConvertType()
640 return isPaddedAtomicType(type->castAs<AtomicType>()); in isPaddedAtomicType()
643 bool CodeGenModule::isPaddedAtomicType(const AtomicType *type) { in isPaddedAtomicType()
DCGExprComplex.cpp41 return cast<ComplexType>(cast<AtomicType>(type)->getValueType()); in getComplexType()
829 if (const AtomicType *AT = LHSTy->getAs<AtomicType>()) in EmitCompoundAssignLValue()
DCodeGenModule.h52 class AtomicType; variable
643 bool isPaddedAtomicType(const AtomicType *type);
DCGDebugInfo.h170 llvm::DIType *CreateType(const AtomicType *Ty, llvm::DIFile *F);
DCGAtomic.cpp50 if (auto *ATy = AtomicTy->getAs<AtomicType>()) in AtomicInfo()
676 if (const AtomicType *AT = AtomicTy->getAs<AtomicType>()) in EmitAtomicExpr()
DCodeGenFunction.cpp215 type = cast<AtomicType>(type)->getValueType(); in getEvaluationKind()
1728 type = cast<AtomicType>(ty)->getValueType(); in EmitVariablyModifiedType()
DCGExprScalar.cpp1654 if (const AtomicType *atomicTy = type->getAs<AtomicType>()) { in EmitScalarPrePostIncDec()
2126 if (const AtomicType *atomicTy = LHSTy->getAs<AtomicType>()) { in EmitCompoundAssignLValue()
DCGExpr.cpp960 if (const AtomicType *AT = Ty->getAs<AtomicType>()) in EmitLValue()
1186 if (const AtomicType *AT = Ty->getAs<AtomicType>()) in hasBooleanRepresentation()
DCGExprAgg.cpp629 atomicType->castAs<AtomicType>()->getValueType())); in VisitCastExpr()
/external/lldb/source/Symbol/
DClangASTImporter.cpp306 if (const AtomicType *atomic_type = type->getAs<AtomicType>()) in RequireCompleteType()
/external/clang/lib/AST/
DType.cpp1023 QualType VisitAtomicType(const AtomicType *T) { in VisitAtomicType()
2204 if (const AtomicType *AT = BaseTy->getAs<AtomicType>()) in isLiteralType()
3363 return Cache::get(cast<AtomicType>(T)->getValueType()); in computeCachedProperties()
3445 return computeLinkageInfo(cast<AtomicType>(T)->getValueType()); in computeLinkageInfo()
DASTContext.cpp1825 TypeInfo Info = getTypeInfo(cast<AtomicType>(T)->getValueType()); in getTypeInfoImpl()
2684 const AtomicType *at = cast<AtomicType>(ty); in getVariableArrayDecayedType()
4013 AtomicType::Profile(ID, T); in getAtomicType()
4016 if (AtomicType *AT = AtomicTypes.FindNodeOrInsertPos(ID, InsertPos)) in getAtomicType()
4026 AtomicType *NewIP = AtomicTypes.FindNodeOrInsertPos(ID, InsertPos); in getAtomicType()
4029 AtomicType *New = new (*this, TypeAlignment) AtomicType(T, Canonical); in getAtomicType()
5527 const AtomicType *AT = T->castAs<AtomicType>(); in getObjCEncodingForTypeImpl()
7683 QualType LHSValue = LHS->getAs<AtomicType>()->getValueType(); in mergeTypes()
7684 QualType RHSValue = RHS->getAs<AtomicType>()->getValueType(); in mergeTypes()
DTypePrinter.cpp852 void TypePrinter::printAtomicBefore(const AtomicType *T, raw_ostream &OS) { in printAtomicBefore()
860 void TypePrinter::printAtomicAfter(const AtomicType *T, raw_ostream &OS) { } in printAtomicAfter()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3923 AST_TYPE_MATCHER(AtomicType, atomicType);
3937 AST_POLYMORPHIC_SUPPORTED_TYPES(AtomicType));
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp1239 if (const AtomicType *AtomicArg = Arg->getAs<AtomicType>()) in DeduceTemplateArgumentsByTypeMatch()
1241 cast<AtomicType>(Param)->getValueType(), in DeduceTemplateArgumentsByTypeMatch()
4878 cast<AtomicType>(T)->getValueType(), in MarkUsedTemplateParameters()
DSemaExpr.cpp706 if (const AtomicType *Atomic = T->getAs<AtomicType>()) { in DefaultLvalueConversion()
1276 if (const AtomicType *AtomicLHS = LHSType->getAs<AtomicType>()) in UsualArithmeticConversions()
6936 if (const AtomicType *AtomicTy = dyn_cast<AtomicType>(LHSType)) { in CheckAssignmentConstraints()
7709 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in checkArithmeticIncompletePointerType()
7730 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in checkArithmeticOpPointerOperand()
9668 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in CheckIncrementDecrementOperand()
13216 QTy = cast<AtomicType>(Ty)->getValueType(); in tryCaptureVariable()
DSemaChecking.cpp1705 ValType = AtomTy->getAs<AtomicType>()->getValueType(); in SemaAtomicOpsOverloaded()
6106 if (const AtomicType *AT = dyn_cast<AtomicType>(T)) in forValueOfCanonicalType()
6143 if (const AtomicType *AT = dyn_cast<AtomicType>(T)) in forTargetOfCanonicalType()
6211 if (const AtomicType *AtomicRHS = Ty->getAs<AtomicType>()) in GetExprType()
6547 if (const auto *AT = OtherT->getAs<AtomicType>()) in DiagnoseOutOfRangeComparison()
DSemaExprCXX.cpp3118 if (const AtomicType *ToAtomic = ToType->getAs<AtomicType>()) { in PerformImplicitConversion()
3127 if (const AtomicType *FromAtomic = FromType->getAs<AtomicType>()) { in PerformImplicitConversion()
3489 ToAtomicType->castAs<AtomicType>()->getValueType(), From->getType())); in PerformImplicitConversion()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h979 DEF_TRAVERSE_TYPE(AtomicType, { TRY_TO(TraverseType(T->getValueType())); })
1207 DEF_TRAVERSE_TYPELOC(AtomicType, { TRY_TO(TraverseTypeLoc(TL.getValueLoc())); })
DType.h4988 class AtomicType : public Type, public llvm::FoldingSetNode {
4991 AtomicType(QualType ValTy, QualType Canonical)
5352 return isa<AtomicType>(CanonicalType);
DTypeLoc.h1986 AtomicType, AtomicTypeLocInfo> {

12