Home
last modified time | relevance | path

Searched refs:QT (Results 1 – 25 of 92) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DQualTypeNames.cpp386 QT = Ctx.getPointerType(QT); in getFullyQualifiedType()
388 QT = Ctx.getQualifiedType(QT, Quals); in getFullyQualifiedType()
401 QT = Ctx.getQualifiedType(QT, Quals); in getFullyQualifiedType()
415 QT = Ctx.getLValueReferenceType(QT); in getFullyQualifiedType()
417 QT = Ctx.getRValueReferenceType(QT); in getFullyQualifiedType()
419 QT = Ctx.getQualifiedType(QT, Quals); in getFullyQualifiedType()
434 QT = Ctx.getQualifiedType(QT, Quals); in getFullyQualifiedType()
442 QT = QualType(QT.getTypePtr(), 0); in getFullyQualifiedType()
475 QT = Ctx.getElaboratedType(Keyword, Prefix, QT); in getFullyQualifiedType()
477 QT = Ctx.getQualifiedType(QT, PrefixQualifiers); in getFullyQualifiedType()
[all …]
H A DPrintfFormatString.cpp694 if (QT->isObjCRetainableType()) { in fixType()
713 if (QT->isPointerType() && (QT->getPointeeType()->isAnyCharacterType())) { in fixType()
731 QT = ETy->getDecl()->getIntegerType(); in fixType()
737 QT = VT->getElementType(); in fixType()
738 BT = QT->getAs<BuiltinType>(); in fixType()
853 namedTypeToLengthModifier(QT, LM); in fixType()
861 if (QT->isSignedIntegerType()) in fixType()
882 if (!QT->getAs<TypedefType>() && QT->isCharType()) { in fixType()
891 else if (QT->isRealFloatingType()) { in fixType()
893 } else if (QT->isSignedIntegerType()) { in fixType()
[all …]
H A DASTDiagnostic.cpp35 const Type *Ty = QC.strip(QT); in desugarForDiagnostic()
39 QT = ET->desugar(); in desugarForDiagnostic()
44 QT = UT->desugar(); in desugarForDiagnostic()
49 QT = PT->desugar(); in desugarForDiagnostic()
54 QT = MDT->desugar(); in desugarForDiagnostic()
60 QT = ST->desugar(); in desugarForDiagnostic()
65 QT = AT->desugar(); in desugarForDiagnostic()
70 QT = AT->desugar(); in desugarForDiagnostic()
77 QT = AT->desugar(); in desugarForDiagnostic()
208 QT = Underlying; in desugarForDiagnostic()
[all …]
H A DScanfFormatString.cpp414 bool ScanfSpecifier::fixType(QualType QT, QualType RawQT, in fixType() argument
422 if (!QT->isPointerType()) in fixType()
425 QualType PT = QT->getPointeeType(); in fixType()
511 if (AT.isValid() && AT.matchesType(Ctx, QT)) in fixType()
H A DExprObjC.cpp267 QualType QT = MD->getReturnType(); in getCallReturnType() local
268 if (QT == Ctx.getObjCInstanceType()) { in getCallReturnType()
272 return QT; in getCallReturnType()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp208 QT = IsVolatile ? QT.withVolatile() : QT; in getName()
682 Addrs[SrcIdx], QT.isVolatileQualified(), QT, SourceLocation()); in visitARCStrong()
744 Addrs[SrcIdx], QT.isVolatileQualified(), QT, SourceLocation()); in visitARCStrong()
815 QualType QT = Dst.getType(); in defaultInitNonTrivialCStructVar() local
816 QT = Dst.isVolatile() ? QT.withVolatile() : QT; in defaultInitNonTrivialCStructVar()
827 QT = IsVolatile ? QT.withVolatile() : QT; in callSpecialFunction()
835 QT = IsVolatile ? QT.withVolatile() : QT; in getSpecialFunction()
846 QualType QT = Dst.getType(); in callCStructDefaultConstructor() local
870 QualType QT = Dst.getType(); in callCStructDestructor() local
881 QualType QT = Dst.getType(); in callCStructCopyConstructor() local
[all …]
H A DCGObjCRuntime.cpp442 QualType QT = param->getType(); in destroyCalleeDestroyedArguments() local
443 auto *RT = QT->getAs<RecordType>(); in destroyCalleeDestroyedArguments()
446 QualType::DestructionKind DtorKind = QT.isDestructedType(); in destroyCalleeDestroyedArguments()
449 CGF.destroyCXXObject(CGF, RV.getAggregateAddress(), QT); in destroyCalleeDestroyedArguments()
452 CGF.destroyNonTrivialCStruct(CGF, RV.getAggregateAddress(), QT); in destroyCalleeDestroyedArguments()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaRISCVVectorLookup.cpp88 QualType QT; in RVVType2Qual() local
91 QT = Context.VoidTy; in RVVType2Qual()
103 QT = Context.LongTy; in RVVType2Qual()
106 QT = Context.BoolTy; in RVVType2Qual()
115 QT = Context.BFloat16Ty; in RVVType2Qual()
123 QT = Context.FloatTy; in RVVType2Qual()
138 QT = Context.getScalableVectorType(QT, *Type->getScale(), Type->getNF()); in RVVType2Qual()
140 QT = Context.getScalableVectorType(QT, *Type->getScale()); in RVVType2Qual()
144 QT = Context.getConstType(QT); in RVVType2Qual()
148 QT = Context.getPointerType(QT); in RVVType2Qual()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DXCore.cpp462 if (QT.isConstQualified()) in appendQualifier()
464 if (QT.isRestrictQualified()) in appendQualifier()
466 if (QT.isVolatileQualified()) in appendQualifier()
555 appendQualifier(Enc, QT); in appendArrayType()
602 QualType QT = QType.getCanonicalType(); in appendType() local
607 return appendArrayType(Enc, QT, AT, CGM, TSC, ""); in appendType()
609 appendQualifier(Enc, QT); in appendType()
617 if (const EnumType *ET = QT->getAs<EnumType>()) in appendType()
623 if (const RecordType *RT = QT->getAsUnionType()) in appendType()
647 QualType QT = VD->getType().getCanonicalType(); in getTypeString() local
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h133 QualType QT);
143 QualType QT);
153 QualType QT);
161 bool IsVolatile, QualType QT);
169 bool IsVolatile, QualType QT);
177 bool IsVolatile, QualType QT);
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DRetainSummaryManager.cpp87 !cocoa::isCocoaObjectRef(QT)) in hasAnyEnabledAttrOf()
172 static bool isOSObjectPtr(QualType QT) { in isOSObjectPtr() argument
230 QT = QT.getCanonicalType(); in isKnownSmartPointer()
231 const auto *RD = QT->getAsCXXRecordDecl(); in isKnownSmartPointer()
637 QualType QT = (*pi)->getType(); in updateSummaryForArgumentTypes() local
645 if (isISLObjectRef(QT)) { in updateSummaryForArgumentTypes()
647 } else if (isOSObjectPtr(QT)) { in updateSummaryForArgumentTypes()
890 static bool hasTypedefNamed(QualType QT, in hasTypedefNamed() argument
914 QualType QT = pd->getType(); in applyParamAnnotationEffect() local
940 bool ShouldSplit = !QT.isNull() && !QT->isVoidType(); in applyParamAnnotationEffect()
[all …]
H A DConsumed.cpp143 static bool isConsumableType(const QualType &QT) { in isConsumableType() argument
144 if (QT->isPointerType() || QT->isReferenceType()) in isConsumableType()
147 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl()) in isConsumableType()
153 static bool isAutoCastType(const QualType &QT) { in isAutoCastType() argument
154 if (QT->isPointerType() || QT->isReferenceType()) in isAutoCastType()
157 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl()) in isAutoCastType()
163 static bool isSetOnReadPtrType(const QualType &QT) { in isSetOnReadPtrType() argument
164 if (const CXXRecordDecl *RD = QT->getPointeeCXXRecordDecl()) in isSetOnReadPtrType()
193 static ConsumedState mapConsumableAttrState(const QualType QT) { in mapConsumableAttrState() argument
194 assert(isConsumableType(QT)); in mapConsumableAttrState()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DValue.cpp100 static Value::Kind ConvertQualTypeToKind(const ASTContext &Ctx, QualType QT) { in ConvertQualTypeToKind() argument
101 if (Ctx.hasSameType(QT, Ctx.VoidTy)) in ConvertQualTypeToKind()
104 if (const auto *ET = QT->getAs<EnumType>()) in ConvertQualTypeToKind()
105 QT = ET->getDecl()->getIntegerType(); in ConvertQualTypeToKind()
107 const auto *BT = QT->getAs<BuiltinType>(); in ConvertQualTypeToKind()
111 switch (QT->castAs<BuiltinType>()->getKind()) { in ConvertQualTypeToKind()
H A DInterpreterUtils.cpp105 std::string GetFullTypeName(ASTContext &Ctx, QualType QT) { in GetFullTypeName() argument
109 return QT.getAsString(Policy); in GetFullTypeName()
H A DInterpreterUtils.h51 std::string GetFullTypeName(ASTContext &Ctx, QualType QT);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DQualTypeNames.h75 std::string getFullyQualifiedName(QualType QT, const ASTContext &Ctx,
88 QualType getFullyQualifiedType(QualType QT, const ASTContext &Ctx,
H A DDataCollection.h48 template <class T> void addDataToConsumer(T &DataConsumer, const QualType &QT) { in addDataToConsumer() argument
49 addDataToConsumer(DataConsumer, QT.getAsString()); in addDataToConsumer()
H A DTemplateBase.h118 void *QT;
182 void initFromDeclaration(ValueDecl *D, QualType QT, bool IsDefaulted);
200 TemplateArgument(ValueDecl *D, QualType QT, bool IsDefaulted = false) {
201 initFromDeclaration(D, QT, IsDefaulted);
333 return QualType::getFromOpaquePtr(DeclArg.QT);
H A DASTDiagnostic.h39 QualType desugarForDiagnostic(ASTContext &Context, QualType QT,
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DFuchsiaHandleChecker.cpp275 getFuchsiaHandleSymbols(QualType QT, SVal Arg, ProgramStateRef State) { in getFuchsiaHandleSymbols() argument
277 while (QT->isAnyPointerType() || QT->isReferenceType()) { in getFuchsiaHandleSymbols()
279 QT = QT->getPointeeType(); in getFuchsiaHandleSymbols()
281 if (QT->isStructureType()) { in getFuchsiaHandleSymbols()
288 if (const auto *HandleType = QT->getAs<TypedefType>()) { in getFuchsiaHandleSymbols()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLocalVarsChecker.cpp58 QualType QT = V->getType(); in isRefcountedStringsHack() local
59 auto *T = QT.getTypePtr(); in isRefcountedStringsHack()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp1132 QualType QT = PDecl->getType(); in RewriteObjCMethodDecl() local
2193 QualType QT = ND->getType(); in RewriteTypeOfDecl() local
2200 TypePtr = QT->getAs<Type>(); in RewriteTypeOfDecl()
3280 QualType QT = (*AI)->getType(); in SynthesizeBlockFunc() local
3328 QualType QT = (*I)->getType(); in SynthesizeBlockFunc() local
3330 QT = Context->getPointerType(QT); in SynthesizeBlockFunc()
3422 QualType QT = (*I)->getType(); in SynthesizeBlockImpl() local
3424 QT = Context->getPointerType(QT); in SynthesizeBlockImpl()
3895 QualType QT = CE->getType(); in RewriteCastExpr() local
4450 QT = Context->getPointerType(QT); in SynthBlockInitExpr()
[all …]
H A DRewriteModernObjC.cpp1299 QualType QT = PDecl->getType(); in RewriteObjCMethodDecl() local
2280 QualType QT = ND->getType(); in RewriteTypeOfDecl() local
2287 TypePtr = QT->getAs<Type>(); in RewriteTypeOfDecl()
4070 QualType QT = (*AI)->getType(); in SynthesizeBlockFunc() local
4118 QualType QT = (*I)->getType(); in SynthesizeBlockFunc() local
4120 QT = Context->getPointerType(QT); in SynthesizeBlockFunc()
4214 QT = Context->getPointerType(QT); in SynthesizeBlockImpl()
4726 QualType QT = CE->getType(); in RewriteCastExpr() local
4757 QualType QT = IC->getType(); in RewriteImplicitCastObjCExpr() local
5312 QT = Context->getPointerType(QT); in SynthBlockInitExpr()
[all …]
/freebsd-14.2/crypto/openssl/crypto/bn/asm/
H A Dmips.pl940 $QT=$ta0;
953 li $QT,-1
958 mfqt ($QT,$a0,$DH)
960 $MULTU ($a2,$QT)
964 mflo ($t0,$a2,$QT)
965 mfhi ($t1,$a2,$QT)
978 $SUBU $QT,1
986 li $QT,-1
993 $MULTU ($a2,$QT)
1011 $SUBU $QT,1
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp84 static std::string getPrettyTypeName(QualType QT) { in getPrettyTypeName() argument
85 QualType PT = QT->getPointeeType(); in getPrettyTypeName()
86 if (!PT.isNull() && !QT->getAs<TypedefType>()) in getPrettyTypeName()
89 return QT.getAsString(); in getPrettyTypeName()
203 static std::string findAllocatedObjectName(const Stmt *S, QualType QT) { in findAllocatedObjectName() argument
207 return getPrettyTypeName(QT); in findAllocatedObjectName()

1234