1. 12 4月, 2023 1 次提交
    • Z
      [IR] Value system && Operation (#51992) · fd97d7d1
      zhangbo9674 提交于
      * add Value OpResult OpOperand class
      
      * add Value OpResult OpOperand class
      
      * fix bug
      
      * fix bug
      
      * add utils
      
      * refine code
      
      * add ptr offset and reset method
      
      * add value impl
      
      * fix bug
      
      * refine comment of ValueImpl
      
      * refine code of OpResult
      
      * refine code of Value
      
      * add some comment
      
      * fix cpu compile bug
      
      * refine code
      
      * add op
      
      * add method for op & test value
      
      * refine unittest
      
      * refine code by comment
      
      * refine code
      
      * refine code
      
      * refine code
      
      * refine code
      fd97d7d1
  2. 22 3月, 2023 1 次提交
    • Z
      [IR] Attribute system (#51636) · 586d9018
      zhangbo9674 提交于
      * add Attribute system to new ir
      
      * set StorageType to Storage in Type and Attribute
      
      * refine strAttr
      
      * refine name of StrAttribute
      
      * add DictionaryAttribute
      
      * refine code
      
      * refine dic_attr
      
      * refine code
      
      * Set DictionaryAttribute ParamKey is map
      
      * refine code
      
      * refine code by comment
      
      * refine code
      
      * refine code
      
      * refine code
      
      * refine code
      
      * fix complie bug
      
      * refine code
      
      * add const for Attribute storage
      586d9018
  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