Home
last modified time | relevance | path

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

/frameworks/compile/slang/
Dslang_rs_pragma_handler.h32 class RSContext; variable
36 RSContext *mContext;
38 RSPragmaHandler(llvm::StringRef Name, RSContext *Context) in RSPragmaHandler()
43 RSContext *getContext() const { in getContext()
68 static RSPragmaHandler *CreatePragmaExportTypeHandler(RSContext *Context);
70 RSContext *Context);
71 static RSPragmaHandler *CreatePragmaReflectLicenseHandler(RSContext *Context);
72 static RSPragmaHandler *CreatePragmaVersionHandler(RSContext *Context);
Dslang_rs_export_type.h62 class RSContext; variable
113 RSExportType(RSContext *Context,
124 static RSExportType *Create(RSContext *Context,
165 static RSExportType *Create(RSContext *Context, const clang::Type *T);
166 static RSExportType *CreateFromDecl(RSContext *Context,
253 static RSExportPrimitiveType *Create(RSContext *Context,
259 RSExportPrimitiveType(RSContext *Context, in RSExportPrimitiveType()
274 static DataType GetDataType(RSContext *Context, const clang::Type *T);
282 static RSExportPrimitiveType *Create(RSContext *Context,
325 RSExportPointerType(RSContext *Context, in RSExportPointerType()
[all …]
Dslang_rs_context.cpp45 RSContext::RSContext(clang::Preprocessor &PP, in RSContext() function in slang::RSContext
85 bool RSContext::processExportVar(const clang::VarDecl *VD) { in processExportVar()
103 bool RSContext::processExportFunc(const clang::FunctionDecl *FD) { in processExportFunc()
139 bool RSContext::processExportType(const llvm::StringRef &Name) { in processExportType()
187 void RSContext::cleanupForEach() { in cleanupForEach()
219 bool RSContext::processExport() { in processExport()
267 bool RSContext::insertExportType(const llvm::StringRef &TypeName, in insertExportType()
283 bool RSContext::reflectToJava(const std::string &OutputPathBase, in reflectToJava()
319 RSContext::~RSContext() { in ~RSContext()
Dslang_rs_export_func.h42 class RSContext; variable
45 friend class RSContext; variable
53 RSExportFunc(RSContext *Context, const llvm::StringRef &Name, in RSExportFunc()
73 static RSExportFunc *Create(RSContext *Context,
Dslang_rs_exportable.h34 RSContext *mContext;
39 RSExportable(RSContext *Context, RSExportable::Kind K) in RSExportable()
58 inline RSContext *getRSContext() const { return mContext; } in getRSContext()
Dslang_rs_reflection_cpp.cpp44 RSReflectionCpp::RSReflectionCpp(const RSContext *con) : in RSReflectionCpp()
105 for (RSContext::const_export_var_iterator I = mRSContext->export_vars_begin(), in makeHeader()
127 for (RSContext::const_export_var_iterator I = mRSContext->export_vars_begin(), in makeHeader()
155 for (RSContext::const_export_foreach_iterator I = mRSContext->export_foreach_begin(), in makeHeader()
190 for (RSContext::const_export_func_iterator I = mRSContext->export_funcs_begin(), in makeHeader()
257 for (RSContext::const_export_foreach_iterator I = mRSContext->export_foreach_begin(), in makeImpl()
297 for (RSContext::const_export_func_iterator I = mRSContext->export_funcs_begin(), in makeImpl()
Dslang_rs_export_element.h36 class RSContext; variable
57 static RSExportType *Create(RSContext *Context,
66 static RSExportType *CreateFromDecl(RSContext *Context,
Dslang_rs_pragma_handler.cpp43 RSExportTypePragmaHandler(llvm::StringRef Name, RSContext *Context) in RSExportTypePragmaHandler()
55 RSJavaPackageNamePragmaHandler(llvm::StringRef Name, RSContext *Context) in RSJavaPackageNamePragmaHandler()
131 RSReflectLicensePragmaHandler(llvm::StringRef Name, RSContext *Context) in RSReflectLicensePragmaHandler()
161 RSVersionPragmaHandler(llvm::StringRef Name, RSContext *Context) in RSVersionPragmaHandler()
174 RSPragmaHandler::CreatePragmaExportTypeHandler(RSContext *Context) { in CreatePragmaExportTypeHandler()
179 RSPragmaHandler::CreatePragmaJavaPackageNameHandler(RSContext *Context) { in CreatePragmaJavaPackageNameHandler()
184 RSPragmaHandler::CreatePragmaReflectLicenseHandler(RSContext *Context) { in CreatePragmaReflectLicenseHandler()
189 RSPragmaHandler::CreatePragmaVersionHandler(RSContext *Context) { in CreatePragmaVersionHandler()
Dslang_rs_export_var.h35 class RSContext; variable
39 friend class RSContext; variable
51 RSExportVar(RSContext *Context,
Dslang_rs_reflection_base.h33 class RSContext; variable
40 const RSContext *mRSContext;
44 RSReflectionBase(const RSContext *);
Dslang_rs_backend.h40 class RSContext; variable
44 RSContext *mContext;
74 RSBackend(RSContext *Context,
Dslang_rs_export_foreach.h59 RSExportForEach(RSContext *Context, const llvm::StringRef &Name) in RSExportForEach()
68 bool validateAndConstructParams(RSContext *Context,
72 static RSExportForEach *Create(RSContext *Context,
75 static RSExportForEach *CreateDummyRoot(RSContext *Context);
Dslang_rs.h37 class RSContext; variable
43 RSContext *mRSContext;
Dslang_rs_context.h54 class RSContext {
100 RSContext(clang::Preprocessor &PP,
224 ~RSContext();
Dslang_rs_export_var.cpp30 static clang::DiagnosticBuilder ReportVarError(RSContext *Context, in ReportVarError()
41 RSExportVar::RSExportVar(RSContext *Context, in RSExportVar()
Dslang_rs_backend.cpp48 RSBackend::RSBackend(RSContext *Context, in RSBackend()
216 for (RSContext::const_export_var_iterator I = mContext->export_vars_begin(), in HandleTranslationUnitPost()
292 for (RSContext::const_export_func_iterator in HandleTranslationUnitPost()
427 for (RSContext::const_export_foreach_iterator in HandleTranslationUnitPost()
455 for (RSContext::const_export_type_iterator in HandleTranslationUnitPost()
Dslang_rs_export_element.cpp59 RSExportType *RSExportElement::Create(RSContext *Context, in Create()
119 RSExportType *RSExportElement::CreateFromDecl(RSContext *Context, in CreateFromDecl()
Dslang_rs_export_type.cpp626 RSExportType *RSExportType::Create(RSContext *Context, in Create()
632 RSContext::export_type_iterator ETI = Context->findExportType(TypeName); in Create()
717 RSExportType *RSExportType::Create(RSContext *Context, const clang::Type *T) { in Create()
726 RSExportType *RSExportType::CreateFromDecl(RSContext *Context, in CreateFromDecl()
744 RSExportType::RSExportType(RSContext *Context, in RSExportType()
900 RSExportPrimitiveType::GetDataType(RSContext *Context, const clang::Type *T) { in GetDataType()
946 *RSExportPrimitiveType::Create(RSContext *Context, in Create()
959 RSExportPrimitiveType *RSExportPrimitiveType::Create(RSContext *Context, in Create()
1059 *RSExportPointerType::Create(RSContext *Context, in Create()
1141 RSExportVectorType *RSExportVectorType::Create(RSContext *Context, in Create()
[all …]
Dslang_rs_reflection_cpp.h29 RSReflectionCpp(const RSContext *);
Dslang_rs_reflection.h34 class RSContext; variable
41 const RSContext *mRSContext;
312 explicit RSReflection(const RSContext *Context, in RSReflection()
Dslang_rs_export_foreach.cpp56 RSContext *Context, const clang::FunctionDecl *FD) { in validateAndConstructParams()
219 RSExportForEach *RSExportForEach::Create(RSContext *Context, in Create()
306 RSExportForEach *RSExportForEach::CreateDummyRoot(RSContext *Context) { in CreateDummyRoot()
Dslang_rs_reflection_base.cpp63 RSReflectionBase::RSReflectionBase(const RSContext *con) { in RSReflectionBase()
Dslang_rs.cpp89 for (RSContext::ExportableList::iterator I = mRSContext->exportable_begin(), in checkODR()
214 mRSContext = new RSContext(getPreprocessor(), in initASTContext()
Dslang_rs_export_func.cpp52 RSExportFunc *RSExportFunc::Create(RSContext *Context, in Create()
Dslang_rs_reflection.cpp277 for (RSContext::const_export_var_iterator I = mRSContext->export_vars_begin(), in genScriptClass()
285 for (RSContext::const_export_foreach_iterator in genScriptClass()
293 for (RSContext::const_export_func_iterator in genScriptClass()
319 for (RSContext::const_export_var_iterator I = mRSContext->export_vars_begin(), in genScriptClassConstructor()
346 for (RSContext::const_export_foreach_iterator in genScriptClassConstructor()
1905 for (RSContext::const_export_type_iterator TI = in reflect()