tvm
|
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>
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 |
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.
|
inlinestatic |
tvm::tir::MatchBufferRegionNode::TVM_DECLARE_FINAL_OBJECT_INFO | ( | MatchBufferRegionNode | , |
Object | |||
) |
|
staticconstexpr |
|
staticconstexpr |
Buffer tvm::tir::MatchBufferRegionNode::buffer |
The target buffer.
BufferRegion tvm::tir::MatchBufferRegionNode::source |
The source buffer region.