Home
last modified time | relevance | path

Searched refs:getQualifiers (Results 1 – 25 of 66) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGValue.h270 Qualifiers QS = Type.getQualifiers();
448 R.Initialize(type, type.getQualifiers(), vecAddress, BaseInfo, TBAAInfo);
458 R.Initialize(type, type.getQualifiers(), Addr, BaseInfo, TBAAInfo);
474 R.Initialize(type, type.getQualifiers(), Addr, BaseInfo, TBAAInfo);
482 R.Initialize(type, type.getQualifiers(), Address::invalid(),
494 R.Initialize(type, type.getQualifiers(), matAddress, BaseInfo, TBAAInfo);
617 Qualifiers getQualifiers() const { return Quals; }
H A DCGExprCXX.cpp142 BaseQuals = PTy->getPointeeType().getQualifiers(); in EmitCXXPseudoDestructorExpr()
147 BaseQuals = BaseTy.getQualifiers(); in EmitCXXPseudoDestructorExpr()
982 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit()
1067 AggValueSlot::forAddr(CurPtr, ElementType.getQualifiers(), in EmitNewArrayInitializer()
H A DCGObjCRuntime.cpp293 switch (paramDecl->getType().getQualifiers().getObjCLifetime()) { in EmitInitOfCatchParam()
H A DCGBlocks.cpp1646 Qualifiers QS = T.getQualifiers(); in computeCopyInfoForBlockCapture()
2049 if (T->isObjCRetainableType() && !T.getQualifiers().hasObjCLifetime() && in computeDestroyInfoForBlockCapture()
2497 Qualifiers qs = type.getQualifiers(); in buildByrefHelpers()
H A DCGClass.cpp930 Qualifiers Qual = F->getType().getQualifiers(); in isMemcpyableField()
2084 curAddr, type.getQualifiers(), AggValueSlot::IsDestructed, in EmitCXXAggrConstructorCall()
2128 LangAS SlotAS = ThisAVS.getQualifiers().getAddressSpace(); in EmitCXXConstructorCall()
H A DCGCoroutine.cpp748 S.getReturnValue()->getType().getQualifiers(), in EmitGroInit()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DQualTypeNames.cpp385 Qualifiers Quals = QT.getQualifiers(); in getFullyQualifiedType()
395 Qualifiers Quals = QT.getQualifiers(); in getFullyQualifiedType()
411 Qualifiers Quals = QT.getQualifiers(); in getFullyQualifiedType()
430 Qualifiers Quals = QT.getQualifiers(); in getFullyQualifiedType()
H A DASTDiagnostic.cpp1185 Qualifiers FromQual = FromType.getQualifiers(), in DiffTypes()
1186 ToQual = ToType.getQualifiers(); in DiffTypes()
1187 FromQual -= QualType(FromArgTST, 0).getQualifiers(); in DiffTypes()
1188 ToQual -= QualType(ToArgTST, 0).getQualifiers(); in DiffTypes()
2113 Qualifiers FromQual = FromTemplateType.getQualifiers(), in DiffTemplate()
2114 ToQual = ToTemplateType.getQualifiers(); in DiffTemplate()
2130 FromQual -= QualType(FromOrigTST, 0).getQualifiers(); in DiffTemplate()
2131 ToQual -= QualType(ToOrigTST, 0).getQualifiers(); in DiffTemplate()
H A DAttrImpl.cpp258 if (T.getQualifiers().hasUnaligned()) in getAlignment()
H A DMicrosoftMangle.cpp661 mangleQualifiers(MPT->getPointeeType().getQualifiers(), true); in mangleVariableEncoding()
666 mangleQualifiers(Ty->getPointeeType().getQualifiers(), false); in mangleVariableEncoding()
673 mangleQualifiers(Ty.getQualifiers(), false); in mangleVariableEncoding()
676 mangleQualifiers(Ty.getQualifiers(), false); in mangleVariableEncoding()
2281 is64BitPointer(PointeeType.getQualifiers()); in manglePointerExtQualifiers()
3158 manglePointerCVQualifiers(T->getElementType().getQualifiers()); in mangleDecayedArrayType()
3236 mangleQualifiers(PointeeType.getQualifiers(), true); in mangleType()
3271 LangAS AddrSpace = PointeeType.getQualifiers().getAddressSpace(); in mangleType()
3275 mangleAddressSpaceType(PointeeType, PointeeType.getQualifiers(), Range); in mangleType()
H A DExprClassification.cpp687 CT.getQualifiers().getAddressSpace() == LangAS::opencl_constant) in IsModifiable()
H A DASTContext.cpp1432 auto Q = VoidTy.getQualifiers(); in InitBuiltinTypes()
1717 if (BaseT.getQualifiers().hasUnaligned()) in getDeclAlign()
3057 assert(eq->getQualifiers() == quals); in getExtQualType()
4735 if (CanResultType.getQualifiers().hasObjCLifetime()) { in getCanonicalFunctionResultType()
4736 Qualifiers Qs = CanResultType.getQualifiers(); in getCanonicalFunctionResultType()
6261 T.getQualifiers()); in getUnconstrainedType()
7972 Qualifiers qs = Ty.getQualifiers(); in BlockRequiresCopying()
11166 Qualifiers LHSPteeQual = LHSPointee.getQualifiers(); in mergeTypes()
11167 Qualifiers RHSPteeQual = RHSPointee.getQualifiers(); in mergeTypes()
13047 Qualifiers RQ = R.getQualifiers(); in getCommonArrayElementType()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DType.h1088 Qualifiers getQualifiers() const;
1424 Qualifiers Q = getQualifiers();
1425 Qualifiers TQ = T.getQualifiers();
1445 return getQualifiers().getObjCLifetime();
1449 return getQualifiers().hasNonTrivialObjCLifetime();
1453 return getQualifiers().hasStrongOrWeakObjCLifetime();
1460 return getQualifiers().getPointerAuth();
1744 Qualifiers getQualifiers() const { return Quals; }
7699 addConsistentQualifiers(extQuals->getQualifiers());
7773 Qualifiers qs = eq->getQualifiers();
[all …]
H A DCanonicalType.h129 Qualifiers getQualifiers() const { return Stored.getLocalQualifiers(); } in getQualifiers() function
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenCL.cpp117 (*I)->getPointeeType().getQualifiers().getAddressSpace() != in checkBlockArgs()
558 auto Qual = RT.getQualifiers(); in checkBuiltinToAddr()
H A DSemaObjC.cpp575 << typeArg << typeArg.getQualifiers().getAsString() in applyObjCTypeArgs()
1331 Qualifiers ToQuals = ToPointee.getQualifiers(); in isObjCWritebackConversion()
1344 Qualifiers FromQuals = FromPointee.getQualifiers(); in isObjCWritebackConversion()
2196 Qualifiers::ObjCLifetime LifetimeQual = Ty.getQualifiers().getObjCLifetime(); in tryMakeVariablePseudoStrong()
2249 if (Ty.getLocalUnqualifiedType().getQualifiers().getObjCLifetime() == in handleExternallyRetainedAttr()
H A DSemaExprMember.cpp954 E->setType(Context.getQualifiedType(NewFPT, Ty.getQualifiers())); in BuildMemberExpr()
1676 S.Context.getCanonicalType(BaseExpr.get()->getType()).getQualifiers(); in LookupMemberExpr()
1852 Qualifiers BaseQuals = BaseType.getQualifiers(); in BuildFieldReferenceExpr()
1862 Context.getCanonicalType(MemberType).getQualifiers(); in BuildFieldReferenceExpr()
H A DSemaTemplateDeduction.cpp1314 Qualifiers ParamQs = ParamType.getQualifiers(); in hasInconsistentOrSupersetQualifiersOf()
1315 Qualifiers ArgQs = ArgType.getQualifiers(); in hasInconsistentOrSupersetQualifiersOf()
1373 if (ParamRef->getPointeeType().getQualifiers()) in isForwardingReference()
1570 Qualifiers PQuals = P.getQualifiers(), AQuals = A.getQualifiers(); in DeduceTemplateArgumentsByTypeMatch()
1668 Qualifiers DeducedQs = DeducedType.getQualifiers(); in DeduceTemplateArgumentsByTypeMatch()
1669 Qualifiers ParamQs = P.getQualifiers(); in DeduceTemplateArgumentsByTypeMatch()
1733 if (!A.getQualifiers().compatiblyIncludes(P.getQualifiers())) in DeduceTemplateArgumentsByTypeMatch()
1740 A = S.Context.getQualifiedType(A, P.getQualifiers()); in DeduceTemplateArgumentsByTypeMatch()
3667 Qualifiers AQuals = A.getQualifiers(); in CheckOriginalCallArgDeduction()
3668 Qualifiers DeducedAQuals = DeducedA.getQualifiers(); in CheckOriginalCallArgDeduction()
H A DSemaCast.cpp1454 Qualifiers DestPointeeQuals = DestPointee.getQualifiers(); in TryStaticCast()
1455 Qualifiers SrcPointeeQuals = SrcPointee.getQualifiers(); in TryStaticCast()
2521 !DestType->getPointeeType().getQualifiers().isAddressSpaceSupersetOf( in TryReinterpretCast()
2522 SrcType->getPointeeType().getQualifiers())) { in TryReinterpretCast()
3209 Qualifiers CastQuals = CastPtr->getPointeeType().getQualifiers(); in CheckCStyleCast()
3210 Qualifiers ExprQuals = ExprPtr->getPointeeType().getQualifiers(); in CheckCStyleCast()
H A DSemaInit.cpp4235 CandidateSet.setDestAS(DestType.getQualifiers().getAddressSpace()); in ResolveConstructorOverload()
5046 QualType cv1T4 = S.Context.getQualifiedType(cv3T3, cv1T1.getQualifiers()); in TryRefInitWithConversionFunction()
5047 if (cv1T4.getQualifiers() != cv3T3.getQualifiers()) in TryRefInitWithConversionFunction()
5302 auto T4Quals = cv1T4.getQualifiers(); in TryReferenceInitializationCore()
5552 if (DestType.getQualifiers().hasObjCLifetime()) { in TryDefaultInitialization()
5829 CandidateSet.setDestAS(DestType.getQualifiers().getAddressSpace()); in TryUserDefinedConversion()
8527 destPointeeType.getQualifiers().compatiblyIncludes( in emitBadConversionNotes()
8528 fromPointeeType.getQualifiers())) in emitBadConversionNotes()
8803 SourceType.getQualifiers() - NonRefType.getQualifiers(); in Diagnose()
8805 if (!NonRefType.getQualifiers().isAddressSpaceSupersetOf( in Diagnose()
[all …]
H A DSemaAccess.cpp402 if (FriendTy.getQualifiers() != ContextTy.getQualifiers()) in MightInstantiateTo()
H A DSemaSwift.cpp70 if (!Ty.getQualifiers().empty()) in isValidSwiftErrorResultType()
H A DSemaOverload.cpp2682 Qualifiers Quals = CanonFromPointee.getQualifiers(); in BuildSimilarlyQualifiedPointerType()
2859 Qualifiers TQs = T.getQualifiers(); in AdoptQualifiers()
2878 Qualifiers FromQualifiers = FromType.getQualifiers(); in isObjCPointerConversion()
3507 Qualifiers FromQuals = FromType.getQualifiers(); in isQualificationConversionStep()
3508 Qualifiers ToQuals = ToType.getQualifiers(); in isQualificationConversionStep()
4807 if (!T.getQualifiers().hasUnaligned()) in withoutUnaligned()
5211 Qualifiers T1Quals = T1.getQualifiers(); in TryReferenceInit()
5212 Qualifiers T2Quals = T2.getQualifiers(); in TryReferenceInit()
5745 Qualifiers QualsImplicitParamType = ImplicitParamType.getQualifiers(); in TryObjectArgumentInitialization()
5746 Qualifiers QualsFromType = FromTypeCanon.getQualifiers(); in TryObjectArgumentInitialization()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp654 if (!RefType->getPointeeType().getQualifiers() && in findFunctionArgMutation()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp508 if (CanResultTy.getQualifiers().hasObjCLifetime()) { in rewriteToObjCProperty()
509 Qualifiers Qs = CanResultTy.getQualifiers(); in rewriteToObjCProperty()

123