|
tvm
|
Low-level raw pointer type. More...
#include <type.h>
Public Member Functions | |
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.PtrType", PtrTypeNode, TypeNode) | |
Public Member Functions inherited from tvm::TypeNode | |
| TVM_FFI_DECLARE_OBJECT_INFO ("ir.Type", TypeNode, ffi::Object) | |
Static Public Member Functions | |
| static void | RegisterReflection () |
Static Public Member Functions inherited from tvm::TypeNode | |
| static void | RegisterReflection () |
Public Attributes | |
| Type | element_type = PrimType::Void() |
| The type of the element which the pointer points to. | |
| ffi::String | storage_scope |
| The storage scope of the pointer. | |
Public Attributes inherited from tvm::TypeNode | |
| Location | loc = UnknownLoc() |
| Location that points to the original source code. Reserved debug information. | |
Additional Inherited Members | |
Static Public Attributes inherited from tvm::TypeNode | |
| static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
| static constexpr bool | _type_s_eq_hash_subclass_kind_fixed = true |
| static constexpr const uint32_t | _type_child_slots = 14 |
Low-level raw pointer type.
PtrType represents type hints in the TIR to be passed to the final code generator.
PtrType should not occur in the high-level analysis.
|
inlinestatic |
| tvm::PtrTypeNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "ir.PtrType" | , |
| PtrTypeNode | , | ||
| TypeNode | |||
| ) |
| Type tvm::PtrTypeNode::element_type = PrimType::Void() |
The type of the element which the pointer points to.
| ffi::String tvm::PtrTypeNode::storage_scope |
The storage scope of the pointer.