Searched refs:QT (Results 1 – 10 of 10) 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 | 113 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 …]
|
D | slang_rs_check_ast.cpp | 177 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()
|
D | slang_rs_special_func.cpp | 66 clang::QualType QT = PVD->getType().getCanonicalType(); in validateSpecialFuncDecl() local 67 if (QT != IntType) { in validateSpecialFuncDecl()
|
D | slang_rs_special_kernel_param.cpp | 118 const clang::QualType QT = Type.getCanonicalType(); in processSpecialKernelParameters() local 119 const clang::QualType UT = QT.getUnqualifiedType(); in processSpecialKernelParameters()
|
D | slang_rs_export_type.h | 45 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,
|
D | slang_rs_object_ref_count.cpp | 901 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()
|
D | slang_rs_export_type.cpp | 573 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()
|
D | slang_rs_context.cpp | 241 clang::QualType QT = VD->getTypeSourceInfo()->getType(); in processExports() local 242 if (QT.isConstQualified() && !VD->hasInit()) { in processExports()
|
D | slang_backend.cpp | 659 clang::QualType QT = PVD->getOriginalType(); in HandleTopLevelDecl() local 660 if (QT->isArrayType()) { in HandleTopLevelDecl() 664 << QT; in HandleTopLevelDecl()
|