Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp98 } else if (const auto *atomicType = type->getAs<AtomicType>()) { in addTypedData() local
99 auto valueType = atomicType->getValueType(); in addTypedData()
100 auto atomicSize = CGM.getContext().getTypeSizeInChars(atomicType); in addTypedData()
103 addTypedData(atomicType->getValueType(), begin); in addTypedData()
H A DCGExprAgg.cpp769 QualType atomicType = E->getSubExpr()->getType(); in VisitCastExpr() local
771 if (isToAtomic) std::swap(atomicType, valueType); in VisitCastExpr()
773 assert(atomicType->isAtomicType()); in VisitCastExpr()
775 atomicType->castAs<AtomicType>()->getValueType())); in VisitCastExpr()
779 if (Dest.isIgnored() || !CGF.CGM.isPaddedAtomicType(atomicType)) { in VisitCastExpr()
799 if (!valueDest.isIgnored() && CGF.CGM.isPaddedAtomicType(atomicType)) { in VisitCastExpr()
803 CGF.EmitNullInitialization(Dest.getAddress(), atomicType); in VisitCastExpr()
824 CGF.CreateAggTemp(atomicType, "atomic-to-nonatomic.temp"); in VisitCastExpr()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp1584 EXPECT_TRUE(matches("_Atomic(int) i;", atomicType())); in TEST_P()
1587 matches("_Atomic(int) i;", atomicType(hasValueType(isInteger())))); in TEST_P()
1589 notMatches("_Atomic(float) f;", atomicType(hasValueType(isInteger())))); in TEST_P()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp143 REGISTER_MATCHER(atomicType); in RegistryMaps()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1043 const AstTypeMatcher<AtomicType> atomicType; variable
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6908 extern const AstTypeMatcher<AtomicType> atomicType;
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp577 functionDecl(hasDescendant(typedefDecl(has(atomicType()))))); in TEST_P()