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

Function inline_group_sub_module

src/targets/gpu/prefuse_ops.cpp:240–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238};
239
240void inline_group_sub_module(module_pass_manager& mpm)
241{
242 auto& m = mpm.get_module();
243 for(auto ins : iterator_for(m))
244 {
245 if(ins->name() != "group")
246 continue;
247
248 const auto& mod_inputs = ins->module_inputs();
249 auto inline_mod = m.insert_inline(ins, *mod_inputs.at(0), ins->inputs());
250 m.replace_instruction(ins, inline_mod.at(0));
251 }
252}
253
254} // namespace
255

Callers 1

applyMethod · 0.85

Calls 7

iterator_forFunction · 0.85
get_moduleMethod · 0.80
insert_inlineMethod · 0.80
atMethod · 0.80
replace_instructionMethod · 0.80
nameMethod · 0.45
inputsMethod · 0.45

Tested by

no test coverage detected