Class IRModule#
Defined in File module.h
Inheritance Relationships#
Base Type#
public ffi::ObjectRef
Class Documentation#
-
class IRModule : public ffi::ObjectRef#
Managed reference class to IRModuleObj.
See also
Public Types
-
using ContainerType = IRModuleObj#
Declare the container type.
Public Functions
-
explicit IRModule(ffi::Map<GlobalVar, BaseFunc> functions, DictAttrs attrs = DictAttrs(), ffi::Map<ffi::String, ffi::Array<GlobalInfo>> global_infos = {})#
constructor
- Parameters:
functions – Functions in the module.
attrs – The module meta-data attributes.
global_infos – Global infos in the module.
-
inline IRModule()#
default constructor
-
inline explicit IRModule(ffi::ObjectPtr<IRModuleObj> n)#
Checked pointer construction required by ffi::RValueRef.
-
inline explicit IRModule(ffi::UnsafeInit tag)#
constructor with UnsafeInit
-
inline IRModuleObj *operator->() const#
- Returns:
mutable pointers to the node.
-
inline IRModuleObj *CopyOnWrite()#
-
using ContainerType = IRModuleObj#