Home
last modified time | relevance | path

Searched refs:Decl (Results 1 – 9 of 9) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_export_reduce.cpp172 for (auto Decl : TUDecl->lookup(II)) { in lookupFunction() local
173 clang::FunctionDecl *FDecl = Decl->getAsFunction(); in lookupFunction()
681 clang::VarDecl *const Decl; in analyzeResultType() member
696 S.RSC.ReportError(ResultInfo.Decl->getLocation(), in analyzeResultType()
699 << ResultInfo.Decl->getName() << ResultInfo.QType.getAsString() in analyzeResultType()
702 S.RSC.ReportError(ResultInfo.Decl->getLocation(), in analyzeResultType()
705 << ResultInfo.Decl->getName() << ResultInfo.QType.getAsString() in analyzeResultType()
708 S.RSC.ReportError(ResultInfo.Decl->getLocation(), in analyzeResultType()
711 << ResultInfo.Decl->getName() << ResultInfo.QType.getAsString() in analyzeResultType()
714 ResultInfo.Decl, ResultInfo.Decl->getLocStart(), in analyzeResultType()
[all …]
Dslang_rs_context.cpp196 case clang::Decl::Typedef: { in processExportType()
201 case clang::Decl::Record: { in processExportType()
235 clang::Decl* D = *I; in processExports()
237 case clang::Decl::Var: { in processExports()
265 case clang::Decl::Function: { in processExports()
Dslang_rs_check_ast.cpp43 clang::FunctionDecl *Decl; in WarnOnSetElementAt() local
44 Decl = clang::dyn_cast_or_null<clang::FunctionDecl>(E->getCalleeDecl()); in WarnOnSetElementAt()
46 if (!Decl || Decl->getNameAsString() != std::string("rsSetElementAt")) { in WarnOnSetElementAt()
Dslang_rs_object_ref_count.cpp52 if ((I->getKind() >= clang::Decl::firstFunction) && in GetRSRefCountingFunctions()
53 (I->getKind() <= clang::Decl::lastFunction)) { in GetRSRefCountingFunctions()
412 clang::Decl *IID = (clang::Decl *)IIVD; in ClearArrayRSObject()
1379 clang::Decl* Decls[] = { TmpDecl }; in CreateGuard()
1521 clang::Decl *D = *I; in VisitDeclStmt()
1522 if (D->getKind() == clang::Decl::Var) { in VisitDeclStmt()
1599 clang::Decl* Decls[] = { TempVarDecl }; in VisitCallExpr()
Dslang_rs_ast_replace.cpp92 for (clang::Decl* D : DS->decls()) { in VisitDeclStmt()
Dslang_rs_pragma_handler.cpp240 for (auto Decl : TUDecl->lookup(II)) { in MarkUsed() local
241 clang::FunctionDecl *FDecl = Decl->getAsFunction(); in MarkUsed()
Dslang_backend.cpp407 for (clang::Decl* D : RD->decls()) { in PadStruct()
739 if ((I->getKind() >= clang::Decl::firstFunction) && in HandleTranslationUnitPre()
740 (I->getKind() <= clang::Decl::lastFunction)) { in HandleTranslationUnitPre()
Dslang_rs_foreach_lowering.cpp97 const clang::Decl* D = CE->getCalleeDecl(); in matchKernelLaunchCall()
Dslang_rs_export_type.cpp1522 slangAssert(FI->getKind() == clang::Decl::Field); in Create()