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, runtime::MemoryScope scope={})
 Constructor.
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (PtrType, Type, PtrTypeObj)
 
- Public Member Functions inherited from tvm::Type
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Type, ffi::ObjectRef, TypeObj)
 

Static Public Member Functions

static TVM_TIRX_DLL PtrType VoidPtrType (runtime::MemoryScope scope={})
 Construct an opaque pointer with void element type.
 
- Static Public Member Functions inherited from tvm::Type
template<typename TypeObj >
static void Expose ()
 Request API exposure of a registered IR object 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,
runtime::MemoryScope  scope = {} 
)
explicit

Constructor.

Parameters
element_typeThe type of the element which the pointer points to.
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  ,
PtrTypeObj   
)

◆ VoidPtrType()

static TVM_TIRX_DLL PtrType tvm::PtrType::VoidPtrType ( runtime::MemoryScope  scope = {})
static

Construct an opaque pointer with void element type.


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