Class EvaluateObj#

Inheritance Relationships#

Base Type#

Class Documentation#

class EvaluateObj : public tvm::StmtObj#

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.

Public Functions

inline explicit EvaluateObj(ffi::UnsafeInit tag)#
inline explicit EvaluateObj(Expr value)#

Public Members

Expr value#

The expression to be evaluated.

Public Static Functions

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