Home
last modified time | relevance | path

Searched refs:QT (Results 1 – 25 of 92) sorted by last modified time

1234

/freebsd/share/misc/
H A Dpci_vendors29194 1775 6003 Telum GE-QT
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp3629 QualType QT = E->getArg(0)->getType(); in EmitBuiltinExpr() local
3632 QT = VecTy->getElementType(); in EmitBuiltinExpr()
3633 if (QT->isIntegerType()) in EmitBuiltinExpr()
3752 auto GetIntrinsicID = [](QualType QT) { in EmitBuiltinExpr() argument
3754 QT = VecTy->getElementType(); in EmitBuiltinExpr()
3755 if (QT->isSignedIntegerType()) in EmitBuiltinExpr()
3757 if (QT->isUnsignedIntegerType()) in EmitBuiltinExpr()
3767 auto GetIntrinsicID = [](QualType QT) { in EmitBuiltinExpr() argument
3769 QT = VecTy->getElementType(); in EmitBuiltinExpr()
3770 if (QT->isSignedIntegerType()) in EmitBuiltinExpr()
[all …]
H A DCodeGenModule.h1528 llvm::Constant *getNullPointer(llvm::PointerType *T, QualType QT);
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpenCLBuiltinEmitter.cpp918 auto QT = T->getValueAsDef("QTExpr"); in EmitQualTypeFinder() local
919 if (QT->getValueAsBit("IsAbstract") == 1) in EmitQualTypeFinder()
930 OS << " QT.push_back(" << QT->getValueAsString("TypeExpr") << ");\n"; in EmitQualTypeFinder()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUnixAPIChecker.cpp182 QualType QT = Arg->getType(); in CheckOpenVariant() local
183 if (!QT->isIntegerType()) { in CheckOpenVariant()
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/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/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()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp3200 QualType QT = Ty.get(); in GetTypeFromParser() local
3201 if (QT.isNull()) { in GetTypeFromParser()
3208 QT = LIT->getType(); in GetTypeFromParser()
3213 return QT; in GetTypeFromParser()
7502 const auto *AT = dyn_cast<AttributedType>(QT); in HandleWebAssemblyFuncrefAttr()
7517 QualType Pointee = QT->getPointeeType(); in HandleWebAssemblyFuncrefAttr()
7520 QT = State.getAttributedType(A, QT, S.Context.getPointerType(Pointee)); in HandleWebAssemblyFuncrefAttr()
7572 QualType Desugared = QT; in CheckNullabilityTypeSpecifier()
7597 QT = rebuildAttributedTypeWithoutNullability(S.Context, QT); in CheckNullabilityTypeSpecifier()
7667 QT = State->getAttributedType(A, QT, QT); in CheckNullabilityTypeSpecifier()
[all …]
H A DSemaOverload.cpp1815 QualType QT = Context.getFunctionType(FromFPT->getReturnType(), in IsFunctionConversion() local
1817 FromFn = QT->getAs<FunctionType>(); in IsFunctionConversion()
H A DSemaStmt.cpp4372 QualType QT; member in __anon0e2561651511::CatchHandlerType
4379 CatchHandlerType(QualType QT, Unique) : QT(QT), IsPointer(false) {} in CatchHandlerType() argument
4386 if (QT->isPointerType()) in CatchHandlerType()
4389 QT = QT.getUnqualifiedType(); in CatchHandlerType()
4390 if (IsPointer || QT->isReferenceType()) in CatchHandlerType()
4391 QT = QT->getPointeeType(); in CatchHandlerType()
4397 CatchHandlerType(QualType QT, bool IsPointer) in CatchHandlerType() argument
4398 : QT(QT), IsPointer(IsPointer) {} in CatchHandlerType()
4400 QualType underlying() const { return QT; } in underlying()
4409 return LHS.QT == RHS.QT; in operator ==()
[all …]
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 …]
H A DSemaStmtAsm.cpp852 QualType QT = TD->getUnderlyingType(); in LookupInlineAsmField() local
853 if (const auto *PT = QT->getAs<PointerType>()) in LookupInlineAsmField()
854 QT = PT->getPointeeType(); in LookupInlineAsmField()
855 RT = QT->getAs<RecordType>(); in LookupInlineAsmField()
H A DSemaOpenMP.cpp1097 void addMappedClassesQualTypes(QualType QT) { in addMappedClassesQualTypes() argument
1099 StackElem.MappedClassesQualTypes.insert(QT); in addMappedClassesQualTypes()
1103 bool isClassPreviouslyMapped(QualType QT) const { in isClassPreviouslyMapped()
1105 return StackElem.MappedClassesQualTypes.contains(QT); in isClassPreviouslyMapped()
H A DSemaExprObjC.cpp3847 QualType QT = TDNDecl->getUnderlyingType(); in getObjCBridgeAttr() local
3848 if (QT->isPointerType()) { in getObjCBridgeAttr()
3849 QT = QT->getPointeeType(); in getObjCBridgeAttr()
3850 if (const RecordType *RT = QT->getAs<RecordType>()) { in getObjCBridgeAttr()
H A DSemaExprCXX.cpp713 getUuidAttrOfType(Sema &SemaRef, QualType QT, in getUuidAttrOfType() argument
716 const Type *Ty = QT.getTypePtr(); in getUuidAttrOfType()
717 if (QT->isPointerType() || QT->isReferenceType()) in getUuidAttrOfType()
718 Ty = QT->getPointeeType().getTypePtr(); in getUuidAttrOfType()
719 else if (QT->isArrayType()) in getUuidAttrOfType()
H A DSemaExpr.cpp1761 QualType QT = Types[i]->getType(); in CreateGenericSelectionExpr() local
1762 if (QT->isArrayType()) in CreateGenericSelectionExpr()
1764 else if (QT.hasQualifiers() && in CreateGenericSelectionExpr()
1765 (!LangOpts.CPlusPlus || !QT->isRecordType())) in CreateGenericSelectionExpr()
1771 << QT << (Reason - 1); in CreateGenericSelectionExpr()
1846 QualType QT = ControllingExpr ? ControllingExpr->getType() in CreateGenericSelectionExpr() local
1849 return std::make_pair(SR, QT); in CreateGenericSelectionExpr()
3903 QualType QT = E->getType(); in CheckLoopHintExpr() local
3904 if (!QT->isIntegerType() || QT->isBooleanType() || QT->isCharType()) { in CheckLoopHintExpr()
10092 static bool isVector(QualType QT, QualType ElementType) { in isVector() argument
[all …]
H A DSemaDecl.cpp9707 QualType QT = FD->getType(); in checkIsValidOpenCLKernelParameter() local
9751 << QT->isPointerType() in checkIsValidOpenCLKernelParameter()
9752 << QT; in checkIsValidOpenCLKernelParameter()
13245 << 1 << 0 << QT << FD->getName(); in visitARCStrong()
13251 << 1 << 0 << QT << FD->getName(); in visitARCWeak()
13310 << 1 << 1 << QT << FD->getName(); in visitARCStrong()
13316 << 1 << 1 << QT << FD->getName(); in visitARCWeak()
13376 << 1 << 2 << QT << FD->getName(); in visitARCStrong()
13436 .visit(QT, nullptr, false); in checkNonTrivialCUnion()
13440 .visit(QT, nullptr, false); in checkNonTrivialCUnion()
[all …]
H A DSemaDeclAttr.cpp439 QualType QT = Exp->getType(); in isIntOrBool() local
440 return QT->isBooleanType() || QT->isIntegerType(); in isIntOrBool()
485 QualType QT = VD->getType(); in threadSafetyCheckIsPointer() local
486 if (QT->isAnyPointerType()) in threadSafetyCheckIsPointer()
747 if (!QT->isDependentType() && !typeHasCapability(S, QT)) { in checkAcquireOrderAttrCommon()
1544 if (!QT->isObjCIdType() && !QT->isObjCObjectType()) { in handleIBOutletCollection()
1569 if (QT->isAnyPointerType() || QT->isBlockPointerType()) in isValidPointerAttrType()
5964 return QT->isDependentType() || QT->isObjCRetainableType(); in isValidSubjectOfNSReturnsRetainedAttribute()
5968 return QT->isDependentType() || QT->isObjCObjectPointerType() || in isValidSubjectOfNSAttribute()
5973 return QT->isDependentType() || QT->isPointerType() || in isValidSubjectOfCFAttribute()
[all …]
H A DSemaDeclCXX.cpp13944 auto QT = Context.getFunctionType(ResultTy, Args, EPI); in setupImplicitSpecialMemberType() local
13945 SpecialMem->setType(QT); in setupImplicitSpecialMemberType()
H A DSemaDeclObjC.cpp5248 QualType QT = Context.getBaseElementType(Iv->getType()); in CollectIvarsToConstructOrDestruct() local
5249 if (QT->isRecordType()) in CollectIvarsToConstructOrDestruct()
H A DSemaChecking.cpp386 auto ValidCkdIntType = [](QualType QT) { in SemaBuiltinOverflow() argument
389 if (const auto *BT = QT.getCanonicalType()->getAs<BuiltinType>()) in SemaBuiltinOverflow()
H A DDeclSpec.cpp398 QualType QT = DS.getRepAsType().get(); in isDeclarationOfFunction() local
399 if (QT.isNull()) in isDeclarationOfFunction()
402 if (const LocInfoType *LIT = dyn_cast<LocInfoType>(QT)) in isDeclarationOfFunction()
403 QT = LIT->getType(); in isDeclarationOfFunction()
405 if (QT.isNull()) in isDeclarationOfFunction()
408 return QT->isFunctionType(); in isDeclarationOfFunction()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp3131 QualType QT = Ty.get().get().getCanonicalType(); in ParseParenExpression() local
3132 if (QT->isVectorType()) in ParseParenExpression()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreter.cpp779 QualType QT = V.getType(); in SetValueDataBasedOnQualType() local
780 if (const auto *ET = QT->getAs<EnumType>()) in SetValueDataBasedOnQualType()
781 QT = ET->getDecl()->getIntegerType(); in SetValueDataBasedOnQualType()
783 switch (QT->castAs<BuiltinType>()->getKind()) { in SetValueDataBasedOnQualType()

1234