|
tvm
|
A frame that represents the IRModule frame with functions and global variables. More...
#include <frame.h>
Public Member Functions | |
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("script.ir_builder.IRModuleFrame", IRModuleFrameNode, IRBuilderFrameNode) | |
| void | ExitWithScope () final |
| The method called when exiting RAII scope. More... | |
Public Member Functions inherited from tvm::script::ir_builder::IRBuilderFrameNode | |
| TVM_FFI_DECLARE_OBJECT_INFO ("script.ir_builder.IRBuilderFrame", IRBuilderFrameNode, runtime::Object) | |
| virtual | ~IRBuilderFrameNode ()=default |
| Default destructor. More... | |
| virtual void | EnterWithScope () |
| The method called when entering RAII scope. More... | |
| void | AddCallback (ffi::TypedFunction< void()> callback) |
| Add a callback method invoked when exiting the RAII scope. More... | |
Static Public Member Functions | |
| static void | RegisterReflection () |
Static Public Member Functions inherited from tvm::script::ir_builder::IRBuilderFrameNode | |
| static void | RegisterReflection () |
Public Attributes | |
| ffi::Map< ffi::String, GlobalVar > | global_var_map |
| A map from string names to global variables that ensures global uniqueness. More... | |
| ffi::Map< GlobalVar, BaseFunc > | functions |
| A map from GlobalVar to all global functions. More... | |
| ffi::Map< ffi::String, Any > | attrs |
| IRModule's attributes. More... | |
| ffi::Map< ffi::String, ffi::Array< GlobalInfo > > | global_infos |
| IRModule's global_infos. More... | |
Public Attributes inherited from tvm::script::ir_builder::IRBuilderFrameNode | |
| std::vector< ffi::TypedFunction< void()> > | callbacks |
| A list of callbacks used when exiting the frame. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from tvm::script::ir_builder::IRBuilderFrameNode | |
| static constexpr const bool | _type_mutable = true |
A frame that represents the IRModule frame with functions and global variables.
|
finalvirtual |
The method called when exiting RAII scope.
Reimplemented from tvm::script::ir_builder::IRBuilderFrameNode.
|
inlinestatic |
| tvm::script::ir_builder::ir::IRModuleFrameNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "script.ir_builder.IRModuleFrame" | , |
| IRModuleFrameNode | , | ||
| IRBuilderFrameNode | |||
| ) |
| ffi::Map<ffi::String, Any> tvm::script::ir_builder::ir::IRModuleFrameNode::attrs |
IRModule's attributes.
A map from GlobalVar to all global functions.
| ffi::Map<ffi::String, ffi::Array<GlobalInfo> > tvm::script::ir_builder::ir::IRModuleFrameNode::global_infos |
IRModule's global_infos.
| ffi::Map<ffi::String, GlobalVar> tvm::script::ir_builder::ir::IRModuleFrameNode::global_var_map |
A map from string names to global variables that ensures global uniqueness.