* @brief run all registered passes
* @throw PassException, if errors occured
*/
-static void *runPasses()
+static void runPasses()
{
auto registeredPasses = PassManager::getPassManager()->getPasses();
PassData passData(nullptr);
#include "passes/soft_backend/BaseGenerator.h"
-#include "model_analyzer.h"
-#include "serializer.h"
+#include "ModelAnalyzer.h"
+#include "SBSerializer.h"
#include "core/modelIR/ShapeInference.h"
#include "option/Options.h"
#include "pass/Pass.h"
#include "passes/soft_backend/CGenerator.h"
-#include "model_analyzer.h"
+#include "ModelAnalyzer.h"
using namespace std;
using namespace nncc::contrib;
-set(SOFT_BACKEND_COMMON_SOURCES BaseGenerator.cpp model_analyzer.cpp serializer.cpp)
-set(SOFT_BACKEND_CPP_SOURCES cpp_generator.cpp)
+set(SOFT_BACKEND_COMMON_SOURCES BaseGenerator.cpp ModelAnalyzer.cpp SBSerializer.cpp)
+set(SOFT_BACKEND_CPP_SOURCES CPPGenerator.cpp)
set(SOFT_BACKEND_C_SOURCES CGenerator.cpp)
set(DEF_CONV ${NNC_ROOT_SRC_DIR}/utils/def2src.cpp)
#include "passes/soft_backend/CPPGenerator.h"
-#include "model_analyzer.h"
-#include "serializer.h"
+#include "ModelAnalyzer.h"
+#include "SBSerializer.h"
#include "option/Options.h"
using namespace std;
#include <type_traits>
#include <limits>
-#include "model_analyzer.h"
+#include "ModelAnalyzer.h"
#include "core/modelIR/ir_node.h"
#include "core/modelIR/Shape.h"
#include "core/modelIR/ShapeRange.h"
-#include "serializer.h"
+#include "SBSerializer.h"
#include "core/modelIR/ShapeRange.h"
#include "core/modelIR/TensorUtil.h"
#include "core/modelIR/visitor.h"
#include "core/modelIR/Shape.h"
#include "core/modelIR/TensorVariant.h"
-#include "model_analyzer.h"
+#include "ModelAnalyzer.h"
#include <vector>
#include <cstdint>
make_generated_sources("${SOFT_TEST_DEF_SOURCES}" ${CMAKE_CURRENT_BINARY_DIR} SOFT_TEST_GENERATED_SOURCES)
-add_executable(system_soft_backend_cpp_compile compile_cpp.cpp ${OPTIONS_SRC} ${SOFT_TEST_GENERATED_SOURCES})
+add_executable(system_soft_backend_cpp_compile CompileCPP.cpp ${OPTIONS_SRC} ${SOFT_TEST_GENERATED_SOURCES})
target_link_libraries(system_soft_backend_cpp_compile PRIVATE nnc_support soft_backend_cpp nnc_core)
target_include_directories(system_soft_backend_cpp_compile PRIVATE ${CMAKE_CURRENT_BINARY_DIR} ${NNC_SOFT_BACKEND_DIR})
-set(SOFT_BACKEND_CPP_SOURCES ${NNC_SOFT_BACKEND_DIR}/cpp_generator.cpp)
+set(SOFT_BACKEND_CPP_SOURCES ${NNC_SOFT_BACKEND_DIR}/CPPGenerator.cpp)
file(GLOB_RECURSE SOFT_DEF_SOURCES "${NNC_SOFT_BACKEND_DIR}/*.def")
file(GLOB_RECURSE TESTS "*.cpp")
// soft backend part
-#include "model_analyzer.h"
-#include "serializer.h"
+#include "ModelAnalyzer.h"
+#include "SBSerializer.h"
// operations part
#include "core/modelIR/operations/variable_op.h"