Home
last modified time | relevance | path

Searched refs:RSContext (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/compile/slang/
Dslang_rs_export_type.h77 class RSContext; variable
218 RSExportType(RSContext *Context,
232 static RSExportType *Create(RSContext *Context,
261 RSContext *Context,
268 static bool ValidateType(slang::RSContext *Context, clang::ASTContext &C,
276 static bool ValidateVarDecl(slang::RSContext *Context, clang::VarDecl *VD,
280 static RSExportType *Create(RSContext *Context, const clang::Type *T,
284 static RSExportType *CreateFromDecl(RSContext *Context,
382 static RSExportPrimitiveType *Create(RSContext *Context,
388 RSExportPrimitiveType(RSContext *Context, in RSExportPrimitiveType()
[all …]
Dslang_rs_export_foreach.h75 RSExportForEach(RSContext *Context, const llvm::StringRef &Name, clang::SourceLocation Loc) in RSExportForEach()
85 bool validateAndConstructParams(RSContext *Context,
88 bool validateAndConstructOldStyleParams(RSContext *Context,
91 bool validateAndConstructKernelParams(RSContext *Context,
94 bool processSpecialParameters(RSContext *Context,
98 bool setSignatureMetadata(RSContext *Context,
101 static RSExportForEach *Create(RSContext *Context,
104 static RSExportForEach *CreateDummyRoot(RSContext *Context);
Dslang_rs_context.cpp49 RSContext::RSContext(clang::Preprocessor &PP, in RSContext() function in slang::RSContext
80 bool RSContext::processExportVar(const clang::VarDecl *VD) { in processExportVar()
96 int RSContext::getForEachSlotNumber(const clang::FunctionDecl* FD) { in getForEachSlotNumber()
101 int RSContext::getForEachSlotNumber(const clang::StringRef& funcName) { in getForEachSlotNumber()
109 bool RSContext::processExportFunc(const clang::FunctionDecl *FD) { in processExportFunc()
161 bool RSContext::addForEach(const clang::FunctionDecl* FD) { in addForEach()
174 bool RSContext::processExportType(const llvm::StringRef &Name) { in processExportType()
218 void RSContext::setAllocationType(const clang::TypeDecl* TD) { in setAllocationType()
222 void RSContext::setScriptCallType(const clang::TypeDecl* TD) { in setScriptCallType()
226 bool RSContext::processExports() { in processExports()
[all …]
Dslang_rs_pragma_handler.h32 class RSContext; variable
36 RSContext *mContext;
38 RSPragmaHandler(llvm::StringRef Name, RSContext *Context) in RSPragmaHandler()
42 RSContext *getContext() const { in getContext()
74 void AddPragmaHandlers(clang::Preprocessor &PP, RSContext *RsContext);
Dslang_rs_export_func.h38 class RSContext; variable
41 friend class RSContext; variable
49 RSExportFunc(RSContext *Context, const llvm::StringRef &Name, in RSExportFunc()
67 static RSExportFunc *Create(RSContext *Context,
Dslang_rs_export_element.h36 class RSContext; variable
57 static RSExportType *Create(RSContext *Context,
66 static RSExportType *CreateFromDecl(RSContext *Context,
Dslang_rs_exportable.h36 RSContext *mContext;
43 RSExportable(RSContext *Context, RSExportable::Kind K, clang::SourceLocation Loc) in RSExportable()
62 RSContext *getRSContext() const { return mContext; } in getRSContext()
Dslang_rs_foreach_lowering.h31 class RSContext; variable
35 explicit RSForEachLowering(RSContext* ctxt);
48 RSContext* mCtxt;
Dslang_rs_export_var.h31 class RSContext; variable
35 friend class RSContext; variable
48 RSExportVar(RSContext *Context,
Dslang_rs_special_kernel_param.h27 class RSContext; variable
34 RSContext *Context,
Dslang_rs_export_type.cpp183 slang::RSContext *Context,
189 static void ReportTypeError(slang::RSContext *Context, in ReportTypeError()
211 slang::RSContext *Context, in ConstantArrayTypeExportableHelper()
260 slang::RSContext *Context, in TypeExportableHelper()
436 slang::RSContext *Context, in TypeExportable()
445 static bool ValidateRSObjectInVarDecl(slang::RSContext *Context, in ValidateRSObjectInVarDecl()
487 slang::RSContext *Context, in ValidateTypeHelper()
684 RSContext *Context, in NormalizeType()
705 bool RSExportType::ValidateType(slang::RSContext *Context, clang::ASTContext &C, in ValidateType()
727 bool RSExportType::ValidateVarDecl(slang::RSContext *Context, in ValidateVarDecl()
[all …]
Dslang_rs_export_foreach.cpp55 RSContext *Context, const clang::FunctionDecl *FD) { in validateAndConstructParams()
87 RSContext *Context, const clang::FunctionDecl *FD) { in validateAndConstructOldStyleParams()
165 RSContext *Context, const clang::FunctionDecl *FD) { in validateAndConstructKernelParams()
254 RSContext *Context, const clang::FunctionDecl *FD, in processSpecialParameters()
268 bool RSExportForEach::setSignatureMetadata(RSContext *Context, in setSignatureMetadata()
309 RSExportForEach *RSExportForEach::Create(RSContext *Context, in Create()
426 RSExportForEach *RSExportForEach::CreateDummyRoot(RSContext *Context) { in CreateDummyRoot()
Dslang_rs_check_ast.h32 slang::RSContext *Context;
49 explicit RSCheckAST(RSContext *Con, unsigned int TargetAPI, in RSCheckAST()
Dslang_rs_pragma_handler.cpp48 RSExportTypePragmaHandler(llvm::StringRef Name, RSContext *Context) in RSExportTypePragmaHandler()
60 RSJavaPackageNamePragmaHandler(llvm::StringRef Name, RSContext *Context) in RSJavaPackageNamePragmaHandler()
129 RSReducePragmaHandler(llvm::StringRef Name, RSContext *Context) in RSReducePragmaHandler()
246 mContext->markUsedByReducePragma(FDecl, RSContext::CheckNameNo); in MarkUsed()
351 RSReflectLicensePragmaHandler(llvm::StringRef Name, RSContext *Context) in RSReflectLicensePragmaHandler()
381 RSVersionPragmaHandler(llvm::StringRef Name, RSContext *Context) in RSVersionPragmaHandler()
396 RSPrecisionPragmaHandler(llvm::StringRef Name, RSContext *Context) in RSPrecisionPragmaHandler()
565 void AddPragmaHandlers(clang::Preprocessor &PP, RSContext *RsContext) { in AddPragmaHandlers()
Dslang_backend.h57 class RSContext; variable
87 RSContext *mContext;
165 Backend(RSContext *Context,
Dslang_rs_reflection_cpp.h31 RSReflectionCpp(const RSContext *Context, const std::string &OutputDirectory,
49 const RSContext *mRSContext;
Dslang_rs_export_element.cpp71 RSExportType *RSExportElement::Create(RSContext *Context, in Create()
131 RSExportType *RSExportElement::CreateFromDecl(RSContext *Context, in CreateFromDecl()
Dslang_rs_export_func.cpp35 static bool ValidateFuncDecl(slang::RSContext *Context, in ValidateFuncDecl()
50 RSExportFunc *RSExportFunc::Create(RSContext *Context, in Create()
Dslang_rs_export_reduce.h80 RSExportReduce(RSContext *Context, in RSExportReduce()
133 static RSExportReduce *Create(RSContext *Context,
Dslang_rs_reflection.h36 class RSContext; variable
43 const RSContext *mRSContext;
307 RSReflectionJava(const RSContext *Context,
Dslang_rs_special_func.h58 slang::RSContext *Context,
Dslang_rs_context.h61 class RSContext {
138 RSContext(clang::Preprocessor &PP,
376 ~RSContext();
Dslang_rs_reflection_state.h32 class RSContext; variable
360 …void nextFile(const RSContext *RSC, const std::string &PackageName, const std::string &RSSourceFil…
375 const RSContext *mRSC;
Dslang_rs_reflection_cpp.cpp119 RSReflectionCpp::RSReflectionCpp(const RSContext *Context, in RSReflectionCpp()
224 for (RSContext::const_export_var_iterator I = mRSContext->export_vars_begin(), in genFieldsToStoreExportVariableValues()
249 for (RSContext::const_export_foreach_iterator in genForEachDeclarations()
300 for (RSContext::const_export_func_iterator in genExportFunctionDeclarations()
480 for (RSContext::const_export_var_iterator I = mRSContext->export_vars_begin(), in writeImplementationFile()
513 for (RSContext::const_export_var_iterator I = mRSContext->export_vars_begin(), in genExportVariablesGetterAndSetter()
Dslang.h73 class RSContext; variable
162 RSContext *mRSContext;

12