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

Managed reference to SBlockScopeNode. More...

#include <block_scope.h>

Inheritance diagram for tvm::tir::SBlockScope:
Collaboration diagram for tvm::tir::SBlockScope:

Public Member Functions

 SBlockScope (ObjectPtr< SBlockScopeNode > data)
 Constructor from ObjectPtr<SBlockScopeNode>. More...
 
 SBlockScope ()
 The constructor creating an empty block scope with on dependency information. More...
 
 SBlockScope (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 (SBlockScope, ObjectRef, SBlockScopeNode)
 

Detailed Description

Managed reference to SBlockScopeNode.

See also
SBlockScopeNode

Constructor & Destructor Documentation

◆ SBlockScope() [1/3]

tvm::tir::SBlockScope::SBlockScope ( ObjectPtr< SBlockScopeNode data)
inlineexplicit

Constructor from ObjectPtr<SBlockScopeNode>.

Parameters
dataThe object pointer.

◆ SBlockScope() [2/3]

tvm::tir::SBlockScope::SBlockScope ( )

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

◆ SBlockScope() [3/3]

tvm::tir::SBlockScope::SBlockScope ( 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::SBlockScope::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( SBlockScope  ,
ObjectRef  ,
SBlockScopeNode   
)

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