| Files | Last commit | Last update |
|---|---|---|
feat(IR): Add core infrastructure and IRNode base class for new IR Co-authored-by: guhuangxing<guhuangxing@hisilicon.com> # message auto-generated for no-merge-commit merge: !1538 merge new-pr1 into master feat(IR): Add core infrastructure and IRNode base class for new IR Created-by: guhuangxing Commit-by: guhuangxing Merged-by: cann-robot Description: Add the foundational core library and IRNode base class as the first step of the new IR system. This PR provides error handling, logging, data types, and the core IRNode hierarchy that all subsequent IR PRs depend on. Changes: - Add core utility headers: common.h (macros), dtype.h (data types), logging.h (logging system), any_cast.h (type-safe any cast) - Add error handling framework: error.h/error.cpp with InternalError, TypeError, and diagnostic infrastructure - Add stack trace support: backtrace.cpp via execinfo + addr2line - Add IR base types: span.h (source location), core.h (IRNode base class, ObjectKind enum), reflection/field_traits.h (field reflection traits) - Add ir/core.cpp with Span method implementations (ToString, IsValid, Unknown) - Add unit tests for all new components (5 test files) - Update CMakeLists.txt to include core/*.cpp and ir/*.cpp in build This is PR 1 of 6 in the new IR series. No external dependencies. Commits: - feat(ir): Add core infrastructure headers and implementations (16 files) - build(ir): Add core and ir source directories to tile_fwk_interface See merge request: cann/pypto!1538 | 8 months ago | |
feat(IR): Add core infrastructure and IRNode base class for new IR Co-authored-by: guhuangxing<guhuangxing@hisilicon.com> # message auto-generated for no-merge-commit merge: !1538 merge new-pr1 into master feat(IR): Add core infrastructure and IRNode base class for new IR Created-by: guhuangxing Commit-by: guhuangxing Merged-by: cann-robot Description: Add the foundational core library and IRNode base class as the first step of the new IR system. This PR provides error handling, logging, data types, and the core IRNode hierarchy that all subsequent IR PRs depend on. Changes: - Add core utility headers: common.h (macros), dtype.h (data types), logging.h (logging system), any_cast.h (type-safe any cast) - Add error handling framework: error.h/error.cpp with InternalError, TypeError, and diagnostic infrastructure - Add stack trace support: backtrace.cpp via execinfo + addr2line - Add IR base types: span.h (source location), core.h (IRNode base class, ObjectKind enum), reflection/field_traits.h (field reflection traits) - Add ir/core.cpp with Span method implementations (ToString, IsValid, Unknown) - Add unit tests for all new components (5 test files) - Update CMakeLists.txt to include core/*.cpp and ir/*.cpp in build This is PR 1 of 6 in the new IR series. No external dependencies. Commits: - feat(ir): Add core infrastructure headers and implementations (16 files) - build(ir): Add core and ir source directories to tile_fwk_interface See merge request: cann/pypto!1538 | 8 months ago | |
feat(IR): Add core infrastructure and IRNode base class for new IR Co-authored-by: guhuangxing<guhuangxing@hisilicon.com> # message auto-generated for no-merge-commit merge: !1538 merge new-pr1 into master feat(IR): Add core infrastructure and IRNode base class for new IR Created-by: guhuangxing Commit-by: guhuangxing Merged-by: cann-robot Description: Add the foundational core library and IRNode base class as the first step of the new IR system. This PR provides error handling, logging, data types, and the core IRNode hierarchy that all subsequent IR PRs depend on. Changes: - Add core utility headers: common.h (macros), dtype.h (data types), logging.h (logging system), any_cast.h (type-safe any cast) - Add error handling framework: error.h/error.cpp with InternalError, TypeError, and diagnostic infrastructure - Add stack trace support: backtrace.cpp via execinfo + addr2line - Add IR base types: span.h (source location), core.h (IRNode base class, ObjectKind enum), reflection/field_traits.h (field reflection traits) - Add ir/core.cpp with Span method implementations (ToString, IsValid, Unknown) - Add unit tests for all new components (5 test files) - Update CMakeLists.txt to include core/*.cpp and ir/*.cpp in build This is PR 1 of 6 in the new IR series. No external dependencies. Commits: - feat(ir): Add core infrastructure headers and implementations (16 files) - build(ir): Add core and ir source directories to tile_fwk_interface See merge request: cann/pypto!1538 | 8 months ago | |
feat(IR): Add core infrastructure and IRNode base class for new IR Co-authored-by: guhuangxing<guhuangxing@hisilicon.com> # message auto-generated for no-merge-commit merge: !1538 merge new-pr1 into master feat(IR): Add core infrastructure and IRNode base class for new IR Created-by: guhuangxing Commit-by: guhuangxing Merged-by: cann-robot Description: Add the foundational core library and IRNode base class as the first step of the new IR system. This PR provides error handling, logging, data types, and the core IRNode hierarchy that all subsequent IR PRs depend on. Changes: - Add core utility headers: common.h (macros), dtype.h (data types), logging.h (logging system), any_cast.h (type-safe any cast) - Add error handling framework: error.h/error.cpp with InternalError, TypeError, and diagnostic infrastructure - Add stack trace support: backtrace.cpp via execinfo + addr2line - Add IR base types: span.h (source location), core.h (IRNode base class, ObjectKind enum), reflection/field_traits.h (field reflection traits) - Add ir/core.cpp with Span method implementations (ToString, IsValid, Unknown) - Add unit tests for all new components (5 test files) - Update CMakeLists.txt to include core/*.cpp and ir/*.cpp in build This is PR 1 of 6 in the new IR series. No external dependencies. Commits: - feat(ir): Add core infrastructure headers and implementations (16 files) - build(ir): Add core and ir source directories to tile_fwk_interface See merge request: cann/pypto!1538 | 8 months ago | |
feat(IR): Add core infrastructure and IRNode base class for new IR Co-authored-by: guhuangxing<guhuangxing@hisilicon.com> # message auto-generated for no-merge-commit merge: !1538 merge new-pr1 into master feat(IR): Add core infrastructure and IRNode base class for new IR Created-by: guhuangxing Commit-by: guhuangxing Merged-by: cann-robot Description: Add the foundational core library and IRNode base class as the first step of the new IR system. This PR provides error handling, logging, data types, and the core IRNode hierarchy that all subsequent IR PRs depend on. Changes: - Add core utility headers: common.h (macros), dtype.h (data types), logging.h (logging system), any_cast.h (type-safe any cast) - Add error handling framework: error.h/error.cpp with InternalError, TypeError, and diagnostic infrastructure - Add stack trace support: backtrace.cpp via execinfo + addr2line - Add IR base types: span.h (source location), core.h (IRNode base class, ObjectKind enum), reflection/field_traits.h (field reflection traits) - Add ir/core.cpp with Span method implementations (ToString, IsValid, Unknown) - Add unit tests for all new components (5 test files) - Update CMakeLists.txt to include core/*.cpp and ir/*.cpp in build This is PR 1 of 6 in the new IR series. No external dependencies. Commits: - feat(ir): Add core infrastructure headers and implementations (16 files) - build(ir): Add core and ir source directories to tile_fwk_interface See merge request: cann/pypto!1538 | 8 months ago |