MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / annotate

Method annotate

src/module.cpp:1500–1507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1498void module::print_cpp(std::ostream& os) const { this->print_cpp(os, this->name(), {}); }
1499
1500void module::annotate(std::ostream& os, std::function<void(instruction_ref)> a) const
1501{
1502 this->print([&](auto ins, const auto& ins_names) {
1503 instruction::print(os, ins, ins_names);
1504 a(ins);
1505 os << std::endl;
1506 });
1507}
1508
1509std::vector<module_ref> module::get_sub_modules(bool shallow) const
1510{

Callers 3

TEST_CASEFunction · 0.45
TEST_CASEFunction · 0.45
applyMethod · 0.45

Calls 3

printMethod · 0.95
aClass · 0.85
printFunction · 0.50

Tested by 2

TEST_CASEFunction · 0.36
TEST_CASEFunction · 0.36