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

Let binding, bind var to value, then run body. More...

#include <stmt.h>

Inheritance diagram for tvm::tir::LetStmtNode:
Collaboration diagram for tvm::tir::LetStmtNode:

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (LetStmtNode, 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

Var var
 The variable. More...
 
PrimExpr value
 The value to be bound. More...
 
Stmt body
 The body block. 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.LetStmt"
 
- 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

Let binding, bind var to value, then run body.

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

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

Member Data Documentation

◆ _type_key

constexpr const char* tvm::tir::LetStmtNode::_type_key = "tir.LetStmt"
staticconstexpr

◆ body

Stmt tvm::tir::LetStmtNode::body

The body block.

◆ value

PrimExpr tvm::tir::LetStmtNode::value

The value to be bound.

◆ var

Var tvm::tir::LetStmtNode::var

The variable.


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