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.
Public Members
-
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 Static Functions
-
static inline void RegisterReflection()
-
static inline int32_t _GetOrAllocRuntimeTypeIndex()
-
static inline int32_t RuntimeTypeIndex() noexcept