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

A While loop. More...

#include <stmt.h>

Inheritance diagram for tvm::tir::WhileNode:
Collaboration diagram for tvm::tir::WhileNode:

Public Member Functions

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

PrimExpr condition
 The termination condition. More...
 
Stmt body
 The body of the while loop. 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.While"
 
- 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

A While loop.

while (condition)
Stmt body
The body of the while loop.
Definition: stmt.h:818
PrimExpr condition
The termination condition.
Definition: stmt.h:816

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

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

Member Data Documentation

◆ _type_key

constexpr const char* tvm::tir::WhileNode::_type_key = "tir.While"
staticconstexpr

◆ body

Stmt tvm::tir::WhileNode::body

The body of the while loop.

◆ condition

PrimExpr tvm::tir::WhileNode::condition

The termination condition.


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