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

Managed reference to BlockScopeNode. More...

#include <block_scope.h>

Inheritance diagram for tvm::tir::BlockScope:
Collaboration diagram for tvm::tir::BlockScope:

Public Member Functions

 BlockScope (ObjectPtr< BlockScopeNode > data)
 Constructor from ObjectPtr<BlockScopeNode>. More...
 
 BlockScope ()
 The constructor creating an empty block scope with on dependency information. More...
 
 BlockScope (const ffi::Array< StmtSRef > &child_block_srefs)
 Create the object with the specific leaf blocks, and compute the dependency information between the leaf blocks. More...
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (BlockScope, ObjectRef, BlockScopeNode)
 

Detailed Description

Managed reference to BlockScopeNode.

See also
BlockScopeNode

Constructor & Destructor Documentation

◆ BlockScope() [1/3]

tvm::tir::BlockScope::BlockScope ( ObjectPtr< BlockScopeNode data)
inlineexplicit

Constructor from ObjectPtr<BlockScopeNode>.

Parameters
dataThe object pointer.

◆ BlockScope() [2/3]

tvm::tir::BlockScope::BlockScope ( )

The constructor creating an empty block scope with on dependency information.

◆ BlockScope() [3/3]

tvm::tir::BlockScope::BlockScope ( const ffi::Array< StmtSRef > &  child_block_srefs)
explicit

Create the object with the specific leaf blocks, and compute the dependency information between the leaf blocks.

Parameters
child_block_srefsThe srefs to the leaf blocks
Note
We assume the leaf blocks are given in pre-DFS order

Member Function Documentation

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::tir::BlockScope::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( BlockScope  ,
ObjectRef  ,
BlockScopeNode   
)

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