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 ()
 The constructor creating an empty block scope with on dependency information. More...
 
 BlockScope (const Array< StmtSRef > &child_block_srefs)
 Create the object with the specific leaf blocks, and compute the dependency information between the leaf blocks. More...
 
 TVM_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS (BlockScope, ObjectRef, BlockScopeNode)
 

Detailed Description

Managed reference to BlockScopeNode.

See also
BlockScopeNode

Constructor & Destructor Documentation

◆ BlockScope() [1/2]

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

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

◆ BlockScope() [2/2]

tvm::tir::BlockScope::BlockScope ( const 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_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS()

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

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