tvm
|
Function type. More...
#include <type.h>
Public Member Functions | |
TVM_DECLARE_FINAL_OBJECT_INFO (FuncTypeNode, TypeNode) | |
![]() | |
TVM_DECLARE_BASE_OBJECT_INFO (TypeNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
Public Attributes | |
Array< Type > | arg_types |
type type of arguments More... | |
Type | ret_type |
The type of return value. More... | |
![]() | |
Span | span |
Span that points to the original source code. Reserved debug information. More... | |
Static Public Attributes | |
static constexpr const char * | _type_key = "ir.FuncType" |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
static constexpr const char * | _type_key = "ir.Type" |
static constexpr const uint32_t | _type_child_slots = 14 |
Function type.
We support polymorphic function type. This can be roughly viewed as template function in C++.
|
inlinestatic |
tvm::FuncTypeNode::TVM_DECLARE_FINAL_OBJECT_INFO | ( | FuncTypeNode | , |
TypeNode | |||
) |
|
staticconstexpr |
Array<Type> tvm::FuncTypeNode::arg_types |
type type of arguments
Type tvm::FuncTypeNode::ret_type |
The type of return value.