Class IfFrameObj#

Inheritance Relationships#

Base Type#

Class Documentation#

class IfFrameObj : public tvm::script::ir_builder::ir::StmtFrameObj#

A frame that represents if statement.

See also

IfFrame

Public Functions

inline explicit IfFrameObj(ffi::UnsafeInit tag)#
inline explicit IfFrameObj(PrimExpr condition)#
virtual void ExitWithScope() final#

The method called when exiting RAII scope.

See also

tvm::support::With

Public Members

PrimExpr condition#

The condition of the if statement.

ffi::Optional<ffi::Array<tvm::Stmt>> then_stmts#

The statements in the true branch.

ffi::Optional<ffi::Array<tvm::Stmt>> else_stmts#

The stetements in the false branch.

Public Static Functions

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