[Mlir-commits] [mlir] Adding mlir models (PR #141158)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed May 28 14:49:21 PDT 2025
================
@@ -268,6 +287,18 @@ struct CppEmitter {
/// Only emit file ops whos id matches this value.
std::string fileId;
+ /// Controls whether the output should be a C++ class.
+ /// If true, the generated C++ code will be encapsulated within a class,
+ /// and functions from the input module will become its member functions.
+ bool emitClass;
+
+ /// The specified name for the generated C++ class
+ std::string className;
----------------
Jaddyen wrote:
Done
https://github.com/llvm/llvm-project/pull/141158
More information about the Mlir-commits
mailing list