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()
330 clang::QualType QT = PVD->getType().getCanonicalType(); in Create() local
331 slangAssert(QT->isPointerType() && in Create()
332 QT->getPointeeType().isConstQualified()); in Create()
335 if (QT->getPointeeType().getCanonicalType().getUnqualifiedType() == in Create()
354 QT->getPointeeType(), in Create()
[all …]
Dslang_rs_check_ast.cpp192 clang::QualType QT = PVD->getType().getCanonicalType(); in ValidateFunctionDecl() local
193 if (!RSExportType::ValidateType(Context, C, QT, PVD, PVD->getLocStart(), in ValidateFunctionDecl()
215 clang::QualType QT = VD->getType(); in ValidateVarDecl() local
219 const clang::Type *T = QT.getTypePtr(); in ValidateVarDecl()
228 if (!QT.isConstQualified()) { in ValidateVarDecl()
265 clang::QualType QT = CE->getType(); in VisitCastExpr() local
266 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.h44 inline const clang::Type* GetCanonicalType(clang::QualType QT) { in GetCanonicalType() argument
45 return GetCanonicalType(QT.getTypePtr()); in GetCanonicalType()
267 clang::QualType QT, const clang::NamedDecl *ND,
Dslang_rs_export_type.cpp569 clang::QualType QT = T->getCanonicalTypeInternal(); in ValidateTypeHelper() local
570 if (QT == C.DoubleTy || in ValidateTypeHelper()
571 QT == C.LongDoubleTy || in ValidateTypeHelper()
572 QT == C.LongTy || in ValidateTypeHelper()
573 QT == C.LongLongTy) { in ValidateTypeHelper()
702 clang::QualType QT, const clang::NamedDecl *ND, in ValidateType() argument
706 const clang::Type *T = QT.getTypePtr(); in ValidateType()
Dslang_rs_context.cpp240 clang::QualType QT = VD->getTypeSourceInfo()->getType(); in processExports() local
241 if (QT.isConstQualified() && !VD->hasInit()) { in processExports()
Dslang_rs_object_ref_count.cpp900 clang::QualType QT = LHS->getType(); in CreateStructRSSetObject() local
901 const clang::Type *T = QT.getTypePtr(); in CreateStructRSSetObject()
996 new(C) clang::BinaryOperator(LHS, RHS, clang::BO_Assign, QT, in CreateStructRSSetObject()
1046 clang::QualType QT = AS->getType(); in ReplaceRSObjectAssignment() local
1055 if (!RSExportPrimitiveType::IsRSObjectType(QT.getTypePtr())) { in ReplaceRSObjectAssignment()
1529 clang::QualType QT = AS->getType(); in VisitBinAssign() local
1531 if (CountRSObjectTypes(QT.getTypePtr())) { in VisitBinAssign()
Dslang_backend.cpp420 clang::QualType QT = PVD->getOriginalType(); in HandleTopLevelDecl() local
421 if (QT->isArrayType()) { in HandleTopLevelDecl()
425 << QT; in HandleTopLevelDecl()