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.
|
| namespace | tvm |
| | An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
|
| |
| namespace | tvm::attr |
| | Generic attribute names that can be attached to any function.
|
| |
|
| constexpr const char * | tvm::attr::kCallingConv = "calling_conv" |
| | Indicates the special calling convention.
|
| |
| constexpr const char * | tvm::attr::kTarget = "target" |
| | Compilation target of the function.
|
| |
| constexpr const char * | tvm::attr::kGlobalSymbol = "global_symbol" |
| | Global linker symbol of the function in generated code.
|
| |
| 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, independent of the script construction namespace. Default (attr absent or False) is tirx semantics.
|
| |
| constexpr const char * | tvm::attr::kScriptNamespace = "script.namespace" |
| | Script construction namespace used to select the function decorator. Absent metadata selects the function kind's default namespace. This does not change the function's semantic dialect.
|
| |
| constexpr const char * | tvm::attr::kNumInputs = "num_inputs" |
| | Number of inputs of the Function.
|
| |