Home
last modified time | relevance | path

Searched refs:atomicType (Results 1 – 12 of 12) sorted by relevance

/external/clang/lib/CodeGen/
DCGExprAgg.cpp624 QualType atomicType = E->getSubExpr()->getType(); in VisitCastExpr() local
626 if (isToAtomic) std::swap(atomicType, valueType); in VisitCastExpr()
628 assert(atomicType->isAtomicType()); in VisitCastExpr()
630 atomicType->castAs<AtomicType>()->getValueType())); in VisitCastExpr()
634 if (Dest.isIgnored() || !CGF.CGM.isPaddedAtomicType(atomicType)) { in VisitCastExpr()
653 if (!valueDest.isIgnored() && CGF.CGM.isPaddedAtomicType(atomicType)) { in VisitCastExpr()
657 CGF.EmitNullInitialization(Dest.getAddress(), atomicType); in VisitCastExpr()
678 CGF.CreateAggTemp(atomicType, "atomic-to-nonatomic.temp"); in VisitCastExpr()
/external/llvm-project/clang/lib/CodeGen/
DSwiftCallingConv.cpp97 } else if (const auto *atomicType = type->getAs<AtomicType>()) { in addTypedData() local
98 auto valueType = atomicType->getValueType(); in addTypedData()
99 auto atomicSize = CGM.getContext().getTypeSizeInChars(atomicType); in addTypedData()
102 addTypedData(atomicType->getValueType(), begin); in addTypedData()
DCGExprAgg.cpp762 QualType atomicType = E->getSubExpr()->getType(); in VisitCastExpr() local
764 if (isToAtomic) std::swap(atomicType, valueType); in VisitCastExpr()
766 assert(atomicType->isAtomicType()); in VisitCastExpr()
768 atomicType->castAs<AtomicType>()->getValueType())); in VisitCastExpr()
772 if (Dest.isIgnored() || !CGF.CGM.isPaddedAtomicType(atomicType)) { in VisitCastExpr()
792 if (!valueDest.isIgnored() && CGF.CGM.isPaddedAtomicType(atomicType)) { in VisitCastExpr()
796 CGF.EmitNullInitialization(Dest.getAddress(), atomicType); in VisitCastExpr()
817 CGF.CreateAggTemp(atomicType, "atomic-to-nonatomic.temp"); in VisitCastExpr()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemStorageBufferTests.cpp859 SSBOAtomicType atomicType = testTypes[typeNdx]; in createAtomicStorageBufferTests() local
860 const std::string atomicTypeStr = getSSBOAtomicTypeString(atomicType); in createAtomicStorageBufferTests()
872 …calculateAtomicOpData(atomicType, inputValue, atomicArg, atomicCall, refValue, testData[ndx].swapN… in createAtomicStorageBufferTests()
890 calculateAtomicOpData(atomicType, inputValue, atomicArg, atomicCall, refValue, ndx); in createAtomicStorageBufferTests()
/external/clang/unittests/ASTMatchers/
DASTMatchersNodeTest.cpp1139 EXPECT_TRUE(matches("_Atomic(int) i;", atomicType())); in TEST()
1142 atomicType(hasValueType(isInteger())))); in TEST()
1144 atomicType(hasValueType(isInteger())))); in TEST()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersNodeTest.cpp1563 EXPECT_TRUE(matches("_Atomic(int) i;", atomicType())); in TEST_P()
1566 matches("_Atomic(int) i;", atomicType(hasValueType(isInteger())))); in TEST_P()
1568 notMatches("_Atomic(float) f;", atomicType(hasValueType(isInteger())))); in TEST_P()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp109 REGISTER_MATCHER(atomicType); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp143 REGISTER_MATCHER(atomicType); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp1002 const AstTypeMatcher<AtomicType> atomicType; variable
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h4538 AST_TYPE_MATCHER(AtomicType, atomicType);
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h6230 extern const AstTypeMatcher<AtomicType> atomicType;
/external/llvm-project/clang/unittests/AST/
DASTImporterTest.cpp516 functionDecl(hasDescendant(typedefDecl(has(atomicType()))))); in TEST_P()