Class WhileObj#

Inheritance Relationships#

Base Type#

Class Documentation#

class WhileObj : public tvm::StmtObj#

A While loop.

while (condition)
body

Public Functions

inline explicit WhileObj(ffi::UnsafeInit tag)#
inline WhileObj(PrimExpr condition, SeqStmt body)#

Public Members

PrimExpr condition#

The termination condition.

SeqStmt body#

The body of the while loop.

Public Static Functions

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