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

Low-level raw pointer type. More...

#include <type.h>

Inheritance diagram for tvm::PointerTypeNode:
Collaboration diagram for tvm::PointerTypeNode:

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (PointerTypeNode, TypeNode)
 
- Public Member Functions inherited from tvm::TypeNode
 TVM_DECLARE_BASE_OBJECT_INFO (TypeNode, Object)
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::TypeNode
static void RegisterReflection ()
 

Public Attributes

Type element_type
 The type of the element which the pointer points to. More...
 
String storage_scope
 The storage scope of the pointer. More...
 
- Public Attributes inherited from tvm::TypeNode
Span span
 Span that points to the original source code. Reserved debug information. More...
 

Static Public Attributes

static constexpr const char * _type_key = "ir.PointerType"
 
- Static Public Attributes inherited from tvm::TypeNode
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
 

Detailed Description

Low-level raw pointer type.

PointerType represents type hints in the TIR to be passed to the final code generator.

PointerType should not occur in the high-level analysis.

See also
PointerType

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::PointerTypeNode::TVM_DECLARE_FINAL_OBJECT_INFO ( PointerTypeNode  ,
TypeNode   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::PointerTypeNode::_type_key = "ir.PointerType"
staticconstexpr

◆ element_type

Type tvm::PointerTypeNode::element_type

The type of the element which the pointer points to.

◆ storage_scope

String tvm::PointerTypeNode::storage_scope

The storage scope of the pointer.


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