tvm
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
tvm::script::ir_builder::tir::ElseFrameNode Class Reference

A frame that represents else. More...

#include <frame.h>

Inheritance diagram for tvm::script::ir_builder::tir::ElseFrameNode:
Collaboration diagram for tvm::script::ir_builder::tir::ElseFrameNode:

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (ElseFrameNode, TIRFrameNode)
 
void EnterWithScope () final
 The method called when entering RAII scope. More...
 
void ExitWithScope () final
 The method called when exiting RAII scope. More...
 
- Public Member Functions inherited from tvm::script::ir_builder::tir::TIRFrameNode
 TVM_DECLARE_BASE_OBJECT_INFO (TIRFrameNode, IRBuilderFrameNode)
 
- Public Member Functions inherited from tvm::script::ir_builder::IRBuilderFrameNode
 TVM_DECLARE_BASE_OBJECT_INFO (IRBuilderFrameNode, runtime::Object)
 
virtual ~IRBuilderFrameNode ()=default
 Default destructor. More...
 
void AddCallback (ffi::TypedFunction< void()> callback)
 Add a callback method invoked when exiting the RAII scope. More...
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::script::ir_builder::tir::TIRFrameNode
static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::script::ir_builder::IRBuilderFrameNode
static void RegisterReflection ()
 

Static Public Attributes

static constexpr const char * _type_key = "script.ir_builder.tir.ElseFrame"
 
- Static Public Attributes inherited from tvm::script::ir_builder::tir::TIRFrameNode
static constexpr const char * _type_key = "script.ir_builder.tir.TIRFrame"
 
- Static Public Attributes inherited from tvm::script::ir_builder::IRBuilderFrameNode
static constexpr const char * _type_key = "script.ir_builder.IRBuilderFrame"
 

Additional Inherited Members

- Public Attributes inherited from tvm::script::ir_builder::tir::TIRFrameNode
Array< tvm::tir::Stmtstmts
 The Stmt within in this frame. More...
 
- Public Attributes inherited from tvm::script::ir_builder::IRBuilderFrameNode
std::vector< ffi::TypedFunction< void()> > callbacks
 A list of callbacks used when exiting the frame. More...
 

Detailed Description

A frame that represents else.

See also
ElseFrame

Member Function Documentation

◆ EnterWithScope()

void tvm::script::ir_builder::tir::ElseFrameNode::EnterWithScope ( )
finalvirtual

The method called when entering RAII scope.

See also
tvm::support::With

Reimplemented from tvm::script::ir_builder::IRBuilderFrameNode.

◆ ExitWithScope()

void tvm::script::ir_builder::tir::ElseFrameNode::ExitWithScope ( )
finalvirtual

The method called when exiting RAII scope.

See also
tvm::support::With

Reimplemented from tvm::script::ir_builder::IRBuilderFrameNode.

◆ RegisterReflection()

static void tvm::script::ir_builder::tir::ElseFrameNode::RegisterReflection ( )
inlinestatic

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::script::ir_builder::tir::ElseFrameNode::TVM_DECLARE_FINAL_OBJECT_INFO ( ElseFrameNode  ,
TIRFrameNode   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::script::ir_builder::tir::ElseFrameNode::_type_key = "script.ir_builder.tir.ElseFrame"
staticconstexpr

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