MCPcopy Create free account
hub / github.com/Samsung/ONE / add

Method add

compiler/luci/lang/src/Module.cpp:24–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22{
23
24void Module::add(std::unique_ptr<loco::Graph> &&g)
25{
26 if (g.get() == nullptr)
27 throw std::invalid_argument("Module: Graph cannot be null");
28
29 _graphs.emplace_back(std::move(g));
30}
31
32loco::Graph *Module::graph(void) const
33{

Callers 15

TESTFunction · 0.45
transfer_toMethod · 0.45
SampleGraphContractMethod · 0.45
generate_bcq_metadata_v1Function · 0.45
buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45

Calls 2

getMethod · 0.45
emplace_backMethod · 0.45

Tested by 5

TESTFunction · 0.36
transfer_toMethod · 0.36
SampleGraphContractMethod · 0.36
__init__Method · 0.36
TopologicalSortHelperMethod · 0.36