tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::tir::SeqStmtNode Class Reference

The container of seq statement. Represent a sequence of statements. More...

#include <stmt.h>

Inheritance diagram for tvm::tir::SeqStmtNode:
Collaboration diagram for tvm::tir::SeqStmtNode:

Public Member Functions

size_t size () const
 
Stmt operator[] (size_t index) const
 Get the index-th element in the sequence. More...
 
 TVM_DECLARE_FINAL_OBJECT_INFO (SeqStmtNode, StmtNode)
 
- Public Member Functions inherited from tvm::tir::StmtNode
 StmtNode ()=default
 
 StmtNode (Span span)
 
 TVM_OBJECT_ENABLE_SCRIPT_PRINTER ()
 
 TVM_DECLARE_BASE_OBJECT_INFO (StmtNode, Object)
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::tir::StmtNode
static void RegisterReflection ()
 

Public Attributes

Array< Stmtseq
 internal sequence content. More...
 
- Public Attributes inherited from tvm::tir::StmtNode
Span span
 Span that points to the original source code. Reserved debug information. More...
 

Static Public Attributes

static constexpr const char * _type_key = "tir.SeqStmt"
 
- Static Public Attributes inherited from tvm::tir::StmtNode
static constexpr const char * _type_key = "tir.Stmt"
 
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
static constexpr const uint32_t _type_child_slots = 15
 

Detailed Description

The container of seq statement. Represent a sequence of statements.

Member Function Documentation

◆ operator[]()

Stmt tvm::tir::SeqStmtNode::operator[] ( size_t  index) const
inline

Get the index-th element in the sequence.

◆ RegisterReflection()

static void tvm::tir::SeqStmtNode::RegisterReflection ( )
inlinestatic

◆ size()

size_t tvm::tir::SeqStmtNode::size ( ) const
inline
Returns
get the size of the sequence

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::tir::SeqStmtNode::TVM_DECLARE_FINAL_OBJECT_INFO ( SeqStmtNode  ,
StmtNode   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::tir::SeqStmtNode::_type_key = "tir.SeqStmt"
staticconstexpr

◆ seq

Array<Stmt> tvm::tir::SeqStmtNode::seq

internal sequence content.


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