Home
last modified time | relevance | path

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

/frameworks/compile/slang/
Dslang_rs_export_foreach.cpp112 const clang::ParmVarDecl *PVD = FD->getParamDecl(i); in validateAndConstructOldStyleParams() local
113 clang::QualType QT = PVD->getType().getCanonicalType(); in validateAndConstructOldStyleParams()
116 Context->ReportError(PVD->getLocation(), in validateAndConstructOldStyleParams()
121 << PVD->getName() << PVD->getType().getAsString(); in validateAndConstructOldStyleParams()
129 mOut = PVD; in validateAndConstructOldStyleParams()
131 Context->ReportError(PVD->getLocation(), in validateAndConstructOldStyleParams()
135 << FD->getName() << mOut->getName() << PVD->getName(); in validateAndConstructOldStyleParams()
140 mIns.push_back(PVD); in validateAndConstructOldStyleParams()
142 mUsrData = PVD; in validateAndConstructOldStyleParams()
145 PVD->getLocation(), in validateAndConstructOldStyleParams()
[all …]
Dslang_rs_special_kernel_param.cpp115 const clang::ParmVarDecl *PVD = FD->getParamDecl(i); in processSpecialKernelParameters() local
116 const llvm::StringRef ParamName = PVD->getName(); in processSpecialKernelParameters()
117 const clang::QualType Type = PVD->getType(); in processSpecialKernelParameters()
130 PVD->getLocation(), in processSpecialKernelParameters()
141 Context->ReportError(PVD->getLocation(), in processSpecialKernelParameters()
156 Context->ReportError(PVD->getLocation(), in processSpecialKernelParameters()
168 PVD->getLocation(), in processSpecialKernelParameters()
182 Context->ReportError(PVD->getLocation(), in processSpecialKernelParameters()
193 PVD->getLocation(), in processSpecialKernelParameters()
209 Context->ReportError(PVD->getLocation(), in processSpecialKernelParameters()
Dslang_rs_special_func.cpp65 const clang::ParmVarDecl *PVD = FD->getParamDecl(0); in validateSpecialFuncDecl() local
66 clang::QualType QT = PVD->getType().getCanonicalType(); in validateSpecialFuncDecl()
68 Context->ReportError(PVD->getLocation(), in validateSpecialFuncDecl()
71 << PVD->getType(); in validateSpecialFuncDecl()
Dslang_rs_export_func.cpp79 const clang::ParmVarDecl *PVD = FD->getParamDecl(i); in Create() local
80 llvm::StringRef ParamName = PVD->getName(); in Create()
82 if (PVD->hasDefaultArg()) in Create()
93 PVD->getIdentifier(), in Create()
94 PVD->getOriginalType(), in Create()
Dslang_rs_check_ast.cpp176 clang::ParmVarDecl *PVD = FD->getParamDecl(i); in ValidateFunctionDecl() local
177 clang::QualType QT = PVD->getType().getCanonicalType(); in ValidateFunctionDecl()
178 if (!RSExportType::ValidateType(Context, C, QT, PVD, PVD->getLocStart(), in ValidateFunctionDecl()
Dslang_backend.cpp658 const clang::ParmVarDecl *PVD = FD->getParamDecl(i); in HandleTopLevelDecl() local
659 clang::QualType QT = PVD->getOriginalType(); in HandleTopLevelDecl()
662 PVD->getTypeSpecStartLoc(), in HandleTopLevelDecl()
Dslang_rs_object_ref_count.cpp71 const clang::ParmVarDecl *PVD = FD->getParamDecl(0); in GetRSRefCountingFunctions() local
72 clang::QualType PVT = PVD->getOriginalType(); in GetRSRefCountingFunctions()