tvm
Classes | Namespaces | Functions
replace_global_vars.h File Reference

A utility to replace GlobalVar instances across all TVM IR types in an IRMdoule. More...

#include <tvm/ir/module.h>
Include dependency graph for replace_global_vars.h:

Go to the source code of this file.

Classes

struct  tvm::transform::GlobalVarReplacer
 

Namespaces

 tvm
 runtime implementation for LibTorch/TorchScript.
 
 tvm::transform
 

Functions

IRModule tvm::transform::ReplaceGlobalVars (IRModule mod, Map< GlobalVar, GlobalVar > replacements)
 Replace GlobalVar instances across any IR type. More...
 

Detailed Description

A utility to replace GlobalVar instances across all TVM IR types in an IRMdoule.