ONE - On-device Neural Engine
|
Record C/C++ expression that denotes the base and size of memory region dedicated to each bag. More...
#include <MemoryContext.h>
Public Member Functions | |
bool | member (const coco::Bag *bag) const |
Check whether a base/size expression for a given bag. | |
void | base (const coco::Bag *bag, const std::string &exp) |
void | size (const coco::Bag *bag, const std::string &exp) |
const std::string & | base (const coco::Bag *bag) const |
const std::string & | size (const coco::Bag *bag) const |
Record C/C++ expression that denotes the base and size of memory region dedicated to each bag.
Definition at line 32 of file MemoryContext.h.
|
inline |
Definition at line 45 of file MemoryContext.h.
void enco::MemoryContext::base | ( | const coco::Bag * | bag, |
const std::string & | exp | ||
) |
Definition at line 37 of file MemoryContext.cpp.
Referenced by enco::CppCode::dump().
bool enco::MemoryContext::member | ( | const coco::Bag * | bag | ) | const |
Check whether a base/size expression for a given bag.
Definition at line 24 of file MemoryContext.cpp.
Referenced by enco::CppCode::dump().
|
inline |
Definition at line 46 of file MemoryContext.h.
void enco::MemoryContext::size | ( | const coco::Bag * | bag, |
const std::string & | exp | ||
) |
Definition at line 38 of file MemoryContext.cpp.
Referenced by enco::CppCode::dump().