tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::TypeNode Class Reference

Type is the base type of all types. More...

#include <type.h>

Inheritance diagram for tvm::TypeNode:
Collaboration diagram for tvm::TypeNode:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO ("ir.Type", TypeNode, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

Span span
 Span that points to the original source code. Reserved debug information. More...
 

Static Public Attributes

static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
static constexpr const uint32_t _type_child_slots = 14
 

Detailed Description

Type is the base type of all types.

TVM's type system contains following subclasses:

There are also advanced types to support generic(polymorphic types).

See also
Type

Member Function Documentation

◆ RegisterReflection()

static void tvm::TypeNode::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO()

tvm::TypeNode::TVM_FFI_DECLARE_OBJECT_INFO ( "ir.Type"  ,
TypeNode  ,
ffi::Object   
)

Member Data Documentation

◆ _type_child_slots

constexpr const uint32_t tvm::TypeNode::_type_child_slots = 14
staticconstexpr

◆ _type_s_eq_hash_kind

constexpr TVMFFISEqHashKind tvm::TypeNode::_type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
staticconstexpr

◆ span

Span tvm::TypeNode::span
mutable

Span that points to the original source code. Reserved debug information.


The documentation for this class was generated from the following file: