Class RegionStmtObj#

Inheritance Relationships#

Base Type#

Class Documentation#

class RegionStmtObj : public tvm::StmtObj#

A single-body statement whose semantics are defined by an operator. Operands are evaluated in the enclosing scope. Body parameters are definitions at body entry; result variables are definitions following the region.

Public Functions

inline explicit RegionStmtObj(ffi::UnsafeInit tag)#
inline RegionStmtObj(Op op, SeqStmt body)#

Public Members

Op op#

Operator defining the region’s semantics.

ffi::Array<Expr> args#

Operands evaluated in the enclosing scope.

ffi::Array<Var> body_params#

Variables defined at body entry, visible only within the body.

DictAttrs attrs#

Attributes evaluated in the enclosing scope.

SeqStmt body#

Body evaluated with the body parameters in scope.

ffi::Array<Var> result_vars#

Variables defined after the region in the enclosing sequence.

Public Static Functions

static inline void RegisterReflection()#
static inline int32_t _GetOrAllocRuntimeTypeIndex()#
static inline int32_t RuntimeTypeIndex() noexcept#