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() 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 …]
|
D | slang_rs_check_ast.cpp | 192 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()
|
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 | 44 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,
|
D | slang_rs_export_type.cpp | 569 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()
|
D | slang_rs_context.cpp | 240 clang::QualType QT = VD->getTypeSourceInfo()->getType(); in processExports() local 241 if (QT.isConstQualified() && !VD->hasInit()) { in processExports()
|
D | slang_rs_object_ref_count.cpp | 900 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()
|
D | slang_backend.cpp | 420 clang::QualType QT = PVD->getOriginalType(); in HandleTopLevelDecl() local 421 if (QT->isArrayType()) { in HandleTopLevelDecl() 425 << QT; in HandleTopLevelDecl()
|