Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTypes.cpp161 if (const auto *AT = T->getAs<AtomicType>()) in isSafeToConvert()
658 QualType valueType = cast<AtomicType>(Ty)->getValueType(); in ConvertType()
688 return isPaddedAtomicType(type->castAs<AtomicType>()); in isPaddedAtomicType()
691 bool CodeGenModule::isPaddedAtomicType(const AtomicType *type) { in isPaddedAtomicType()
H A DCGExprComplex.cpp38 return cast<ComplexType>(cast<AtomicType>(type)->getValueType()); in getComplexType()
879 if (const AtomicType *AT = LHSTy->getAs<AtomicType>()) in EmitCompoundAssignLValue()
H A DCodeGenModule.h54 class AtomicType; variable
738 bool isPaddedAtomicType(const AtomicType *type);
H A DCGDebugInfo.h179 llvm::DIType *CreateType(const AtomicType *Ty, llvm::DIFile *F);
H A DCGAtomic.cpp52 if (auto *ATy = AtomicTy->getAs<AtomicType>()) in AtomicInfo()
748 if (const AtomicType *AT = AtomicTy->getAs<AtomicType>()) in EmitAtomicExpr()
H A DCGExprConstant.cpp1438 if (auto AT = type->getAs<AtomicType>()) { in getNonMemoryType()
1520 if (auto AT = destType->getAs<AtomicType>()) { in emitForMemory()
H A DCGExprScalar.cpp2331 if (const AtomicType *atomicTy = type->getAs<AtomicType>()) { in EmitScalarPrePostIncDec()
2813 if (const AtomicType *atomicTy = LHSTy->getAs<AtomicType>()) { in EmitCompoundAssignLValue()
H A DCodeGenFunction.cpp239 type = cast<AtomicType>(type)->getValueType(); in getEvaluationKind()
2155 type = cast<AtomicType>(ty)->getValueType(); in EmitVariablyModifiedType()
H A DCGExpr.cpp1252 if (const AtomicType *AT = Ty->getAs<AtomicType>()) in EmitLValue()
1524 if (const AtomicType *AT = Ty->getAs<AtomicType>()) in hasBooleanRepresentation()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp814 const AstTypeMatcher<AtomicType> atomicType;
842 AST_POLYMORPHIC_SUPPORTED_TYPES(AtomicType));
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTImporter.cpp688 if (const AtomicType *atomic_type = type->getAs<AtomicType>()) { in RequireCompleteType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp1097 QualType VisitAtomicType(const AtomicType *T) { in VisitAtomicType()
1362 if (const auto AT = getTypePtr()->getAs<AtomicType>()) in getAtomicUnqualifiedType()
2341 if (const auto *AT = BaseTy->getAs<AtomicType>()) in isLiteralType()
3580 return Cache::get(cast<AtomicType>(T)->getValueType()); in computeCachedProperties()
3664 return computeTypeLinkageInfo(cast<AtomicType>(T)->getValueType()); in computeTypeLinkageInfo()
H A DASTStructuralEquivalence.cpp802 if (!IsStructurallyEquivalent(Context, cast<AtomicType>(T1)->getValueType(), in IsStructurallyEquivalent()
803 cast<AtomicType>(T2)->getValueType())) in IsStructurallyEquivalent()
H A DTypePrinter.cpp1060 void TypePrinter::printAtomicBefore(const AtomicType *T, raw_ostream &OS) { in printAtomicBefore()
1069 void TypePrinter::printAtomicAfter(const AtomicType *T, raw_ostream &OS) {} in printAtomicAfter()
H A DASTContext.cpp2089 TypeInfo Info = getTypeInfo(cast<AtomicType>(T)->getValueType()); in getTypeInfoImpl()
3194 const auto *at = cast<AtomicType>(ty); in getVariableArrayDecayedType()
4906 AtomicType::Profile(ID, T); in getAtomicType()
4909 if (AtomicType *AT = AtomicTypes.FindNodeOrInsertPos(ID, InsertPos)) in getAtomicType()
4919 AtomicType *NewIP = AtomicTypes.FindNodeOrInsertPos(ID, InsertPos); in getAtomicType()
4922 auto *New = new (*this, TypeAlignment) AtomicType(T, Canonical); in getAtomicType()
6673 const auto *AT = T->castAs<AtomicType>(); in getObjCEncodingForTypeImpl()
8877 QualType LHSValue = LHS->getAs<AtomicType>()->getValueType(); in mergeTypes()
8878 QualType RHSValue = RHS->getAs<AtomicType>()->getValueType(); in mergeTypes()
H A DASTDumper.cpp200 void VisitAtomicType(const AtomicType *T) { in VisitAtomicType()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp2753 EVT AtomicType = cast<AtomicSDNode>(Node)->getMemoryVT(); in ExpandNode() local
2758 DAG.getValueType(AtomicType)); in ExpandNode()
2760 Node->getOperand(2), DAG.getValueType(AtomicType)); in ExpandNode()
2765 DAG.getValueType(AtomicType)); in ExpandNode()
2766 RHS = DAG.getZeroExtendInReg(Node->getOperand(2), dl, AtomicType); in ExpandNode()
2770 LHS = DAG.getZeroExtendInReg(Res, dl, AtomicType); in ExpandNode()
2771 RHS = DAG.getZeroExtendInReg(Node->getOperand(2), dl, AtomicType); in ExpandNode()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5319 extern const AstTypeMatcher<AtomicType> atomicType;
5333 AST_POLYMORPHIC_SUPPORTED_TYPES(AtomicType));
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp1529 if (const AtomicType *AtomicArg = Arg->getAs<AtomicType>()) in DeduceTemplateArgumentsByTypeMatch()
1531 cast<AtomicType>(Param)->getValueType(), in DeduceTemplateArgumentsByTypeMatch()
5483 cast<AtomicType>(T)->getValueType(), in MarkUsedTemplateParameters()
H A DSemaExpr.cpp640 if (const AtomicType *Atomic = T->getAs<AtomicType>()) { in DefaultLvalueConversion()
1264 if (const AtomicType *AtomicLHS = LHSType->getAs<AtomicType>()) in UsualArithmeticConversions()
4021 T = cast<AtomicType>(Ty)->getValueType(); in captureVariablyModifiedType()
7846 if (const AtomicType *AtomicTy = dyn_cast<AtomicType>(LHSType)) { in CheckAssignmentConstraints()
9032 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in checkArithmeticIncompletePointerType()
9053 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in checkArithmeticOpPointerOperand()
11591 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in CheckIncrementDecrementOperand()
H A DSemaExprCXX.cpp3949 if (const AtomicType *ToAtomic = ToType->getAs<AtomicType>()) { in PerformImplicitConversion()
3958 if (const AtomicType *FromAtomic = FromType->getAs<AtomicType>()) { in PerformImplicitConversion()
4325 ToAtomicType->castAs<AtomicType>()->getValueType(), From->getType())); in PerformImplicitConversion()
H A DSemaChecking.cpp4541 ValType = AtomTy->getAs<AtomicType>()->getValueType(); in SemaAtomicOpsOverloaded()
9546 if (const AtomicType *AT = dyn_cast<AtomicType>(T)) in forValueOfCanonicalType()
9591 if (const AtomicType *AT = dyn_cast<AtomicType>(T)) in forTargetOfCanonicalType()
9661 if (const AtomicType *AtomicRHS = Ty->getAs<AtomicType>()) in GetExprType()
10131 if (const auto *AT = OtherT->getAs<AtomicType>()) in CheckTautologicalComparison()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DRecursiveASTVisitor.h1103 DEF_TRAVERSE_TYPE(AtomicType, { TRY_TO(TraverseType(T->getValueType())); })
1355 DEF_TRAVERSE_TYPELOC(AtomicType, { TRY_TO(TraverseTypeLoc(TL.getValueLoc())); })
H A DType.h5968 class AtomicType : public Type, public llvm::FoldingSetNode {
5973 AtomicType(QualType ValTy, QualType Canonical)
6407 return isa<AtomicType>(CanonicalType);
H A DTypeLoc.h2206 AtomicType, AtomicTypeLocInfo> {

12