|
tvm
|
Function nodes. More...
#include <tvm/ffi/container/array.h>#include <tvm/ffi/container/map.h>#include <tvm/ffi/string.h>#include <tvm/ir/attrs.h>#include <tvm/ir/expr.h>#include <string>#include <type_traits>Go to the source code of this file.
Classes | |
| class | tvm::BaseFuncNode |
| Base node of all functions. More... | |
| class | tvm::BaseFunc |
| Managed reference to BaseFuncNode. More... | |
Namespaces | |
| tvm | |
| An object that builds and maintains block scope and StmtSref mapping for Dependence analysis. | |
| tvm::attr | |
| Generic attribute names that can be attached to any function. | |
Enumerations | |
| enum class | tvm::CallingConv : int { tvm::kDefault = 0 , tvm::kCPackedFunc = 1 , tvm::kDeviceKernelLaunch = 2 } |
| Possible Calling conventions. More... | |
| enum class | tvm::LinkageType : int { tvm::kInternal = 0 , tvm::kExternal = 1 } |
| Supported linkage types. More... | |
Variables | |
| constexpr const char * | tvm::attr::kCallingConv = "calling_conv" |
| Indicates the special calling convention. More... | |
| constexpr const char * | tvm::attr::kTarget = "target" |
| Compilation target of the function. More... | |
| constexpr const char * | tvm::attr::kGlobalSymbol = "global_symbol" |
| Global linker symbol of the function in generated code. More... | |
| constexpr const char * | tvm::attr::kSTir = "s_tir" |
The function uses s_tir (apache-derived TIR) semantics: parser fills layout=None, ScriptComplete wraps body in a root SBlock, and printer emits s_tir=True on the decorator. Default (attr absent or False) is tirx semantics. More... | |
| constexpr const char * | tvm::attr::kNumInputs = "num_inputs" |
| Number of inputs of the Primfunc. More... | |
Function nodes.