Class SeqStmt#

Inheritance Relationships#

Base Type#

Class Documentation#

class SeqStmt : public tvm::Stmt#

Sequence statement.

Public Types

using ContainerType = SeqStmtObj#

Public Functions

explicit SeqStmt(ffi::Array<Stmt> seq, Location loc = UnknownLoc())#

Construct SeqStmt.

Parameters:
  • seq – The sequence.

  • loc – The location of this object in the source code.

SeqStmt(Stmt stmt, ffi::Optional<Location> loc = std::nullopt)#

Wrap a statement, reusing an existing sequence when possible.

inline SeqStmt(std::initializer_list<Stmt> seq, Location loc = UnknownLoc())#
inline size_t size() const#
Returns:

get the size of the sequence

inline Stmt operator[](size_t index) const#

Get the index-th element in the sequence.

inline explicit SeqStmt(ffi::ObjectPtr<SeqStmtObj> node)#
inline explicit SeqStmt(::tvm::ffi::UnsafeInit tag)#
inline __PtrType operator->() const#
inline __PtrType get() const#
inline SeqStmtObj *CopyOnWrite()#