Class IRModuleFrameObj#

Inheritance Relationships#

Base Type#

Class Documentation#

class IRModuleFrameObj : public tvm::script::ir_builder::IRBuilderFrameObj#

A frame that represents the IRModule frame with functions and global variables.

See also

IRModuleFrame

Public Functions

virtual void ExitWithScope() final#

The method called when exiting RAII scope.

See also

tvm::support::With

Public Members

ffi::Map<ffi::String, GlobalVar> global_var_map#

A map from string names to global variables that ensures global uniqueness.

ffi::Map<GlobalVar, BaseFunc> functions#

A map from GlobalVar to global functions and pending declarations.

Note

Declarations carry attr::kDeclaration until replaced by a definition.

ffi::Map<ffi::String, Any> attrs#

IRModule’s attributes.

ffi::Map<ffi::String, ffi::Array<GlobalInfo>> global_infos#

IRModule’s global_infos.

Public Static Functions

static inline void RegisterReflection()#
static inline int32_t _GetOrAllocRuntimeTypeIndex()#
static inline int32_t RuntimeTypeIndex() noexcept#