IfThenElse statement.
More...
#include <stmt.h>
|
| PrimExpr | condition |
| | The condition.
|
| |
| Stmt | then_case |
| | The branch to be executed when condition is true.
|
| |
| ffi::Optional< Stmt > | else_case |
| | The branch to be executed when condition is false, can be null.
|
| |
| Span | span |
| | Span that points to the original source code. Reserved debug information.
|
| |
◆ RegisterReflection()
| static void tvm::tirx::IfThenElseNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()
| tvm::tirx::IfThenElseNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL |
( |
"tirx.IfThenElse" |
, |
|
|
IfThenElseNode |
, |
|
|
StmtNode |
|
|
) |
| |
◆ condition
| PrimExpr tvm::tirx::IfThenElseNode::condition |
◆ else_case
| ffi::Optional<Stmt> tvm::tirx::IfThenElseNode::else_case |
The branch to be executed when condition is false, can be null.
◆ then_case
| Stmt tvm::tirx::IfThenElseNode::then_case |
The branch to be executed when condition is true.
The documentation for this class was generated from the following file: