Home
last modified time | relevance | path

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

/frameworks/compile/slang/
Dslang_rs_export_foreach.cpp105 clang::QualType QT = PVD->getType().getCanonicalType(); in validateAndConstructParams() local
108 if (QT->isPointerType() && QT->getPointeeType().isConstQualified()) { in validateAndConstructParams()
116 QT = PVD->getType().getCanonicalType(); in validateAndConstructParams()
117 if (QT->isPointerType() && !QT->getPointeeType().isConstQualified()) { in validateAndConstructParams()
136 QT = PVD->getType().getCanonicalType(); in validateAndConstructParams()
137 if (QT->isPointerType() && QT->getPointeeType().isConstQualified()) { in validateAndConstructParams()
145 QT = PVD->getType().getCanonicalType(); in validateAndConstructParams()
147 if (QT.getUnqualifiedType() != C.UnsignedIntTy) { in validateAndConstructParams()
274 clang::QualType QT; in validateAndConstructKernelParams() local
278 QT = PVD->getType().getCanonicalType(); in validateAndConstructKernelParams()
[all …]
Dslang_rs_export_var.cpp111 clang::QualType QT = VD->getTypeSourceInfo()->getType(); in RSExportVar() local
112 if (!QT.isNull()) { in RSExportVar()
113 mIsConst = QT.isConstQualified(); in RSExportVar()
114 mIsUnsigned = QT->hasUnsignedIntegerRepresentation(); in RSExportVar()
115 if (QT == Context->getASTContext().BoolTy) { in RSExportVar()
Dslang_rs_check_ast.cpp59 clang::QualType QT = PVD->getType().getCanonicalType(); in ValidateFunctionDecl() local
60 if (!RSExportType::ValidateType(C, QT, PVD, PVD->getLocStart(), in ValidateFunctionDecl()
83 clang::QualType QT = VD->getType(); in ValidateVarDecl() local
87 const clang::Type *T = QT.getTypePtr(); in ValidateVarDecl()
95 if (!QT.isConstQualified()) { in ValidateVarDecl()
Dslang_rs_backend.cpp116 clang::QualType QT = PVD->getOriginalType(); in HandleTopLevelDecl() local
117 if (QT->isArrayType()) { in HandleTopLevelDecl()
122 "not have array type: %0")) << QT; in HandleTopLevelDecl()
Dslang_rs_export_type.cpp454 clang::QualType QT = T->getCanonicalTypeInternal(); in ValidateTypeHelper() local
455 if (QT == C.DoubleTy || in ValidateTypeHelper()
456 QT == C.LongDoubleTy || in ValidateTypeHelper()
457 QT == C.LongTy || in ValidateTypeHelper()
458 QT == C.LongLongTy) { in ValidateTypeHelper()
573 bool RSExportType::ValidateType(clang::ASTContext &C, clang::QualType QT, in ValidateType() argument
576 const clang::Type *T = QT.getTypePtr(); in ValidateType()
Dslang_rs_object_ref_count.cpp1006 clang::QualType QT = LHS->getType(); in CreateStructRSSetObject() local
1007 const clang::Type *T = QT.getTypePtr(); in CreateStructRSSetObject()
1101 new(C) clang::BinaryOperator(LHS, RHS, clang::BO_Assign, QT, in CreateStructRSSetObject()
1119 clang::QualType QT = AS->getType(); in ReplaceRSObjectAssignment() local
1128 if (!RSExportPrimitiveType::IsRSObjectType(QT.getTypePtr())) { in ReplaceRSObjectAssignment()
1503 clang::QualType QT = AS->getType(); in VisitBinAssign() local
1505 if (CountRSObjectTypes(mCtx, QT.getTypePtr(), AS->getExprLoc())) { in VisitBinAssign()
Dslang_rs_export_type.h163 static bool ValidateType(clang::ASTContext &C, clang::QualType QT,