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

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. More...

#include <stmt.h>

Inheritance diagram for tvm::RegionStmtNode:
Collaboration diagram for tvm::RegionStmtNode:

Public Member Functions

 RegionStmtNode (ffi::UnsafeInit tag)
 
 RegionStmtNode (Op op, SeqStmt body)
 
 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.RegionStmt", RegionStmtNode, 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 void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::StmtNode
static void RegisterReflection ()
 

Public Attributes

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 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

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.

Constructor & Destructor Documentation

◆ RegionStmtNode() [1/2]

tvm::RegionStmtNode::RegionStmtNode ( ffi::UnsafeInit  tag)
inlineexplicit

◆ RegionStmtNode() [2/2]

tvm::RegionStmtNode::RegionStmtNode ( Op  op,
SeqStmt  body 
)
inline

Member Function Documentation

◆ RegisterReflection()

static void tvm::RegionStmtNode::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::RegionStmtNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "ir.RegionStmt"  ,
RegionStmtNode  ,
StmtNode   
)

Member Data Documentation

◆ args

ffi::Array<Expr> tvm::RegionStmtNode::args

Operands evaluated in the enclosing scope.

◆ attrs

DictAttrs tvm::RegionStmtNode::attrs

Attributes evaluated in the enclosing scope.

◆ body

SeqStmt tvm::RegionStmtNode::body

Body evaluated with the body parameters in scope.

◆ body_params

ffi::Array<Var> tvm::RegionStmtNode::body_params

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

◆ op

Op tvm::RegionStmtNode::op

Operator defining the region's semantics.

◆ result_vars

ffi::Array<Var> tvm::RegionStmtNode::result_vars

Variables defined after the region in the enclosing sequence.


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