|
tvm
|
Classes | |
| struct | GlobalVarReplacer |
| class | PassContextNode |
| PassContextNode contains the information that a pass can rely on, such as analysis results. More... | |
| class | PassContext |
| PassContext that is used to configure the pass behavior. More... | |
| class | PassInfoNode |
| Meta data that will be used to help optimization and analysis. More... | |
| class | PassInfo |
| Managed reference class for PassInfoNode. More... | |
| class | PassNode |
| PassNode is the base type of differnt types of optimization passes. It is designed as a pure class and implemented by different pass subclasses at different granularity of Relax nodes. More... | |
| class | Pass |
| class | SequentialNode |
| The SequentialNode contains a set of passes that transform Relax programs from one AST to another semantically equivalent one. More... | |
| class | Sequential |
Functions | |
| IRModule | ReplaceGlobalVars (IRModule mod, ffi::Map< GlobalVar, GlobalVar > replacements) |
| Replace GlobalVar instances across any IR type. More... | |
| Pass | CreateModulePass (std::function< IRModule(IRModule, PassContext)> pass_func, int opt_level, ffi::String name, ffi::Array< ffi::String > required, bool traceable=false) |
| Pass | ApplyPassToFunction (Pass pass, ffi::String func_name_regex, bool error_if_no_function_matches_regex=false) |
| Pass | PrintIR (ffi::String header="", bool show_meta_data=false) |
| A special trace pass that prints the header and IR to LOG(INFO). More... | |
| Pass tvm::transform::ApplyPassToFunction | ( | Pass | pass, |
| ffi::String | func_name_regex, | ||
| bool | error_if_no_function_matches_regex = false |
||
| ) |
| Pass tvm::transform::CreateModulePass | ( | std::function< IRModule(IRModule, PassContext)> | pass_func, |
| int | opt_level, | ||
| ffi::String | name, | ||
| ffi::Array< ffi::String > | required, | ||
| bool | traceable = false |
||
| ) |
| Pass tvm::transform::PrintIR | ( | ffi::String | header = "", |
| bool | show_meta_data = false |
||
| ) |
A special trace pass that prints the header and IR to LOG(INFO).
| header | The header to be attached to the output. |
| show_meta_data | Whether should we show meta data. |