ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nest Namespace Reference

Namespaces

namespace  expr
 
namespace  stmt
 

Data Structures

struct  Block
 
class  Bound
 
class  Closure
 
class  Domain
 
class  DomainContext
 
class  DomainID
 
class  DomainInfo
 
struct  FV
 Collect free variables from nest expr/stmt/block/... More...
 
class  Level
 
class  Module
 
class  Ret
 
class  Schedule
 
class  Var
 
class  VarContext
 
class  VarID
 

Typedefs

using Expr = std::shared_ptr< nest::expr::Node >
 
using Stmt = std::shared_ptr< stmt::Node >
 

Functions

bool operator== (const DomainID &lhs, const DomainID &rhs)
 
bool operator< (const DomainID &lhs, const DomainID &rhs)
 
bool operator== (const Level &lhs, const Level &rhs)
 
bool operator< (const Level &lhs, const Level &rhs)
 
bool operator== (const VarID &lhs, const VarID &rhs)
 
bool operator< (const VarID &lhs, const VarID &rhs)
 

Typedef Documentation

◆ Expr

using nest::Expr = typedef std::shared_ptr<nest::expr::Node>

Definition at line 37 of file Expr.h.

◆ Stmt

using nest::Stmt = typedef std::shared_ptr<stmt::Node>

Definition at line 30 of file Stmt.h.

Function Documentation

◆ operator<() [1/3]

bool nest::operator< ( const DomainID lhs,
const DomainID rhs 
)

Definition at line 28 of file DomainID.cpp.

28{ return lhs.value() < rhs.value(); }
uint32_t value(void) const
Definition DomainID.h:43

References nest::DomainID::value().

◆ operator<() [2/3]

bool nest::operator< ( const Level lhs,
const Level rhs 
)

Definition at line 43 of file Level.cpp.

44{
45 assert(lhs.valid() && rhs.valid());
46 return lhs.value() < rhs.value();
47}
bool valid(void) const
Definition Level.cpp:35
uint32_t value(void) const
Definition Level.h:34

References nest::Level::valid(), and nest::Level::value().

◆ operator<() [3/3]

bool nest::operator< ( const VarID lhs,
const VarID rhs 
)

Definition at line 28 of file VarID.cpp.

28{ return lhs.value() < rhs.value(); }
uint32_t value(void) const
Definition VarID.h:43

References nest::VarID::value().

◆ operator==() [1/3]

bool nest::operator== ( const DomainID lhs,
const DomainID rhs 
)

Definition at line 27 of file DomainID.cpp.

27{ return lhs.value() == rhs.value(); }

References nest::DomainID::value().

◆ operator==() [2/3]

bool nest::operator== ( const Level lhs,
const Level rhs 
)

Definition at line 37 of file Level.cpp.

38{
39 assert(lhs.valid() && rhs.valid());
40 return lhs.value() == rhs.value();
41}

References nest::Level::valid(), and nest::Level::value().

◆ operator==() [3/3]

bool nest::operator== ( const VarID lhs,
const VarID rhs 
)

Definition at line 27 of file VarID.cpp.

27{ return lhs.value() == rhs.value(); }

References nest::VarID::value().