• Shucai Xiao's avatar
    Module operations (#741) · e96d2b9a
    Shucai Xiao authored
    
    
    * code backup
    
    * clang format
    
    * code backup
    
    * change the print function to support print instruction from other modules
    
    * clang format
    
    * fix cppcheck error
    
    * fix cppcheck error
    
    * chang to make submodule to be owned by program instead of modules
    
    * clang format
    
    * add an unit test for copy of a program with sub_modules
    
    * clang format
    
    * remove the parent_module member variable from the module class
    
    * clang format
    
    * add unit test for serialization of program with submodules
    
    * clang format
    
    * Fix bug where instructions were not printed when doing TRACE_EVAL
    
    * clang storage of modules from map to list
    
    * clang format
    
    * Formatting
    
    * change the program assign function
    
    * clang format
    
    * code cleanup
    
    * clang format
    
    * backup code
    
    * clang format
    
    * remove unnecessary code
    
    * clang format
    
    * add module print function
    
    * code backup
    
    * refine the module::print function
    
    * refine the module:to_value() function
    
    * code backup
    
    * backup code changes
    
    * code backup
    
    * remove to_value and from_value function from the module class
    
    * rename a function
    
    * rename the if operator
    
    * refine the if operator
    
    * refine the print function of module and program
    
    * code backup
    
    * code backup
    
    * fix a build warning
    
    * fix overload of compute_shape function
    
    * code backup
    
    * fix unit test error
    
    * fix cppcheck error
    
    * fix the issue related to the overload of compute_shape
    
    * fix review comments
    
    * fix cppcheck error
    
    * change the return name of if_op to be if
    
    * clang format
    
    * fix two unit tests
    
    * clang format
    
    * remove the unused compute_op function
    
    * clang format
    
    * fix clang tidy format
    
    * clang format
    
    * enhance the validate function and uncomment a unit test
    
    * clang format
    
    * remove unnecessary code
    
    * clang format
    
    * fix a hang issue related to the valid function
    
    * fix an issue in replace_refs
    
    * clang format
    
    * fix review comments
    
    * clang format
    
    * fix cppcheck error
    
    * add a unit test for more code coverage
    
    * clang format
    
    * fix review comments and add test for more code coverage
    
    * clang format
    
    * fix cppcheck error
    
    * fix a cppcheck error
    
    * clang format
    
    * fix cppcheck error
    
    * clang format
    
    * fix review comments
    
    * clang format
    Co-authored-by: default avatarPaul <pfultz2@yahoo.com>
    Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
    e96d2b9a
module.cpp 21.4 KB