tvm
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::SeqStmtNode Class Reference

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

#include <stmt.h>

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

Public Member Functions

size_t size () const
 
Stmt operator[] (size_t index) const
 Get the index-th element in the sequence.
 
 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.SeqStmt", SeqStmtNode, StmtNode)
 
- Public Member Functions inherited from tvm::StmtNode
 StmtNode ()=default
 
 StmtNode (Location loc)
 
 TVM_FFI_DECLARE_OBJECT_INFO ("ir.Stmt", StmtNode, ffi::Object)
 

Static Public Member Functions

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

Public Attributes

ffi::Array< Stmt > seq
 internal sequence content.
 
- Public Attributes inherited from tvm::StmtNode
Location loc = UnknownLoc()
 Location that points to the original source code. Reserved debug information.
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::StmtNode
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
static constexpr bool _type_s_eq_hash_subclass_kind_fixed = true
 
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::SeqStmtNode::operator[] ( size_t  index) const
inline

Get the index-th element in the sequence.

◆ RegisterReflection()

static TVM_TIRX_DLL void tvm::SeqStmtNode::RegisterReflection ( )
static

◆ size()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::SeqStmtNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "ir.SeqStmt"  ,
SeqStmtNode  ,
StmtNode   
)

Member Data Documentation

◆ seq

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

internal sequence content.


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