[IR] Type system stage2: add class Type, type uniquer utils, class IRContext (#50412)
* 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
Showing
paddle/ir/builtin_type.h
0 → 100644
paddle/ir/ir_context.cc
0 → 100644
paddle/ir/ir_context.h
0 → 100644
paddle/ir/spin_lock.h
0 → 100644
paddle/ir/storage_manager.cc
0 → 100644
paddle/ir/storage_manager.h
0 → 100644
paddle/ir/tests/CMakeLists.txt
0 → 100644
paddle/ir/tests/type_test.cc
0 → 100644
paddle/ir/type.h
0 → 100644
paddle/ir/type/CMakeLists.txt
已删除
100644 → 0
paddle/ir/type_base.h
0 → 100644
想要评论请 注册 或 登录