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

#include <type.h>

Inheritance diagram for tvm::PtrType:
Collaboration diagram for tvm::PtrType:

Public Member Functions

TVM_TIRX_DLL PtrType (Type element_type, ffi::String storage_scope="")
 Constructor.
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (PtrType, Type, PtrTypeNode)
 
- Public Member Functions inherited from tvm::Type
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Type, ffi::ObjectRef, TypeNode)
 

Static Public Member Functions

static TVM_TIRX_DLL PtrType VoidPtrType (ffi::String storage_scope="")
 Construct an opaque pointer with void element type.
 
- Static Public Member Functions inherited from tvm::Type
static TVM_TIRX_DLL Type Missing ()
 Construct a MissingType for type information not yet populated.
 

Constructor & Destructor Documentation

◆ PtrType()

TVM_TIRX_DLL tvm::PtrType::PtrType ( Type  element_type,
ffi::String  storage_scope = "" 
)
explicit

Constructor.

Parameters
element_typeThe type of the element which the pointer points to.
storage_scopeThe storage scope into which the pointer addresses

Member Function Documentation

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::PtrType::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( PtrType  ,
Type  ,
PtrTypeNode   
)

◆ VoidPtrType()

static TVM_TIRX_DLL PtrType tvm::PtrType::VoidPtrType ( ffi::String  storage_scope = "")
static

Construct an opaque pointer with void element type.


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