Class If#

Inheritance Relationships#

Base Type#

Class Documentation#

class If : public tvm::Stmt#

Managed reference to IfObj.

See also

IfObj

Public Types

using ContainerType = IfObj#

Public Functions

If(PrimExpr condition, SeqStmt then_case, ffi::Optional<SeqStmt> else_case = std::nullopt, Location loc = UnknownLoc())#
inline explicit If(ffi::ObjectPtr<IfObj> node)#
inline explicit If(::tvm::ffi::UnsafeInit tag)#
inline __PtrType operator->() const#
inline __PtrType get() const#
inline IfObj *CopyOnWrite()#