19#ifndef TVM_TIRX_BUFFER_REGION_H_
20#define TVM_TIRX_BUFFER_REGION_H_
22#include <tvm/ffi/reflection/registry.h>
33 namespace refl = tvm::ffi::reflection;
34 refl::ObjectDef<BufferRegionTypeNode>();
55 namespace refl = tvm::ffi::reflection;
56 refl::ObjectDef<BufferRegionNode>()
Symbolic n-dimensional array, to represent a memory buffer.
Base type of all the expressions.
Definition base_expr.h:300
Managed reference to ExprNode.
Definition base_expr.h:335
Definition source_map.h:111
Type is the base type of all types.
Definition base_expr.h:52
Managed reference to TypeNode.
Definition base_expr.h:77
RAII wrapper function to enter and exit a context object similar to python's with syntax.
Definition with_context.h:59
Representing a region of multi-dimensional buffer access.
Definition buffer_region.h:49
ffi::Array< Range > region
Definition buffer_region.h:52
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("tirx.BufferRegion", BufferRegionNode, ExprNode)
static void RegisterReflection()
Definition buffer_region.h:54
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind
Definition buffer_region.h:61
BufferVar buffer
Definition buffer_region.h:51
The type of a multi-dimensional buffer region expression.
Definition buffer_region.h:30
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("tirx.BufferRegionType", BufferRegionTypeNode, TypeNode)
static void RegisterReflection()
Definition buffer_region.h:32
Managed reference to BufferRegionTypeNode.
Definition buffer_region.h:41
TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE(BufferRegionType, Type, BufferRegionTypeNode)
Managed reference to BufferRegionNode.
Definition buffer_region.h:66
static BufferRegion FullRegion(BufferVar buffer)
TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE(BufferRegion, Expr, BufferRegionNode)
static BufferRegion FromPoint(BufferVar buffer, ffi::Array< PrimExpr > indices)
BufferRegion(BufferVar buffer, ffi::Array< Range > region, Span span=Span())
TVM_DEFINE_OBJECT_REF_COW_METHOD(BufferRegionNode)
Checked zero-state view over an ordinary VarNode with BufferType.
Definition buffer.h:179
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition analyzer.h:40