tvm
Public Member Functions | List of all members
tvm::tir::Block Class Reference

Managed reference to BlockNode. More...

#include <stmt.h>

Inheritance diagram for tvm::tir::Block:
Collaboration diagram for tvm::tir::Block:

Public Member Functions

 Block (ffi::Array< IterVar > iter_vars, ffi::Array< BufferRegion > reads, ffi::Array< BufferRegion > writes, ffi::String name_hint, Stmt body, ffi::Optional< Stmt > init=std::nullopt, ffi::Array< Buffer > alloc_buffers=ffi::Array< Buffer >(), ffi::Array< MatchBufferRegion > match_buffers=ffi::Array< MatchBufferRegion >(), ffi::Map< ffi::String, ffi::Any > annotations=ffi::Map< ffi::String, ffi::Any >(), Span span=Span())
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (Block, Stmt, BlockNode)
 
 TVM_DEFINE_OBJECT_REF_COW_METHOD (BlockNode)
 
- Public Member Functions inherited from tvm::tir::Stmt
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (Stmt, ObjectRef, StmtNode)
 

Detailed Description

Managed reference to BlockNode.

See also
BlockNode

Constructor & Destructor Documentation

◆ Block()

tvm::tir::Block::Block ( ffi::Array< IterVar iter_vars,
ffi::Array< BufferRegion reads,
ffi::Array< BufferRegion writes,
ffi::String  name_hint,
Stmt  body,
ffi::Optional< Stmt init = std::nullopt,
ffi::Array< Buffer alloc_buffers = ffi::Array< Buffer >(),
ffi::Array< MatchBufferRegion match_buffers = ffi::Array< MatchBufferRegion >(),
ffi::Map< ffi::String, ffi::Any >  annotations = ffi::Map< ffi::String, ffi::Any >(),
Span  span = Span() 
)
explicit

Member Function Documentation

◆ TVM_DEFINE_OBJECT_REF_COW_METHOD()

tvm::tir::Block::TVM_DEFINE_OBJECT_REF_COW_METHOD ( BlockNode  )

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE()

tvm::tir::Block::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE ( Block  ,
Stmt  ,
BlockNode   
)

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