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

Evaluates an expression. This is mostly used for putting a Call node into Stmt. More...

#include <stmt.h>

Inheritance diagram for tvm::tir::EvaluateNode:
Collaboration diagram for tvm::tir::EvaluateNode:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("tir.Evaluate", EvaluateNode, StmtNode)
 
- Public Member Functions inherited from tvm::tir::StmtNode
 StmtNode ()=default
 
 StmtNode (Span span)
 
 TVM_OBJECT_ENABLE_SCRIPT_PRINTER ()
 
 TVM_FFI_DECLARE_OBJECT_INFO ("tir.Stmt", StmtNode, Object)
 

Static Public Member Functions

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

Public Attributes

PrimExpr value
 The expression to be evaluated. More...
 
- Public Attributes inherited from tvm::tir::StmtNode
Span span
 Span that points to the original source code. Reserved debug information. More...
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::tir::StmtNode
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
static constexpr const uint32_t _type_child_slots = 15
 

Detailed Description

Evaluates an expression. This is mostly used for putting a Call node into Stmt.

If value do not have side-effect, this node can be safely removed.

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::tir::EvaluateNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "tir.Evaluate"  ,
EvaluateNode  ,
StmtNode   
)

Member Data Documentation

◆ value

PrimExpr tvm::tir::EvaluateNode::value

The expression to be evaluated.


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