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

#include <type.h>

Inheritance diagram for tvm::PointerType:
Collaboration diagram for tvm::PointerType:

Public Member Functions

 PointerType (Type element_type, ffi::String storage_scope="")
 Constructor. More...
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (PointerType, Type, PointerTypeNode)
 
- Public Member Functions inherited from tvm::Type
bool IsMissing () const
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Type, ffi::ObjectRef, TypeNode)
 

Static Public Member Functions

static PointerType VoidPointerTy (ffi::String storage_scope="")
 Construct an opaque pointer with void element type. More...
 
- Static Public Member Functions inherited from tvm::Type
static Type Missing ()
 Sentinel for a type that has not been populated yet. More...
 

Constructor & Destructor Documentation

◆ PointerType()

tvm::PointerType::PointerType ( 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::PointerType::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( PointerType  ,
Type  ,
PointerTypeNode   
)

◆ VoidPointerTy()

static PointerType tvm::PointerType::VoidPointerTy ( ffi::String  storage_scope = "")
static

Construct an opaque pointer with void element type.


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