tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::tir::MatchBufferRegionNode Class Reference

Match introduces a constraint that the source buffer region can be remapped to the data layout specified by the buffer field. The constraint can be checked in later part of lowering (or optionally during runtime). More...

#include <stmt.h>

Inheritance diagram for tvm::tir::MatchBufferRegionNode:
Collaboration diagram for tvm::tir::MatchBufferRegionNode:

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (MatchBufferRegionNode, Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

Buffer buffer
 The target buffer. More...
 
BufferRegion source
 The source buffer region. More...
 

Static Public Attributes

static constexpr const char * _type_key = "tir.MatchBufferRegion"
 
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 

Detailed Description

Match introduces a constraint that the source buffer region can be remapped to the data layout specified by the buffer field. The constraint can be checked in later part of lowering (or optionally during runtime).

MatchBufferRegion provides a mechanism to represent data layout and compactness constraints in low-level hardware primitives in the IR and defer the check after the sequence of transformations.

Member Function Documentation

◆ RegisterReflection()

static void tvm::tir::MatchBufferRegionNode::RegisterReflection ( )
inlinestatic

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::tir::MatchBufferRegionNode::TVM_DECLARE_FINAL_OBJECT_INFO ( MatchBufferRegionNode  ,
Object   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::tir::MatchBufferRegionNode::_type_key = "tir.MatchBufferRegion"
staticconstexpr

◆ _type_s_eq_hash_kind

constexpr TVMFFISEqHashKind tvm::tir::MatchBufferRegionNode::_type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
staticconstexpr

◆ buffer

Buffer tvm::tir::MatchBufferRegionNode::buffer

The target buffer.

◆ source

BufferRegion tvm::tir::MatchBufferRegionNode::source

The source buffer region.


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