Home
last modified time | relevance | path

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

12

/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/spirv-llvm/lib/SPIRV/Mangler/
DParameterType.cpp149 AtomicType::AtomicType(const RefParamType type) : in AtomicType() function in SPIR::AtomicType
153 MangleError AtomicType::accept(TypeVisitor* visitor) const { in accept()
160 std::string AtomicType::toString() const { in toString()
166 bool AtomicType::equals(const ParamType* type) const { in equals()
167 const AtomicType* a = dyn_cast<AtomicType>(type); in equals()
239 const TypeEnum AtomicType::enumTy = TYPE_ID_ATOMIC;
DParameterType.h304 struct AtomicType: public ParamType { struct
310 AtomicType(const RefParamType type); argument
446 virtual MangleError visit(const AtomicType*) = 0;
DMangler.cpp135 MangleError visit(const AtomicType* p) { in visit()
/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/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()
DCodeGenFunction.cpp216 type = cast<AtomicType>(type)->getValueType(); in getEvaluationKind()
1797 type = cast<AtomicType>(ty)->getValueType(); in EmitVariablyModifiedType()
DCGExprScalar.cpp1636 if (const AtomicType *atomicTy = type->getAs<AtomicType>()) { in EmitScalarPrePostIncDec()
2113 if (const AtomicType *atomicTy = LHSTy->getAs<AtomicType>()) { in EmitCompoundAssignLValue()
DCGExpr.cpp986 if (const AtomicType *AT = Ty->getAs<AtomicType>()) in EmitLValue()
1212 if (const AtomicType *AT = Ty->getAs<AtomicType>()) in hasBooleanRepresentation()
/external/clang/test/SemaObjC/
Dproperty-atomic-bool.m4 // CHECK: AtomicType {{.*}} '_Atomic(_Bool)'
/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()
DTypePrinter.cpp887 void TypePrinter::printAtomicBefore(const AtomicType *T, raw_ostream &OS) { in printAtomicBefore()
895 void TypePrinter::printAtomicAfter(const AtomicType *T, raw_ostream &OS) { } in printAtomicAfter()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h4538 AST_TYPE_MATCHER(AtomicType, atomicType);
4552 AST_POLYMORPHIC_SUPPORTED_TYPES(AtomicType));
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp1235 if (const AtomicType *AtomicArg = Arg->getAs<AtomicType>()) in DeduceTemplateArgumentsByTypeMatch()
1237 cast<AtomicType>(Param)->getValueType(), in DeduceTemplateArgumentsByTypeMatch()
4868 cast<AtomicType>(T)->getValueType(), in MarkUsedTemplateParameters()
DSemaExpr.cpp718 if (const AtomicType *Atomic = T->getAs<AtomicType>()) { in DefaultLvalueConversion()
1330 if (const AtomicType *AtomicLHS = LHSType->getAs<AtomicType>()) in UsualArithmeticConversions()
3942 T = cast<AtomicType>(Ty)->getValueType(); in captureVariablyModifiedType()
7339 if (const AtomicType *AtomicTy = dyn_cast<AtomicType>(LHSType)) { in CheckAssignmentConstraints()
8145 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in checkArithmeticIncompletePointerType()
8166 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in checkArithmeticOpPointerOperand()
10181 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in CheckIncrementDecrementOperand()
DSemaExprCXX.cpp3385 if (const AtomicType *ToAtomic = ToType->getAs<AtomicType>()) { in PerformImplicitConversion()
3394 if (const AtomicType *FromAtomic = FromType->getAs<AtomicType>()) { in PerformImplicitConversion()
3749 ToAtomicType->castAs<AtomicType>()->getValueType(), From->getType())); in PerformImplicitConversion()
DSemaChecking.cpp2424 ValType = AtomTy->getAs<AtomicType>()->getValueType(); in SemaAtomicOpsOverloaded()
7000 if (const AtomicType *AT = dyn_cast<AtomicType>(T)) in forValueOfCanonicalType()
7037 if (const AtomicType *AT = dyn_cast<AtomicType>(T)) in forTargetOfCanonicalType()
7104 if (const AtomicType *AtomicRHS = Ty->getAs<AtomicType>()) in GetExprType()
7440 if (const auto *AT = OtherT->getAs<AtomicType>()) in DiagnoseOutOfRangeComparison()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp2835 EVT AtomicType = cast<AtomicSDNode>(Node)->getMemoryVT(); in ExpandNode() local
2840 DAG.getValueType(AtomicType)); in ExpandNode()
2842 Node->getOperand(2), DAG.getValueType(AtomicType)); in ExpandNode()
2847 DAG.getValueType(AtomicType)); in ExpandNode()
2852 LHS = DAG.getZeroExtendInReg(Res, dl, AtomicType); in ExpandNode()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h1052 DEF_TRAVERSE_TYPE(AtomicType, { TRY_TO(TraverseType(T->getValueType())); })
1282 DEF_TRAVERSE_TYPELOC(AtomicType, { TRY_TO(TraverseTypeLoc(TL.getValueLoc())); })

12