1. 14 3月, 2023 1 次提交
    • Z
      [IR] Type system stage4: Add some built-in types and type conversion methods (#51112) · 3a3ff942
      zhangbo9674 提交于
      * add builtin-type DenseTensorType Float16Type Float64Type Int16Type Int64Type
      
      * refine comment
      
      * refine comment
      
      * add classof for Type class
      
      * refine test code
      
      * add get param func for DenseTensorType
      
      * add dyn_cast and refine isa
      
      * set default WITH_NEWIR=OFF
      
      * refine cast_utils
      
      * Refine code by comment
      
      * refine code by comment
      
      * refine code by comment
      
      * refine code by comment
      
      * fix bug of dyn_cast
      
      * set WITH_NEWIR=OFF
      
      * refine code by comment
      3a3ff942
  2. 02 3月, 2023 1 次提交
  3. 27 2月, 2023 1 次提交
    • Z
      [IR] Type system stage2: add class Type, type uniquer utils, class IRContext (#50412) · a5827f0e
      zhangbo9674 提交于
      * add TypeUniquer and IrContext
      
      * refine include code
      
      * add Type, TypeBase
      
      * add built-in type
      
      * add bulit-in Float32Type
      
      * refine ut
      
      * refine code
      
      * refine code
      
      * delete type_base
      
      * rename ImplType to StorageType
      
      * rename ImplType to StorageType
      
      * add macros util for register type
      
      * add macros util for register type
      
      * refine name
      
      * refine name
      
      * change storage manager
      
      * add multi_thread for ir_ctx
      
      * rwlock_2_spinlock, add REGISTER_TYPE_2_IRCONTEXT
      
      * DECLARE_TYPE_UTILITY_FUNCTOR
      
      * refine ircontext singleton
      
      * del destructor for ParametricStorageManager
      
      * refine code
      
      * Add necessary logs for debugging
      
      * refine ir_context instance
      
      * refine type get interface
      
      * refine code by comment
      a5827f0e