Home
last modified time | relevance | path

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

/frameworks/compile/slang/
Dslang_rs_export_var.cpp98 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()
Dslang_rs_export_foreach.cpp113 clang::QualType QT = PVD->getType().getCanonicalType(); in validateAndConstructOldStyleParams() local
115 if (!QT->isPointerType()) { in validateAndConstructOldStyleParams()
127 if (!QT->getPointeeType().isConstQualified()) { in validateAndConstructOldStyleParams()
223 clang::QualType QT = PVD->getType().getCanonicalType(); in validateAndConstructKernelParams() local
224 if (QT->isPointerType()) { in validateAndConstructKernelParams()
336 clang::QualType QT = PVD->getType().getCanonicalType(); in Create() local
337 slangAssert(QT->isPointerType() && in Create()
338 QT->getPointeeType().isConstQualified()); in Create()
341 if (QT->getPointeeType().getCanonicalType().getUnqualifiedType() == in Create()
360 QT->getPointeeType(), in Create()
[all …]
Dslang_rs_check_ast.cpp177 clang::QualType QT = PVD->getType().getCanonicalType(); in ValidateFunctionDecl() local
178 if (!RSExportType::ValidateType(Context, C, QT, PVD, PVD->getLocStart(), in ValidateFunctionDecl()
200 clang::QualType QT = VD->getType(); in ValidateVarDecl() local
204 const clang::Type *T = QT.getTypePtr(); in ValidateVarDecl()
213 if (!QT.isConstQualified()) { in ValidateVarDecl()
250 clang::QualType QT = CE->getType(); in VisitCastExpr() local
251 const clang::Type *T = QT.getTypePtr(); in VisitCastExpr()
Dslang_rs_special_func.cpp66 clang::QualType QT = PVD->getType().getCanonicalType(); in validateSpecialFuncDecl() local
67 if (QT != IntType) { in validateSpecialFuncDecl()
Dslang_rs_special_kernel_param.cpp118 const clang::QualType QT = Type.getCanonicalType(); in processSpecialKernelParameters() local
119 const clang::QualType UT = QT.getUnqualifiedType(); in processSpecialKernelParameters()
Dslang_rs_export_type.h45 inline const clang::Type* GetCanonicalType(clang::QualType QT) { in GetCanonicalType() argument
46 return GetCanonicalType(QT.getTypePtr()); in GetCanonicalType()
269 clang::QualType QT, const clang::NamedDecl *ND,
Dslang_rs_object_ref_count.cpp901 clang::QualType QT = LHS->getType(); in CreateStructRSSetObject() local
902 const clang::Type *T = QT.getTypePtr(); in CreateStructRSSetObject()
1001 new(C) clang::BinaryOperator(LHS, RHS, clang::BO_Assign, QT, in CreateStructRSSetObject()
1051 clang::QualType QT = AS->getType(); in ReplaceRSObjectAssignment() local
1060 if (!RSExportPrimitiveType::IsRSObjectType(QT.getTypePtr())) { in ReplaceRSObjectAssignment()
1445 clang::QualType QT = Param->getType(); in HandleParamsAndLocals() local
1446 if (CountRSObjectTypes(QT.getTypePtr())) { in HandleParamsAndLocals()
1653 clang::QualType QT = AS->getType(); in VisitBinAssign() local
1655 if (CountRSObjectTypes(QT.getTypePtr())) { in VisitBinAssign()
Dslang_rs_export_type.cpp573 clang::QualType QT = T->getCanonicalTypeInternal(); in ValidateTypeHelper() local
574 if (QT == C.DoubleTy || in ValidateTypeHelper()
575 QT == C.LongDoubleTy || in ValidateTypeHelper()
576 QT == C.LongTy || in ValidateTypeHelper()
577 QT == C.LongLongTy) { in ValidateTypeHelper()
706 clang::QualType QT, const clang::NamedDecl *ND, in ValidateType() argument
710 const clang::Type *T = QT.getTypePtr(); in ValidateType()
Dslang_rs_context.cpp241 clang::QualType QT = VD->getTypeSourceInfo()->getType(); in processExports() local
242 if (QT.isConstQualified() && !VD->hasInit()) { in processExports()
Dslang_backend.cpp659 clang::QualType QT = PVD->getOriginalType(); in HandleTopLevelDecl() local
660 if (QT->isArrayType()) { in HandleTopLevelDecl()
664 << QT; in HandleTopLevelDecl()