ONE - On-device Neural Engine
|
Print coco IR produced from enco frontend. More...
Go to the source code of this file.
Data Structures | |
struct | OpPrinter |
struct | InstrPrinter |
Functions | |
std::string | tab (int n) |
void | dump (const coco::Op *op, int indent) |
void | dump (const coco::Instr *ins, int indent) |
void | dump (const coco::Block *B, int indent) |
void | dump (const coco::BlockList *L, int indent) |
template<typename SetT , typename EntityF > | |
void | dump (std::string header, SetT set, EntityF print_addr_f) |
void | dump (const coco::BagManager *l, int indent) |
void | dump (coco::FeatureObject *feature_ob) |
void | dump (coco::KernelObject *kernel_ob) |
void | dump (const coco::ObjectManager *l, int indent) |
template<typename T > | |
void | head (int indent) |
template<> | |
void | head< coco::Input > (int indent) |
template<> | |
void | head< coco::Output > (int indent) |
template<typename PtrItemT > | |
void | dump (const coco::PtrList< PtrItemT > *list, int indent) |
void | dump (const coco::Module *module) |
Print coco IR produced from enco frontend.
Definition in file Dump.cpp.
void dump | ( | coco::FeatureObject * | feature_ob | ) |
Definition at line 280 of file Dump.cpp.
References nncc::core::ADT::feature::Shape::height(), and coco::FeatureObject::shape().
void dump | ( | coco::KernelObject * | kernel_ob | ) |
Definition at line 287 of file Dump.cpp.
References nncc::core::ADT::kernel::Shape::count(), and coco::KernelObject::shape().
void dump | ( | const coco::BagManager * | l, |
int | indent | ||
) |
Definition at line 228 of file Dump.cpp.
void dump | ( | const coco::Block * | B, |
int | indent | ||
) |
Definition at line 192 of file Dump.cpp.
References dump(), coco::DLinkedList< Child, Parent >::Head::head(), coco::Block::index(), coco::Block::instr(), tab(), and coco::BlockIndex::value().
void dump | ( | const coco::BlockList * | L, |
int | indent | ||
) |
void dump | ( | const coco::Instr * | ins, |
int | indent | ||
) |
Definition at line 183 of file Dump.cpp.
References coco::Instr::accept(), and tab().
void dump | ( | const coco::Module * | module | ) |
void dump | ( | const coco::ObjectManager * | l, |
int | indent | ||
) |
Definition at line 294 of file Dump.cpp.
References coco::Object::asFeature(), coco::Object::asKernel(), dump(), and tab().
void dump | ( | const coco::Op * | op, |
int | indent | ||
) |
Definition at line 177 of file Dump.cpp.
References coco::Op::accept().
Referenced by dump(), dump(), dump(), dump(), dump(), onert::dumper::dot::DotDumper::dump(), entry(), and operator<<().
void dump | ( | const coco::PtrList< PtrItemT > * | list, |
int | indent | ||
) |
Definition at line 349 of file Dump.cpp.
References coco::PtrList< T >::at(), and coco::PtrList< T >::size().
void dump | ( | std::string | header, |
SetT | set, | ||
EntityF | print_addr_f | ||
) |
void head | ( | int | indent | ) |
Referenced by nncc::core::ADT::kernel::IndexEnumerator::advance().
void head< coco::Input > | ( | int | indent | ) |
void head< coco::Output > | ( | int | indent | ) |
std::string tab | ( | int | n | ) |
Definition at line 38 of file Dump.cpp.
Referenced by dump(), dump(), dump(), dump(), head< coco::Input >(), head< coco::Output >(), OpPrinter::visit(), OpPrinter::visit(), OpPrinter::visit(), OpPrinter::visit(), InstrPrinter::visit(), OpPrinter::visit(), InstrPrinter::visit(), OpPrinter::visit(), OpPrinter::visit(), OpPrinter::visit(), OpPrinter::visit(), OpPrinter::visit(), OpPrinter::visit(), InstrPrinter::visit(), and OpPrinter::visit().