A frame that represents if statement.
More...
#include <frame.h>
|
static constexpr const char * | _type_key = "script.ir_builder.tir.IfFrame" |
|
static constexpr const char * | _type_key = "script.ir_builder.tir.TIRFrame" |
|
static constexpr const char * | _type_key = "script.ir_builder.IRBuilderFrame" |
|
A frame that represents if statement.
- See also
- IfFrame
◆ ExitWithScope()
void tvm::script::ir_builder::tir::IfFrameNode::ExitWithScope |
( |
| ) |
|
|
finalvirtual |
◆ RegisterReflection()
static void tvm::script::ir_builder::tir::IfFrameNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_DECLARE_FINAL_OBJECT_INFO()
◆ _type_key
constexpr const char* tvm::script::ir_builder::tir::IfFrameNode::_type_key = "script.ir_builder.tir.IfFrame" |
|
staticconstexpr |
◆ condition
PrimExpr tvm::script::ir_builder::tir::IfFrameNode::condition |
The condition of the if statement.
◆ else_stmts
Optional<Array<tvm::tir::Stmt> > tvm::script::ir_builder::tir::IfFrameNode::else_stmts |
The stetements in the false branch.
◆ then_stmts
Optional<Array<tvm::tir::Stmt> > tvm::script::ir_builder::tir::IfFrameNode::then_stmts |
The statements in the true branch.
The documentation for this class was generated from the following file:
- include/tvm/script/ir_builder/tir/frame.h