Skip to main content

Module module

Module module 

Source
Expand description

Modules. An IRModule is the unit of compilation, the input and output of passes: it maps each GlobalVar to a function (BaseFunc), and carries module attributes and module-level information.

Structsยง

IRModule
A set of functions, each bound to a GlobalVar with a unique name, with the module attributes attrs and the module-level information global_infos.
IRModuleObj
The object behind IRModule.