tvm
Public Member Functions | Static Public Member Functions | List of all members
tvm::tir::SeqStmt::Flattener Class Reference

Helper class to flatten sequence of arguments into Array. More...

#include <stmt.h>

Collaboration diagram for tvm::tir::SeqStmt::Flattener:

Public Member Functions

 Flattener (Array< Stmt > *seq)
 
template<typename T >
void operator() (size_t i, const T &stmt_or_seq) const
 

Static Public Member Functions

template<typename T >
static Optional< SeqStmtAsSeqStmt (const T &t)
 

Detailed Description

Helper class to flatten sequence of arguments into Array.

Constructor & Destructor Documentation

◆ Flattener()

tvm::tir::SeqStmt::Flattener::Flattener ( Array< Stmt > *  seq)
inlineexplicit

Member Function Documentation

◆ AsSeqStmt()

template<typename T >
static Optional<SeqStmt> tvm::tir::SeqStmt::Flattener::AsSeqStmt ( const T &  t)
inlinestatic

◆ operator()()

template<typename T >
void tvm::tir::SeqStmt::Flattener::operator() ( size_t  i,
const T &  stmt_or_seq 
) const
inline

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