tvm
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::PtrTypeObj Class Reference

Low-level raw pointer type. More...

#include <type.h>

Inheritance diagram for tvm::PtrTypeObj:
Collaboration diagram for tvm::PtrTypeObj:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.PtrType", PtrTypeObj, TypeObj)
 
- Public Member Functions inherited from tvm::TypeObj
 TVM_FFI_DECLARE_OBJECT_INFO ("ir.Type", TypeObj, ffi::Object)
 

Static Public Member Functions

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

Public Attributes

Type element_type = PrimType::Void()
 The type of the element which the pointer points to.
 
runtime::MemoryScope scope
 The storage scope of the pointer.
 
- Public Attributes inherited from tvm::TypeObj
Location loc = UnknownLoc()
 Location that points to the original source code. Reserved debug information.
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::TypeObj
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
 

Detailed Description

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.

See also
PtrType

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::PtrTypeObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "ir.PtrType"  ,
PtrTypeObj  ,
TypeObj   
)

Member Data Documentation

◆ element_type

Type tvm::PtrTypeObj::element_type = PrimType::Void()

The type of the element which the pointer points to.

◆ scope

runtime::MemoryScope tvm::PtrTypeObj::scope

The storage scope of the pointer.


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