|
tvm
|
Managed reference to StmtSRefNode. More...
#include <sblock_scope.h>
Public Member Functions | |
| StmtSRef (const StmtNode *stmt, StmtSRefNode *parent, int64_t seq_index) | |
| The constructor. | |
| TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (StmtSRef, ffi::ObjectRef, StmtSRefNode) | |
Static Public Member Functions | |
| static StmtSRef | InlineMark () |
| static StmtSRef | RootMark () |
Managed reference to StmtSRefNode.
|
explicit |
The constructor.
| stmt | The corresponding stmt node, can be either block or for loop. |
| parent | The parent sref. |
| seq_index | The location in an array if the parent of the stmt contains multiple children. -1 if the parent does not contain multiple children. |
compute-at(block, loop_sref): compute-inline(block) if loop_sref.same_as(InlineMark()) no-op if loop_sref.same_as(RootMark()) compute-at-impl(block, loop_sref) otherwise
compute-at(block, loop_sref): compute-inline(block) if loop_sref.same_as(InlineMark()) no-op if loop_sref.same_as(RootMark()) compute-at-impl(block, loop_sref) otherwise
| tvm::tirx::StmtSRef::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE | ( | StmtSRef | , |
| ffi::ObjectRef | , | ||
| StmtSRefNode | |||
| ) |