Searched refs:QT (Results 1 – 7 of 7) sorted by relevance
/frameworks/compile/slang/ |
D | slang_rs_export_var.cpp | 98 clang::QualType QT = VD->getTypeSourceInfo()->getType(); in RSExportVar() local 99 if (!QT.isNull()) { in RSExportVar() 100 mIsConst = QT.isConstQualified(); in RSExportVar() 101 mIsUnsigned = QT->hasUnsignedIntegerRepresentation(); in RSExportVar() 102 if (QT == Context->getASTContext().BoolTy) { in RSExportVar()
|
D | slang_rs_export_foreach.cpp | 97 clang::QualType QT = PVD->getType().getCanonicalType(); in validateAndConstructOldStyleParams() local 99 if (!QT->isPointerType()) { in validateAndConstructOldStyleParams() 110 if (!QT->getPointeeType().isConstQualified()) { in validateAndConstructOldStyleParams() 201 clang::QualType QT = PVD->getType().getCanonicalType(); in validateAndConstructKernelParams() local 202 if (QT->isPointerType()) { in validateAndConstructKernelParams() 266 clang::QualType QT = PVD->getType().getCanonicalType(); in validateIterationParameters() local 267 clang::QualType UT = QT.getUnqualifiedType(); in validateIterationParameters() 358 clang::QualType QT = PVD->getType().getCanonicalType(); in Create() local 359 slangAssert(QT->isPointerType() && in Create() 360 QT->getPointeeType().isConstQualified()); in Create() [all …]
|
D | slang_rs_check_ast.cpp | 166 clang::QualType QT = PVD->getType().getCanonicalType(); in ValidateFunctionDecl() local 167 if (!RSExportType::ValidateType(Context, C, QT, PVD, PVD->getLocStart(), in ValidateFunctionDecl() 190 clang::QualType QT = VD->getType(); in ValidateVarDecl() local 194 const clang::Type *T = QT.getTypePtr(); in ValidateVarDecl() 202 if (!QT.isConstQualified()) { in ValidateVarDecl() 239 clang::QualType QT = CE->getType(); in VisitCastExpr() local 240 const clang::Type *T = QT.getTypePtr(); in VisitCastExpr()
|
D | slang_rs_export_type.h | 44 inline const clang::Type* GetCanonicalType(clang::QualType QT) { in GetCanonicalType() argument 45 return GetCanonicalType(QT.getTypePtr()); in GetCanonicalType() 238 clang::QualType QT, clang::NamedDecl *ND,
|
D | slang_rs_export_type.cpp | 531 clang::QualType QT = T->getCanonicalTypeInternal(); in ValidateTypeHelper() local 532 if (QT == C.DoubleTy || in ValidateTypeHelper() 533 QT == C.LongDoubleTy || in ValidateTypeHelper() 534 QT == C.LongTy || in ValidateTypeHelper() 535 QT == C.LongLongTy) { in ValidateTypeHelper() 646 clang::QualType QT, clang::NamedDecl *ND, in ValidateType() argument 649 const clang::Type *T = QT.getTypePtr(); in ValidateType()
|
D | slang_rs_backend.cpp | 112 clang::QualType QT = PVD->getOriginalType(); in HandleTopLevelDecl() local 113 if (QT->isArrayType()) { in HandleTopLevelDecl() 117 << QT; in HandleTopLevelDecl()
|
D | slang_rs_object_ref_count.cpp | 988 clang::QualType QT = LHS->getType(); in CreateStructRSSetObject() local 989 const clang::Type *T = QT.getTypePtr(); in CreateStructRSSetObject() 1082 new(C) clang::BinaryOperator(LHS, RHS, clang::BO_Assign, QT, in CreateStructRSSetObject() 1100 clang::QualType QT = AS->getType(); in ReplaceRSObjectAssignment() local 1109 if (!RSExportPrimitiveType::IsRSObjectType(QT.getTypePtr())) { in ReplaceRSObjectAssignment() 1476 clang::QualType QT = AS->getType(); in VisitBinAssign() local 1478 if (CountRSObjectTypes(mCtx, QT.getTypePtr(), AS->getExprLoc())) { in VisitBinAssign()
|